diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2024-07-26 12:14:19 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-26 12:14:19 -0300 |
commit | 9e7073b5ecc50e595163393f9e32c555759f5e52 (patch) | |
tree | f5131e2b8ecf71f022be31511180c440337cde58 | |
parent | c4ef717d621ce0b1f3ff077eb91cb2cc44e02329 (diff) | |
parent | 45941f64766cd78f1491f74bf7483de52c43c9c5 (diff) | |
download | meta-freescale-9e7073b5ecc50e595163393f9e32c555759f5e52.tar.gz |
Merge pull request #1869 from rborn-tx/imx-boot-without-uboot-sign
imx-boot: inherit from uboot-config rather than uboot-sign
-rw-r--r-- | recipes-bsp/imx-mkimage/imx-boot_1.0.bb | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb index 7792b27b..0bb7dd95 100644 --- a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb +++ b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb | |||
@@ -7,7 +7,7 @@ LICENSE = "GPL-2.0-only" | |||
7 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" | 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" |
8 | SECTION = "BSP" | 8 | SECTION = "BSP" |
9 | 9 | ||
10 | inherit use-imx-security-controller-firmware uboot-sign | 10 | inherit use-imx-security-controller-firmware uboot-config |
11 | 11 | ||
12 | DEPENDS += " \ | 12 | DEPENDS += " \ |
13 | u-boot \ | 13 | u-boot \ |
@@ -71,11 +71,7 @@ SOC_FAMILY:mx93-generic-bsp = "mx93" | |||
71 | 71 | ||
72 | REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" | 72 | REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" |
73 | 73 | ||
74 | do_uboot_assemble_fitimage:prepend:imx-generic-bsp() { | 74 | UBOOT_DTB_BINARY ?= "u-boot.dtb" |
75 | for config in ${UBOOT_MACHINE}; do | ||
76 | mkdir -p ${B}/${config} | ||
77 | done | ||
78 | } | ||
79 | 75 | ||
80 | compile_mx8m() { | 76 | compile_mx8m() { |
81 | bbnote 8MQ/8MM/8MN/8MP boot binary build | 77 | bbnote 8MQ/8MM/8MN/8MP boot binary build |
@@ -104,6 +100,7 @@ compile_mx8m() { | |||
104 | cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME_EXTRA} ${BOOT_STAGING}/u-boot.bin | 100 | cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME_EXTRA} ${BOOT_STAGING}/u-boot.bin |
105 | 101 | ||
106 | } | 102 | } |
103 | |||
107 | compile_mx8() { | 104 | compile_mx8() { |
108 | bbnote 8QM boot binary build | 105 | bbnote 8QM boot binary build |
109 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME} ${BOOT_STAGING}/scfw_tcm.bin | 106 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME} ${BOOT_STAGING}/scfw_tcm.bin |
@@ -162,7 +159,7 @@ do_compile() { | |||
162 | if ${DEPLOY_OPTEE}; then | 159 | if ${DEPLOY_OPTEE}; then |
163 | cp ${DEPLOY_DIR_IMAGE}/tee.bin ${BOOT_STAGING} | 160 | cp ${DEPLOY_DIR_IMAGE}/tee.bin ${BOOT_STAGING} |
164 | fi | 161 | fi |
165 | for type in ${UBOOT_CONFIG}; do | 162 | for type in ${UBOOT_CONFIG}; do |
166 | if [ "${@d.getVarFlags('UBOOT_DTB_NAME')}" = "None" ]; then | 163 | if [ "${@d.getVarFlags('UBOOT_DTB_NAME')}" = "None" ]; then |
167 | UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" | 164 | UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" |
168 | else | 165 | else |