diff options
author | Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> | 2020-01-06 17:01:08 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-01-08 16:11:22 -0300 |
commit | 9babcb15e4cbe204dfa7421d35945e1aa1f08a03 (patch) | |
tree | aef22883cc68f66b2f2d5cdd1a1013158851f206 /recipes-bsp | |
parent | 020d81896bba5f6cb1dae0f352854ce4d57374e8 (diff) | |
download | meta-freescale-9babcb15e4cbe204dfa7421d35945e1aa1f08a03.tar.gz |
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>
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/imx-mkimage/imx-boot_0.2.bb | 5 |
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 40552c35..00427d9f 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" | |||
41 | ATF_MACHINE_NAME_mx8qxp = "bl31-imx8qx.bin" | 41 | ATF_MACHINE_NAME_mx8qxp = "bl31-imx8qx.bin" |
42 | ATF_MACHINE_NAME_mx8mq = "bl31-imx8mq.bin" | 42 | ATF_MACHINE_NAME_mx8mq = "bl31-imx8mq.bin" |
43 | ATF_MACHINE_NAME_mx8mm = "bl31-imx8mm.bin" | 43 | ATF_MACHINE_NAME_mx8mm = "bl31-imx8mm.bin" |
44 | ATF_MACHINE_NAME_mx8mn = "bl31-imx8mn.bin" | ||
44 | ATF_MACHINE_NAME_append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" | 45 | ATF_MACHINE_NAME_append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" |
45 | 46 | ||
46 | UBOOT_NAME = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" | 47 | UBOOT_NAME = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" |
@@ -53,6 +54,7 @@ SOC_TARGET_mx8qm = "iMX8QM" | |||
53 | SOC_TARGET_mx8qxp = "iMX8QX" | 54 | SOC_TARGET_mx8qxp = "iMX8QX" |
54 | SOC_TARGET_mx8mq = "iMX8M" | 55 | SOC_TARGET_mx8mq = "iMX8M" |
55 | SOC_TARGET_mx8mm = "iMX8MM" | 56 | SOC_TARGET_mx8mm = "iMX8MM" |
57 | SOC_TARGET_mx8mn = "iMX8MN" | ||
56 | 58 | ||
57 | DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" | 59 | DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" |
58 | 60 | ||
@@ -63,6 +65,7 @@ IMXBOOT_TARGETS ?= \ | |||
63 | 65 | ||
64 | BOOT_STAGING = "${S}/${SOC_TARGET}" | 66 | BOOT_STAGING = "${S}/${SOC_TARGET}" |
65 | BOOT_STAGING_mx8mm = "${S}/iMX8M" | 67 | BOOT_STAGING_mx8mm = "${S}/iMX8M" |
68 | BOOT_STAGING_mx8mn = "${S}/iMX8M" | ||
66 | 69 | ||
67 | SOC_FAMILY = "INVALID" | 70 | SOC_FAMILY = "INVALID" |
68 | SOC_FAMILY_mx8 = "mx8" | 71 | SOC_FAMILY_mx8 = "mx8" |
@@ -70,7 +73,7 @@ SOC_FAMILY_mx8m = "mx8m" | |||
70 | SOC_FAMILY_mx8x = "mx8x" | 73 | SOC_FAMILY_mx8x = "mx8x" |
71 | 74 | ||
72 | compile_mx8m() { | 75 | compile_mx8m() { |
73 | bbnote 8MQ/8MM boot binary build | 76 | bbnote 8MQ/8MM/8MN boot binary build |
74 | for ddr_firmware in ${DDR_FIRMWARE_NAME}; do | 77 | for ddr_firmware in ${DDR_FIRMWARE_NAME}; do |
75 | bbnote "Copy ddr_firmware: ${ddr_firmware} from ${DEPLOY_DIR_IMAGE} -> ${BOOT_STAGING} " | 78 | bbnote "Copy ddr_firmware: ${ddr_firmware} from ${DEPLOY_DIR_IMAGE} -> ${BOOT_STAGING} " |
76 | cp ${DEPLOY_DIR_IMAGE}/${ddr_firmware} ${BOOT_STAGING} | 79 | cp ${DEPLOY_DIR_IMAGE}/${ddr_firmware} ${BOOT_STAGING} |