summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatheus Barbosa <matheus.barbosa@toradex.com>2026-10-26 16:41:18 -0300
committerMatheus Barbosa <matheus.barbosa@toradex.com>2026-10-28 08:38:00 -0300
commit0dcd73030157ead5edf2139a21b57a99efc7132b (patch)
treee1f3099a5d7b688b2dc292415ae76701f755c5a5
parent42615b6a634f8de164788889a427a40fd60c2489 (diff)
downloadmeta-freescale-0dcd73030157ead5edf2139a21b57a99efc7132b.tar.gz
imx-boot: Add i.MX 952 support
Based on LF6.18.37_2.1.0 NXP BSP release. Signed-off-by: Matheus Barbosa <matheus.barbosa@toradex.com>
-rw-r--r--recipes-bsp/imx-mkimage/imx-boot_1.0.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
index dad78748b..da99f3f3c 100644
--- a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
+++ b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
@@ -73,6 +73,7 @@ BOOT_STAGING:mx91-generic-bsp = "${S}/iMX91"
73BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93" 73BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93"
74BOOT_STAGING:mx943-generic-bsp = "${S}/iMX94" 74BOOT_STAGING:mx943-generic-bsp = "${S}/iMX94"
75BOOT_STAGING:mx95-generic-bsp = "${S}/iMX95" 75BOOT_STAGING:mx95-generic-bsp = "${S}/iMX95"
76BOOT_STAGING:mx952-generic-bsp = "${S}/iMX952"
76 77
77SOC_FAMILY = "INVALID" 78SOC_FAMILY = "INVALID"
78SOC_FAMILY:mx8-generic-bsp = "mx8" 79SOC_FAMILY:mx8-generic-bsp = "mx8"
@@ -83,6 +84,7 @@ SOC_FAMILY:mx91-generic-bsp = "mx91"
83SOC_FAMILY:mx93-generic-bsp = "mx93" 84SOC_FAMILY:mx93-generic-bsp = "mx93"
84SOC_FAMILY:mx943-generic-bsp = "mx943" 85SOC_FAMILY:mx943-generic-bsp = "mx943"
85SOC_FAMILY:mx95-generic-bsp = "mx95" 86SOC_FAMILY:mx95-generic-bsp = "mx95"
87SOC_FAMILY:mx952-generic-bsp = "mx952"
86 88
87REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" 89REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}"
88 90
@@ -107,6 +109,10 @@ MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin ?= "\
107MKIMAGE_EXTRA_ARGS:imx95-a1-19x19-verdin ?= "\ 109MKIMAGE_EXTRA_ARGS:imx95-a1-19x19-verdin ?= "\
108 ${MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin} \ 110 ${MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin} \
109" 111"
112MKIMAGE_EXTRA_ARGS:mx952-nxp-bsp ?= "\
113 OEI=YES \
114 LPDDR_TYPE=${DDR_TYPE} \
115"
110 116
111UBOOT_DTB_BINARY ?= "u-boot.dtb" 117UBOOT_DTB_BINARY ?= "u-boot.dtb"
112 118
@@ -232,6 +238,12 @@ compile_mx95() {
232} 238}
233compile_mx95[doc] = "Stage the i.MX 93 binaries plus the OEI and System Manager firmware for the i.MX 95 boot container" 239compile_mx95[doc] = "Stage the i.MX 93 binaries plus the OEI and System Manager firmware for the i.MX 95 boot container"
234 240
241compile_mx952() {
242 bbnote i.MX 952 boot binary build
243 compile_mx95
244}
245compile_mx952[doc] = "Stage the i.MX 952 boot container binaries, which are the same as for i.MX 95"
246
235do_compile() { 247do_compile() {
236 # mkimage for i.MX8 248 # mkimage for i.MX8
237 # Copy TEE binary to SoC target folder to mkimage 249 # Copy TEE binary to SoC target folder to mkimage
@@ -421,6 +433,14 @@ deploy_mx95() {
421} 433}
422deploy_mx95[doc] = "Deploy the i.MX 93 boot tools plus the OEI and System Manager firmware for i.MX 95" 434deploy_mx95[doc] = "Deploy the i.MX 93 boot tools plus the OEI and System Manager firmware for i.MX 95"
423 435
436deploy_mx952() {
437 deploy_mx93
438 install -m 0644 ${BOOT_STAGING}/${OEI_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}
439 install -m 0644 ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin \
440 ${DEPLOYDIR}/${BOOT_TOOLS}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin
441}
442deploy_mx952[doc] = "Deploy the i.MX 93 boot tools plus the OEI and System Manager firmware for i.MX 952"
443
424do_deploy() { 444do_deploy() {
425 deploy_${SOC_FAMILY} 445 deploy_${SOC_FAMILY}
426 446