summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2024-07-26 12:14:19 -0300
committerGitHub <noreply@github.com>2024-07-26 12:14:19 -0300
commit9e7073b5ecc50e595163393f9e32c555759f5e52 (patch)
treef5131e2b8ecf71f022be31511180c440337cde58
parentc4ef717d621ce0b1f3ff077eb91cb2cc44e02329 (diff)
parent45941f64766cd78f1491f74bf7483de52c43c9c5 (diff)
downloadmeta-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.bb11
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"
7LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" 7LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
8SECTION = "BSP" 8SECTION = "BSP"
9 9
10inherit use-imx-security-controller-firmware uboot-sign 10inherit use-imx-security-controller-firmware uboot-config
11 11
12DEPENDS += " \ 12DEPENDS += " \
13 u-boot \ 13 u-boot \
@@ -71,11 +71,7 @@ SOC_FAMILY:mx93-generic-bsp = "mx93"
71 71
72REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" 72REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}"
73 73
74do_uboot_assemble_fitimage:prepend:imx-generic-bsp() { 74UBOOT_DTB_BINARY ?= "u-boot.dtb"
75 for config in ${UBOOT_MACHINE}; do
76 mkdir -p ${B}/${config}
77 done
78}
79 75
80compile_mx8m() { 76compile_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
107compile_mx8() { 104compile_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