mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 12:09:01 +02:00
nitrogen8mn: add machine configuration
Platform details:
https://boundarydevices.com/product/nitrogen8m-nano/
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
(cherry picked from commit 88b4ceeb62
)
This commit is contained in:
parent
3d48d16199
commit
bebf0ad8a4
48
conf/machine/nitrogen8mn.conf
Normal file
48
conf/machine/nitrogen8mn.conf
Normal file
|
@ -0,0 +1,48 @@
|
|||
#@TYPE: Machine
|
||||
#@NAME: Boundary Devices Nitrogen8M Nano
|
||||
#@SOC: i.MX8 Nano
|
||||
#@DESCRIPTION: Machine configuration for Boundary Devices Nitrogen8M Nano
|
||||
#@MAINTAINER: Chris Dimich <chris.dimich@boundarydevices.com>
|
||||
|
||||
MACHINEOVERRIDES =. "mx8:mx8mn:"
|
||||
|
||||
require conf/machine/include/imx-base.inc
|
||||
require conf/machine/include/arm/arch-arm64.inc
|
||||
|
||||
# Kernel configuration
|
||||
PREFERRED_PROVIDER_virtual/kernel ??= "linux-boundary"
|
||||
PREFERRED_VERSION_linux-boundary = "4.14%"
|
||||
KERNEL_DEVICETREE = "freescale/imx8mn-nitrogen8mn.dtb \
|
||||
freescale/imx8mn-nitrogen8mn_som.dtb \
|
||||
freescale/imx8mn-nitrogen8_nano.dtb \
|
||||
"
|
||||
|
||||
KERNEL_IMAGETYPE = "Image"
|
||||
KERNEL_DEFCONFIG = "boundary_defconfig"
|
||||
RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
|
||||
|
||||
# U-Boot configuration
|
||||
PREFERRED_PROVIDER_u-boot ??= "u-boot-boundary"
|
||||
PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-boundary"
|
||||
SPL_BINARY = "spl/u-boot-spl.bin"
|
||||
UBOOT_DTB_NAME ?= "imx8mn-nitrogen8_nano.dtb"
|
||||
UBOOT_MACHINE ?= "nitrogen8_nano_8mn1gr0_defconfig"
|
||||
UBOOT_MAKE_TARGET = ""
|
||||
UBOOT_SUFFIX = "bin"
|
||||
|
||||
# wic support
|
||||
WKS_FILE = "sdimage-bootpart.wks"
|
||||
IMAGE_BOOT_FILES_append = " \
|
||||
boot.scr-${MACHINE};boot.scr \
|
||||
"
|
||||
WKS_FILE_DEPENDS_mx8 += " \
|
||||
u-boot-script-boundary \
|
||||
e2fsprogs-native \
|
||||
bmap-tools-native \
|
||||
"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttymxc1"
|
||||
|
||||
MACHINE_FEATURES += " pci wifi bluetooth"
|
||||
|
||||
DEFAULTTUNE_mx8mn = "aarch64"
|
Loading…
Reference in New Issue
Block a user