Hello @Chavira ,
I was going to test the problem on the NXP i.MX93 EVK. But I failed to boot the latest NXP BSP (Linux 6.6.52_2.2.0) on my EVK. I know that the EVK has the A0 revision of the i.MX93 SOM, so I changed the imx-boot recipe to use the A0 container ("mx93a0-ahab-container.img").
See my patch below:
diff --git a/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
index cd42d16b4f..8a10bdab81 100644
--- a/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
+++ b/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
@@ -165,6 +165,7 @@ compile_mx93() {
cp ${DEPLOY_DIR_IMAGE}/${ddr_firmware} ${BOOT_STAGING}
done
+ cp ${S}/../mx93a0-ahab-container.img ${BOOT_STAGING}/
cp ${DEPLOY_DIR_IMAGE}/${SECO_FIRMWARE_NAME} ${BOOT_STAGING}/
cp ${DEPLOY_DIR_IMAGE}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin
cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME_EXTRA} ${BOOT_STAGING}/u-boot.bin
diff --git a/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend b/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend
index a68dbfd5ad..57edf81ec8 100644
--- a/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend
+++ b/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend
@@ -1,6 +1,10 @@
# Copyright 2017-2022 NXP
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
+SRC_URI += " file://mx93a0-ahab-container.img "
+
IMX_M4_DEMOS = ""
IMX_M4_DEMOS:mx8-nxp-bsp = "imx-m4-demos:do_deploy"
IMX_M4_DEMOS:mx8m-nxp-bsp = ""
And I also set:
REV_OPTION="REV=A0"
in my loca.config
However I can only see u-boot SPL and BL31 starting on the serial console:
U-Boot SPL 2024.04-lf_v2024.04+g6c4545203d1+p0 (Nov 15 2024 - 04:02:13 +0000)
SOC: 0xa0009300
LC: 0x40010
PMIC: PCA9451A
PMIC: Over Drive Voltage Mode
Error: ele_volt_change_start_req: ret -5, response 0xf429
Error: ele_volt_change_finish_req: ret -5, response 0xf429
DDR: 3733MTS
M33 prepare ok
Normal Boot
Trying to boot from BOOTROM
Boot Stage: Primary boot
image offset 0x8000, pagesize 0x200, ivt offset 0x0
Load image from 0x50000 by ROM_API
NOTICE: TRDC init done
NOTICE: BL31: v2.10.0 (release):android-15.0.0_1.0.0-rc3
NOTICE: BL31: Built : 08:52:12, Nov 4 2024
After that the SOC stops to boot.
Do you have any clue whats going wrong? Can you explain me how to use the current NXP BSPs on the i.MX 93 EVK? Or is there a chance to get the EVK replaced with one that has the A1 SOC revision?
Thanks and regards,
Christoph