aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>2020-01-06 17:01:08 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2020-04-08 08:43:39 -0300
commit69b11cf31fc9dfb17e1d1469b11accbf76616692 (patch)
treebaac7e100d990417c5f221c14080cf1f803f0504
parente018eaabd51aa5aff9e7fa015d50ea7d3e54bd7d (diff)
downloadmeta-freescale-69b11cf31fc9dfb17e1d1469b11accbf76616692.tar.gz
meta-freescale-69b11cf31fc9dfb17e1d1469b11accbf76616692.tar.bz2
meta-freescale-69b11cf31fc9dfb17e1d1469b11accbf76616692.zip
imx-boot: add support for i.MX8M Nano EVK
Add ATF and platform machine definitions for i.MX8M Nano SoC in order to generate boot images. This mainly follows the setup done for i.MX8M Mini. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> (cherry picked from commit 9babcb15e4cbe204dfa7421d35945e1aa1f08a03)
-rw-r--r--recipes-bsp/imx-mkimage/imx-boot_0.2.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-bsp/imx-mkimage/imx-boot_0.2.bb b/recipes-bsp/imx-mkimage/imx-boot_0.2.bb
index 7518c911..16c7fa65 100644
--- a/recipes-bsp/imx-mkimage/imx-boot_0.2.bb
+++ b/recipes-bsp/imx-mkimage/imx-boot_0.2.bb
@@ -41,6 +41,7 @@ ATF_MACHINE_NAME_mx8qm = "bl31-imx8qm.bin"
ATF_MACHINE_NAME_mx8qxp = "bl31-imx8qx.bin"
ATF_MACHINE_NAME_mx8mq = "bl31-imx8mq.bin"
ATF_MACHINE_NAME_mx8mm = "bl31-imx8mm.bin"
+ATF_MACHINE_NAME_mx8mn = "bl31-imx8mn.bin"
ATF_MACHINE_NAME_append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}"
UBOOT_NAME = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}"
@@ -53,6 +54,7 @@ SOC_TARGET_mx8qm = "iMX8QM"
SOC_TARGET_mx8qxp = "iMX8QX"
SOC_TARGET_mx8mq = "iMX8M"
SOC_TARGET_mx8mm = "iMX8MM"
+SOC_TARGET_mx8mn = "iMX8MN"
DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}"
@@ -63,6 +65,7 @@ IMXBOOT_TARGETS ?= \
BOOT_STAGING = "${S}/${SOC_TARGET}"
BOOT_STAGING_mx8mm = "${S}/iMX8M"
+BOOT_STAGING_mx8mn = "${S}/iMX8M"
SOC_FAMILY = "INVALID"
SOC_FAMILY_mx8 = "mx8"
@@ -70,7 +73,7 @@ SOC_FAMILY_mx8m = "mx8m"
SOC_FAMILY_mx8x = "mx8x"
compile_mx8m() {
- bbnote 8MQ/8MM boot binary build
+ bbnote 8MQ/8MM/8MN boot binary build
for ddr_firmware in ${DDR_FIRMWARE_NAME}; do
bbnote "Copy ddr_firmware: ${ddr_firmware} from ${DEPLOY_DIR_IMAGE} -> ${BOOT_STAGING} "
cp ${DEPLOY_DIR_IMAGE}/${ddr_firmware} ${BOOT_STAGING}