diff options
| author | Matheus Barbosa <matheus.barbosa@toradex.com> | 2026-10-26 16:41:18 -0300 |
|---|---|---|
| committer | Matheus Barbosa <matheus.barbosa@toradex.com> | 2026-10-28 08:38:00 -0300 |
| commit | 0dcd73030157ead5edf2139a21b57a99efc7132b (patch) | |
| tree | e1f3099a5d7b688b2dc292415ae76701f755c5a5 | |
| parent | 42615b6a634f8de164788889a427a40fd60c2489 (diff) | |
| download | meta-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.bb | 20 |
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" | |||
| 73 | BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93" | 73 | BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93" |
| 74 | BOOT_STAGING:mx943-generic-bsp = "${S}/iMX94" | 74 | BOOT_STAGING:mx943-generic-bsp = "${S}/iMX94" |
| 75 | BOOT_STAGING:mx95-generic-bsp = "${S}/iMX95" | 75 | BOOT_STAGING:mx95-generic-bsp = "${S}/iMX95" |
| 76 | BOOT_STAGING:mx952-generic-bsp = "${S}/iMX952" | ||
| 76 | 77 | ||
| 77 | SOC_FAMILY = "INVALID" | 78 | SOC_FAMILY = "INVALID" |
| 78 | SOC_FAMILY:mx8-generic-bsp = "mx8" | 79 | SOC_FAMILY:mx8-generic-bsp = "mx8" |
| @@ -83,6 +84,7 @@ SOC_FAMILY:mx91-generic-bsp = "mx91" | |||
| 83 | SOC_FAMILY:mx93-generic-bsp = "mx93" | 84 | SOC_FAMILY:mx93-generic-bsp = "mx93" |
| 84 | SOC_FAMILY:mx943-generic-bsp = "mx943" | 85 | SOC_FAMILY:mx943-generic-bsp = "mx943" |
| 85 | SOC_FAMILY:mx95-generic-bsp = "mx95" | 86 | SOC_FAMILY:mx95-generic-bsp = "mx95" |
| 87 | SOC_FAMILY:mx952-generic-bsp = "mx952" | ||
| 86 | 88 | ||
| 87 | REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" | 89 | REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" |
| 88 | 90 | ||
| @@ -107,6 +109,10 @@ MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin ?= "\ | |||
| 107 | MKIMAGE_EXTRA_ARGS:imx95-a1-19x19-verdin ?= "\ | 109 | MKIMAGE_EXTRA_ARGS:imx95-a1-19x19-verdin ?= "\ |
| 108 | ${MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin} \ | 110 | ${MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin} \ |
| 109 | " | 111 | " |
| 112 | MKIMAGE_EXTRA_ARGS:mx952-nxp-bsp ?= "\ | ||
| 113 | OEI=YES \ | ||
| 114 | LPDDR_TYPE=${DDR_TYPE} \ | ||
| 115 | " | ||
| 110 | 116 | ||
| 111 | UBOOT_DTB_BINARY ?= "u-boot.dtb" | 117 | UBOOT_DTB_BINARY ?= "u-boot.dtb" |
| 112 | 118 | ||
| @@ -232,6 +238,12 @@ compile_mx95() { | |||
| 232 | } | 238 | } |
| 233 | compile_mx95[doc] = "Stage the i.MX 93 binaries plus the OEI and System Manager firmware for the i.MX 95 boot container" | 239 | compile_mx95[doc] = "Stage the i.MX 93 binaries plus the OEI and System Manager firmware for the i.MX 95 boot container" |
| 234 | 240 | ||
| 241 | compile_mx952() { | ||
| 242 | bbnote i.MX 952 boot binary build | ||
| 243 | compile_mx95 | ||
| 244 | } | ||
| 245 | compile_mx952[doc] = "Stage the i.MX 952 boot container binaries, which are the same as for i.MX 95" | ||
| 246 | |||
| 235 | do_compile() { | 247 | do_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 | } |
| 422 | deploy_mx95[doc] = "Deploy the i.MX 93 boot tools plus the OEI and System Manager firmware for i.MX 95" | 434 | deploy_mx95[doc] = "Deploy the i.MX 93 boot tools plus the OEI and System Manager firmware for i.MX 95" |
| 423 | 435 | ||
| 436 | deploy_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 | } | ||
| 442 | deploy_mx952[doc] = "Deploy the i.MX 93 boot tools plus the OEI and System Manager firmware for i.MX 952" | ||
| 443 | |||
| 424 | do_deploy() { | 444 | do_deploy() { |
| 425 | deploy_${SOC_FAMILY} | 445 | deploy_${SOC_FAMILY} |
| 426 | 446 | ||
