diff options
-rw-r--r-- | recipes-bsp/imx-mkimage/imx-boot_0.2.bb | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/recipes-bsp/imx-mkimage/imx-boot_0.2.bb b/recipes-bsp/imx-mkimage/imx-boot_0.2.bb index 7bd50312..30a732fa 100644 --- a/recipes-bsp/imx-mkimage/imx-boot_0.2.bb +++ b/recipes-bsp/imx-mkimage/imx-boot_0.2.bb | |||
@@ -60,15 +60,15 @@ SOC_TARGET_mx8mm = "iMX8MM" | |||
60 | IMXBOOT_TARGETS ?= \ | 60 | IMXBOOT_TARGETS ?= \ |
61 | "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \ | 61 | "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \ |
62 | bb.utils.contains('UBOOT_CONFIG', 'nand', 'flash_nand', \ | 62 | bb.utils.contains('UBOOT_CONFIG', 'nand', 'flash_nand', \ |
63 | 'flash_multi_cores flash flash_dcd', d), d)}" | 63 | 'flash flash_dcd', d), d)}" |
64 | IMXBOOT_TARGETS_mx8qxp = \ | 64 | IMXBOOT_TARGETS_mx8qxp = \ |
65 | "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \ | 65 | "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \ |
66 | bb.utils.contains('UBOOT_CONFIG', 'nand', 'flash_nand', \ | 66 | bb.utils.contains('UBOOT_CONFIG', 'nand', 'flash_nand', \ |
67 | 'flash_all flash', d), d)}" | 67 | 'flash', d), d)}" |
68 | IMXBOOT_TARGETS_mx8qxpa0 = \ | 68 | IMXBOOT_TARGETS_mx8qxpa0 = \ |
69 | "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi_a0', \ | 69 | "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi_a0', \ |
70 | bb.utils.contains('UBOOT_CONFIG', 'nand', 'flash_nand_a0', \ | 70 | bb.utils.contains('UBOOT_CONFIG', 'nand', 'flash_nand_a0', \ |
71 | 'flash_multi_cores_a0 flash_a0 flash_dcd_a0', d), d)}" | 71 | 'flash_a0 flash_dcd_a0', d), d)}" |
72 | 72 | ||
73 | BOOT_STAGING = "${S}/${SOC_TARGET}" | 73 | BOOT_STAGING = "${S}/${SOC_TARGET}" |
74 | BOOT_STAGING_mx8mm = "${S}/iMX8M" | 74 | BOOT_STAGING_mx8mm = "${S}/iMX8M" |
@@ -97,14 +97,10 @@ compile_mx8() { | |||
97 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME} ${BOOT_STAGING}/scfw_tcm.bin | 97 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME} ${BOOT_STAGING}/scfw_tcm.bin |
98 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin | 98 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin |
99 | cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME} ${BOOT_STAGING}/u-boot.bin | 99 | cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME} ${BOOT_STAGING}/u-boot.bin |
100 | cp ${DEPLOY_DIR_IMAGE}/imx8qm_m4_0_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin ${BOOT_STAGING}/m40_tcm.bin | ||
101 | cp ${DEPLOY_DIR_IMAGE}/imx8qm_m4_1_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin ${BOOT_STAGING}/m41_tcm.bin | ||
102 | cp ${DEPLOY_DIR_IMAGE}/mx8qm-ahab-container.img ${BOOT_STAGING} | 100 | cp ${DEPLOY_DIR_IMAGE}/mx8qm-ahab-container.img ${BOOT_STAGING} |
103 | } | 101 | } |
104 | compile_mx8x() { | 102 | compile_mx8x() { |
105 | bbnote 8QX boot binary build | 103 | bbnote 8QX boot binary build |
106 | cp ${DEPLOY_DIR_IMAGE}/imx8qx_m4_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin ${BOOT_STAGING}/m40_tcm.bin | ||
107 | cp ${DEPLOY_DIR_IMAGE}/imx8qx_m4_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin ${BOOT_STAGING}/CM4.bin | ||
108 | cp ${DEPLOY_DIR_IMAGE}/mx8qx-ahab-container.img ${BOOT_STAGING} | 104 | cp ${DEPLOY_DIR_IMAGE}/mx8qx-ahab-container.img ${BOOT_STAGING} |
109 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME} ${BOOT_STAGING}/scfw_tcm.bin | 105 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME} ${BOOT_STAGING}/scfw_tcm.bin |
110 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin | 106 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin |
@@ -151,8 +147,6 @@ deploy_mx8x() { | |||
151 | install -m 0644 ${BOOT_STAGING}/${DCD_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} | 147 | install -m 0644 ${BOOT_STAGING}/${DCD_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} |
152 | fi | 148 | fi |
153 | install -m 0644 ${BOOT_STAGING}/mx8qx-ahab-container.img ${DEPLOYDIR}/${BOOT_TOOLS} | 149 | install -m 0644 ${BOOT_STAGING}/mx8qx-ahab-container.img ${DEPLOYDIR}/${BOOT_TOOLS} |
154 | install -m 0644 ${BOOT_STAGING}/m40_tcm.bin ${DEPLOYDIR}/${BOOT_TOOLS} | ||
155 | install -m 0644 ${BOOT_STAGING}/CM4.bin ${DEPLOYDIR}/${BOOT_TOOLS} | ||
156 | install -m 0755 ${S}/${TOOLS_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} | 150 | install -m 0755 ${S}/${TOOLS_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} |
157 | } | 151 | } |
158 | do_deploy() { | 152 | do_deploy() { |