From 882271da3bcca0d03b022bf01a50c51c6ec5c94c Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Mon, 14 Dec 2020 13:39:48 -0600 Subject: imx8mn-ddr4-evk: Rework 8M Nano EVK config file There are two variants of the 8M Nano Evaluation Kit board, one with LPDDR4 and one with DDR4. Rework our existing config file to make this distinction explicit in the machine config file name and to allow for configuration re-use. Signed-off-by: Tom Hochstein --- conf/machine/include/imx8mn-evk.inc | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 conf/machine/include/imx8mn-evk.inc (limited to 'conf/machine/include/imx8mn-evk.inc') diff --git a/conf/machine/include/imx8mn-evk.inc b/conf/machine/include/imx8mn-evk.inc new file mode 100644 index 000000000..8e68f2fe4 --- /dev/null +++ b/conf/machine/include/imx8mn-evk.inc @@ -0,0 +1,51 @@ +MACHINEOVERRIDES =. "mx8:mx8m:mx8mn:" + +require conf/machine/include/imx-base.inc +require conf/machine/include/tune-cortexa53.inc + +MACHINE_FEATURES += "wifi bluetooth optee bcm43455 bcm4356" + +# NXP BSP can consume proprietary jailhouse and Broadcom drivers +MACHINE_FEATURES_append_use-nxp-bsp = " jailhouse bcm4359" + +KERNEL_DEVICETREE = " \ + freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \ +" +KERNEL_DEVICETREE_append_use-nxp-bsp = " \ + freescale/${KERNEL_DEVICETREE_BASENAME}-ak5558.dtb \ + freescale/${KERNEL_DEVICETREE_BASENAME}-inmate.dtb \ + freescale/${KERNEL_DEVICETREE_BASENAME}-rm67191.dtb \ + freescale/${KERNEL_DEVICETREE_BASENAME}-root.dtb \ + freescale/${KERNEL_DEVICETREE_BASENAME}-rpmsg.dtb \ +" +UBOOT_DTB_NAME = "${KERNEL_DEVICETREE_BASENAME}.dtb" + +UBOOT_CONFIG ??= "sd" +UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig,sdcard" +UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_defconfig" +UBOOT_CONFIG[mfgtool] = "${UBOOT_CONFIG_BASENAME}_defconfig" + +SPL_BINARY = "spl/u-boot-spl.bin" + +ATF_PLATFORM = "imx8mn" + +IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_flexspi', '${IMXBOOT_TARGETS_BASENAME}', d)}" + +IMX_BOOT_SOC_TARGET = "iMX8MN" + +SERIAL_CONSOLES = "115200;ttymxc1" + +BOOT_SPACE = "65536" +LOADADDR = "" +UBOOT_SUFFIX = "bin" +UBOOT_MAKE_TARGET = "" + +# Image boot offset as defined in section 6.1.6.1 "Primary image offset and IVT offset" of +# i.MX 8M Nano Applications Processor Reference Manual, Rev. 0, 12/2019 +# Doc ID: IMX8MNRM +IMX_BOOT_SEEK = "32" + +OPTEE_BIN_EXT = "8mn" + +# Add additional firmware +MACHINE_FIRMWARE_append = " linux-firmware-ath10k" -- cgit v1.2.3-54-g00ecf