summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-mkimage
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/imx-mkimage')
-rw-r--r--recipes-bsp/imx-mkimage/imx-boot_1.0.bb134
-rw-r--r--recipes-bsp/imx-mkimage/imx-mkimage_git.inc8
2 files changed, 107 insertions, 35 deletions
diff --git a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
index 7792b27bd..6b027eb75 100644
--- a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
+++ b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
@@ -1,4 +1,4 @@
1# Copyright (C) 2017-2020 NXP 1# Copyright (C) 2017-2024 NXP
2 2
3require imx-mkimage_git.inc 3require imx-mkimage_git.inc
4 4
@@ -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 \
@@ -18,14 +18,11 @@ DEPENDS += " \
18# xxd is a dependency of fspi_packer.sh 18# xxd is a dependency of fspi_packer.sh
19DEPENDS += "xxd-native" 19DEPENDS += "xxd-native"
20DEPENDS:append:mx8m-generic-bsp = " u-boot-mkimage-native dtc-native" 20DEPENDS:append:mx8m-generic-bsp = " u-boot-mkimage-native dtc-native"
21BOOT_NAME = "imx-boot" 21DEPENDS:append:mx93-generic-bsp = " u-boot-mkimage-native dtc-native"
22PROVIDES = "${BOOT_NAME}"
23 22
24inherit deploy uuu_bootloader_tag 23inherit deploy uuu_bootloader_tag
25 24
26UUU_BOOTLOADER = "${BOOT_NAME}" 25UUU_BOOTLOADER = "imx-boot"
27UUU_BOOTLOADER_TAGGED = "${BOOT_NAME}-tagged"
28UUU_BOOTLOADER_UNTAGGED = "${BOOT_NAME}-untagged"
29 26
30# Add CFLAGS with native INCDIR & LIBDIR for imx-mkimage build 27# Add CFLAGS with native INCDIR & LIBDIR for imx-mkimage build
31CFLAGS = "-O2 -Wall -std=c99 -I ${STAGING_INCDIR_NATIVE} -L ${STAGING_LIBDIR_NATIVE}" 28CFLAGS = "-O2 -Wall -std=c99 -I ${STAGING_INCDIR_NATIVE} -L ${STAGING_LIBDIR_NATIVE}"
@@ -41,14 +38,20 @@ do_compile[depends] += " \
41 38
42SC_FIRMWARE_NAME ?= "scfw_tcm.bin" 39SC_FIRMWARE_NAME ?= "scfw_tcm.bin"
43 40
41OEI_ENABLE = "${@bb.utils.contains('DEPENDS', 'virtual/imx-oei', 'YES', 'NO', d)}"
42OEI_NAME ?= "oei-${OEI_CORE}-*.bin"
43
44ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin" 44ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin"
45ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" 45ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}"
46 46
47BOOT_VARIANT ?= ""
48
47TOOLS_NAME ?= "mkimage_imx8" 49TOOLS_NAME ?= "mkimage_imx8"
48 50
49IMX_BOOT_SOC_TARGET ?= "INVALID" 51IMX_BOOT_SOC_TARGET ?= "INVALID"
50 52
51DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" 53DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}"
54DEPLOY_OPTEE_STMM = "${@bb.utils.contains('MACHINE_FEATURES', 'optee stmm', 'true', 'false', d)}"
52 55
53IMXBOOT_TARGETS ?= \ 56IMXBOOT_TARGETS ?= \
54 "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \ 57 "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \
@@ -58,24 +61,32 @@ IMXBOOT_TARGETS ?= \
58BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" 61BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}"
59BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M" 62BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M"
60BOOT_STAGING:mx8dx-generic-bsp = "${S}/iMX8QX" 63BOOT_STAGING:mx8dx-generic-bsp = "${S}/iMX8QX"
61BOOT_STAGING:mx91p-generic-bsp = "${S}/iMX91" 64BOOT_STAGING:mx91-generic-bsp = "${S}/iMX91"
62BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93" 65BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93"
66BOOT_STAGING:mx95-generic-bsp = "${S}/iMX95"
63 67
64SOC_FAMILY = "INVALID" 68SOC_FAMILY = "INVALID"
65SOC_FAMILY:mx8-generic-bsp = "mx8" 69SOC_FAMILY:mx8-generic-bsp = "mx8"
66SOC_FAMILY:mx8m-generic-bsp = "mx8m" 70SOC_FAMILY:mx8m-generic-bsp = "mx8m"
67SOC_FAMILY:mx8x-generic-bsp = "mx8x" 71SOC_FAMILY:mx8x-generic-bsp = "mx8x"
68SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp" 72SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp"
69SOC_FAMILY:mx91p-generic-bsp = "mx93" 73SOC_FAMILY:mx91-generic-bsp = "mx91"
70SOC_FAMILY:mx93-generic-bsp = "mx93" 74SOC_FAMILY:mx93-generic-bsp = "mx93"
75SOC_FAMILY:mx95-generic-bsp = "mx95"
71 76
72REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" 77REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}"
73 78
74do_uboot_assemble_fitimage:prepend:imx-generic-bsp() { 79MKIMAGE_EXTRA_ARGS ?= ""
75 for config in ${UBOOT_MACHINE}; do 80MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp ?= " \
76 mkdir -p ${B}/${config} 81 OEI=${OEI_ENABLE} \
77 done 82 LPDDR_TYPE=${DDR_TYPE} \
78} 83 ${@'LPDDR_FW_VERSION='+d.getVar('LPDDR_FW_VERSION') if d.getVar('LPDDR_FW_VERSION') else ''} \
84 ${@bb.utils.contains('SYSTEM_MANAGER_CONFIG', 'mx95alt', 'MSEL=1', '', d)}"
85MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin ?= " \
86 ${MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp} \
87 QSPI_HEADER=./scripts/fspi_header_133"
88
89UBOOT_DTB_BINARY ?= "u-boot.dtb"
79 90
80compile_mx8m() { 91compile_mx8m() {
81 bbnote 8MQ/8MM/8MN/8MP boot binary build 92 bbnote 8MQ/8MM/8MN/8MP boot binary build
@@ -91,9 +102,13 @@ compile_mx8m() {
91 102
92 if [ "x${UBOOT_SIGN_ENABLE}" = "x1" ] ; then 103 if [ "x${UBOOT_SIGN_ENABLE}" = "x1" ] ; then
93 # Use DTB binary patched with signature node 104 # Use DTB binary patched with signature node
94 cp ${DEPLOY_DIR_IMAGE}/${UBOOT_DTB_BINARY} ${BOOT_STAGING}/${UBOOT_DTB_NAME_EXTRA} 105 cp ${DEPLOY_DIR_IMAGE}/${UBOOT_DTB_BINARY} ${BOOT_STAGING}/${UBOOT_DTB_NAME_EXTRA}
95 else 106 else
96 cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${UBOOT_DTB_NAME_EXTRA} ${BOOT_STAGING} 107 cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${UBOOT_DTB_NAME_EXTRA} \
108 ${BOOT_STAGING}
109 fi
110 if [ "${UBOOT_DTB_NAME_EXTRA}" != "${UBOOT_DTB_NAME}" ] ; then
111 ln -sf ${UBOOT_DTB_NAME_EXTRA} ${BOOT_STAGING}/${UBOOT_DTB_NAME}
97 fi 112 fi
98 113
99 cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} \ 114 cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} \
@@ -101,9 +116,10 @@ compile_mx8m() {
101 116
102 cp ${DEPLOY_DIR_IMAGE}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin 117 cp ${DEPLOY_DIR_IMAGE}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin
103 118
104 cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME_EXTRA} ${BOOT_STAGING}/u-boot.bin 119 cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME_EXTRA} ${BOOT_STAGING}/u-boot.bin
105 120
106} 121}
122
107compile_mx8() { 123compile_mx8() {
108 bbnote 8QM boot binary build 124 bbnote 8QM boot binary build
109 cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME} ${BOOT_STAGING}/scfw_tcm.bin 125 cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME} ${BOOT_STAGING}/scfw_tcm.bin
@@ -140,6 +156,11 @@ compile_mx8ulp() {
140 fi 156 fi
141} 157}
142 158
159compile_mx91() {
160 bbnote i.MX 91 boot binary build
161 compile_mx93
162}
163
143compile_mx93() { 164compile_mx93() {
144 bbnote i.MX 93 boot binary build 165 bbnote i.MX 93 boot binary build
145 for ddr_firmware in ${DDR_FIRMWARE_NAME}; do 166 for ddr_firmware in ${DDR_FIRMWARE_NAME}; do
@@ -156,13 +177,30 @@ compile_mx93() {
156 fi 177 fi
157} 178}
158 179
180compile_mx95() {
181 bbnote i.MX 95 boot binary build
182 compile_mx93
183
184 cp ${DEPLOY_DIR_IMAGE}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin \
185 ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin
186}
187
159do_compile() { 188do_compile() {
160 # mkimage for i.MX8 189 # mkimage for i.MX8
161 # Copy TEE binary to SoC target folder to mkimage 190 # Copy TEE binary to SoC target folder to mkimage
162 if ${DEPLOY_OPTEE}; then 191 if ${DEPLOY_OPTEE}; then
163 cp ${DEPLOY_DIR_IMAGE}/tee.bin ${BOOT_STAGING} 192 cp ${DEPLOY_DIR_IMAGE}/tee.bin ${BOOT_STAGING}
193 if ${DEPLOY_OPTEE_STMM}; then
194 # Copy tee.bin to tee.bin-stmm
195 cp ${DEPLOY_DIR_IMAGE}/tee.bin ${BOOT_STAGING}/tee.bin-stmm
196 fi
164 fi 197 fi
165 for type in ${UBOOT_CONFIG}; do 198 # Copy OEI firmware to SoC target folder to mkimage
199 if [ "${OEI_ENABLE}" = "YES" ]; then
200 cp ${DEPLOY_DIR_IMAGE}/${OEI_NAME} ${BOOT_STAGING}
201 fi
202
203 for type in ${UBOOT_CONFIG}; do
166 if [ "${@d.getVarFlags('UBOOT_DTB_NAME')}" = "None" ]; then 204 if [ "${@d.getVarFlags('UBOOT_DTB_NAME')}" = "None" ]; then
167 UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" 205 UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}"
168 else 206 else
@@ -185,18 +223,30 @@ do_compile() {
185 UBOOT_DTB_NAME_EXTRA="${dtb_name}" 223 UBOOT_DTB_NAME_EXTRA="${dtb_name}"
186 fi 224 fi
187 UBOOT_NAME_EXTRA="u-boot-${MACHINE}.bin-${UBOOT_CONFIG_EXTRA}" 225 UBOOT_NAME_EXTRA="u-boot-${MACHINE}.bin-${UBOOT_CONFIG_EXTRA}"
188 BOOT_CONFIG_MACHINE_EXTRA="${BOOT_NAME}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin" 226 BOOT_CONFIG_MACHINE_EXTRA="imx-boot${BOOT_VARIANT}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin"
189 227
190 for target in ${IMXBOOT_TARGETS}; do 228 for target in ${IMXBOOT_TARGETS}; do
191 compile_${SOC_FAMILY} 229 compile_${SOC_FAMILY}
192 if [ "$target" = "flash_linux_m4_no_v2x" ]; then 230 case $target in
231 *no_v2x)
193 # Special target build for i.MX 8DXL with V2X off 232 # Special target build for i.MX 8DXL with V2X off
194 bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} V2X=NO ${target}" 233 bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} V2X=NO ${target}"
195 make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} V2X=NO dtbs=${UBOOT_DTB_NAME_EXTRA} flash_linux_m4 234 make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} V2X=NO dtbs=${UBOOT_DTB_NAME_EXTRA} flash_linux_m4
196 else 235 ;;
197 bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} ${target}" 236 *stmm_capsule)
198 make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} dtbs=${UBOOT_DTB_NAME_EXTRA} ${target} 237 # target for flash_evk_stmm_capsule or
199 fi 238 # flash_singleboot_stmm_capsule
239 cp ${RECIPE_SYSROOT_NATIVE}/${bindir}/mkeficapsule ${BOOT_STAGING}
240 bbnote "building ${IMX_BOOT_SOC_TARGET} - TEE=tee.bin-stmm ${target}"
241 cp ${DEPLOY_DIR_IMAGE}/CRT.* ${BOOT_STAGING}
242 make SOC=${IMX_BOOT_SOC_TARGET} TEE=tee.bin-stmm dtbs=${UBOOT_DTB_NAME} ${REV_OPTION} ${target}
243 ;;
244 *)
245 bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} ${MKIMAGE_EXTRA_ARGS} ${target}"
246 make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} ${MKIMAGE_EXTRA_ARGS} dtbs=${UBOOT_DTB_NAME} ${target}
247 ;;
248 esac
249
200 if [ -e "${BOOT_STAGING}/flash.bin" ]; then 250 if [ -e "${BOOT_STAGING}/flash.bin" ]; then
201 cp ${BOOT_STAGING}/flash.bin ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} 251 cp ${BOOT_STAGING}/flash.bin ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target}
202 fi 252 fi
@@ -224,7 +274,7 @@ do_install () {
224 bbnote "UBOOT_CONFIG = $type" 274 bbnote "UBOOT_CONFIG = $type"
225 275
226 UBOOT_CONFIG_EXTRA="$type" 276 UBOOT_CONFIG_EXTRA="$type"
227 BOOT_CONFIG_MACHINE_EXTRA="${BOOT_NAME}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin" 277 BOOT_CONFIG_MACHINE_EXTRA="imx-boot${BOOT_VARIANT}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin"
228 278
229 for target in ${IMXBOOT_TARGETS}; do 279 for target in ${IMXBOOT_TARGETS}; do
230 install -m 0644 ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} ${D}/boot/ 280 install -m 0644 ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} ${D}/boot/
@@ -279,6 +329,10 @@ deploy_mx8ulp() {
279 fi 329 fi
280} 330}
281 331
332deploy_mx91() {
333 deploy_mx93
334}
335
282deploy_mx93() { 336deploy_mx93() {
283 install -d ${DEPLOYDIR}/${BOOT_TOOLS} 337 install -d ${DEPLOYDIR}/${BOOT_TOOLS}
284 338
@@ -294,6 +348,12 @@ deploy_mx93() {
294 fi 348 fi
295} 349}
296 350
351deploy_mx95() {
352 deploy_mx93
353 install -m 0644 ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin \
354 ${DEPLOYDIR}/${BOOT_TOOLS}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin
355}
356
297do_deploy() { 357do_deploy() {
298 deploy_${SOC_FAMILY} 358 deploy_${SOC_FAMILY}
299 359
@@ -301,13 +361,27 @@ do_deploy() {
301 if ${DEPLOY_OPTEE}; then 361 if ${DEPLOY_OPTEE}; then
302 install -m 0644 ${DEPLOY_DIR_IMAGE}/tee.bin ${DEPLOYDIR}/${BOOT_TOOLS} 362 install -m 0644 ${DEPLOY_DIR_IMAGE}/tee.bin ${DEPLOYDIR}/${BOOT_TOOLS}
303 fi 363 fi
364
365 # copy oei to deploy path
366 if [ "${OEI_ENABLE}" = "YES" ]; then
367 install -m 0644 ${BOOT_STAGING}/${OEI_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}
368 fi
369
304 # copy makefile (soc.mak) for reference 370 # copy makefile (soc.mak) for reference
305 install -m 0644 ${BOOT_STAGING}/soc.mak ${DEPLOYDIR}/${BOOT_TOOLS} 371 install -m 0644 ${BOOT_STAGING}/soc.mak ${DEPLOYDIR}/${BOOT_TOOLS}
306 372
373 # copy stmm files to deploy path
374 if ${DEPLOY_OPTEE_STMM}; then
375 install -m 0644 ${BOOT_STAGING}/tee.bin-stmm ${DEPLOYDIR}/${BOOT_TOOLS}
376 install -m 0644 ${BOOT_STAGING}/capsule1.bin ${DEPLOYDIR}/${BOOT_TOOLS}
377 install -m 0644 ${BOOT_STAGING}/CRT.* ${DEPLOYDIR}/${BOOT_TOOLS}
378 install -m 0755 ${BOOT_STAGING}/mkeficapsule ${DEPLOYDIR}/${BOOT_TOOLS}
379 fi
380
307 for type in ${UBOOT_CONFIG}; do 381 for type in ${UBOOT_CONFIG}; do
308 UBOOT_CONFIG_EXTRA="$type" 382 UBOOT_CONFIG_EXTRA="$type"
309 UBOOT_NAME_EXTRA="u-boot-${MACHINE}.bin-${UBOOT_CONFIG_EXTRA}" 383 UBOOT_NAME_EXTRA="u-boot-${MACHINE}.bin-${UBOOT_CONFIG_EXTRA}"
310 BOOT_CONFIG_MACHINE_EXTRA="${BOOT_NAME}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin" 384 BOOT_CONFIG_MACHINE_EXTRA="imx-boot${BOOT_VARIANT}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin"
311 385
312 if [ -e ${DEPLOY_DIR_IMAGE}/u-boot-spl.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} ] ; then 386 if [ -e ${DEPLOY_DIR_IMAGE}/u-boot-spl.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} ] ; then
313 install -m 0644 ${DEPLOY_DIR_IMAGE}/u-boot-spl.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} \ 387 install -m 0644 ${DEPLOY_DIR_IMAGE}/u-boot-spl.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} \
@@ -326,9 +400,9 @@ do_deploy() {
326 install -m 0644 ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} ${DEPLOYDIR} 400 install -m 0644 ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} ${DEPLOYDIR}
327 done 401 done
328 402
329 # The first UBOOT_CONFIG listed will be the ${BOOT_NAME} binary 403 # The first UBOOT_CONFIG listed will be the imx-boot binary
330 if [ ! -f "${DEPLOYDIR}/${UUU_BOOTLOADER}" ]; then 404 if [ ! -f "${DEPLOYDIR}/imx-boot" ]; then
331 ln -sf ${BOOT_CONFIG_MACHINE_EXTRA}-${IMAGE_IMXBOOT_TARGET} ${DEPLOYDIR}/${BOOT_NAME} 405 ln -sf ${BOOT_CONFIG_MACHINE_EXTRA}-${IMAGE_IMXBOOT_TARGET} ${DEPLOYDIR}/imx-boot
332 else 406 else
333 bbwarn "Use custom wks.in for $UBOOT_CONFIG = $type" 407 bbwarn "Use custom wks.in for $UBOOT_CONFIG = $type"
334 fi 408 fi
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc
index fb3df750a..3389b5b5e 100644
--- a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc
+++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc
@@ -1,14 +1,12 @@
1# Copyright 2017-2022 NXP 1# Copyright 2017-2025 NXP
2 2
3DEPENDS = "zlib-native openssl-native" 3DEPENDS = "zlib-native openssl-native"
4 4
5SRC_URI = "git://github.com/nxp-imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \ 5SRC_URI = "git://github.com/nxp-imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \
6 file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ 6 file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \
7" 7"
8SRCBRANCH = "lf-6.6.3_1.0.0" 8SRCBRANCH = "lf-6.12.3_1.0.0"
9SRCREV = "cbb99377cc2bb8f7cf213794c030e1c60423ef1f" 9SRCREV = "9e60b1f7a87a6397cf8db10e07293075f489e974"
10
11S = "${WORKDIR}/git"
12 10
13BOOT_TOOLS = "imx-boot-tools" 11BOOT_TOOLS = "imx-boot-tools"
14SYSROOT_DIRS += "/boot" 12SYSROOT_DIRS += "/boot"