i.MX8MQ SystemReady IR2.0 firmware issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8MQ SystemReady IR2.0 firmware issue

390 Views
JulienJayat
Contributor I

Hello NXP support,

The firmware present in the BSP delivery for SystemReady is not allowing to boot the SystemReady testsuite.

The Arm SystemReady certification for the i.MX8MQ:
https://armkeil.blob.core.windows.net/developer/Files/pdf/certificate-list/arm-systemready-ir-certif...

and the errata: https://armkeil.blob.core.windows.net/developer/Files/pdf/certificate-list/arm-systemready-errata-nx...

The system Ready firmware referred by the documentation is :
NXP 2023 Q1 firmware
version LF 6.1.1_1.0.0 (U-Boot 2022.04):
https://www.nxp.com/webapp/sps/download/license.jsp?colCode=L6.1.1_1.0.0_BOOT_8M

Reproduction steps on  i.MX8MQ EVK board :
1) Flash the firmware on the emmc with UUU
2) Flash the ACS (same version as in the certificate) on the sdcard
3) Follow the steps for clearing the emmc RPMB memory from the errata document
=> boot from emmc with the sdcard present.

Log error in u-boot:
> Unable to open OP-TEE session (err=-5)
> mm_communicate failed!
> Error: Cannot initialize UEFI sub-system, r = 3
> Found EFI removable media binary efi/boot/bootaa64.efi
> 906752 bytes read in 12 ms (72.1 MiB/s)
> Error: Cannot initialize UEFI sub-system, r = 3
> EFI LOAD FAILED: continuing...

It seems that the firmware delivered is not able to access the emmc rpmb storage from Optee (probably missing MmStandaloneRpmb  ).

Remark: Latest BSP 6.1.55 seems to provide stmm firmware.

├── LF_v6.1.55-2.2.0_boot_IMX-SystemReady-IR-certified
│   ├── imx-boot-imx8mmevk-sd.bin-flash_evk
│   ├── imx-boot-imx8mnevk-sd.bin-flash_evk
│   ├── imx-boot-imx8mpevk-sd.bin-flash_evk
│   ├── imx-boot-imx8mqevk-sd.bin-flash_evk
│   ├── imx-boot-imx93evk-sd.bin-flash_singleboot
│   ├── SCR-6.1.55-2.2.0.txt
│   └── stmm_capsule
│       ├── imx-boot-imx8mmevk-sd.bin-flash_evk_stmm_capsule
│       ├── imx-boot-imx8mnevk-sd.bin-flash_evk_stmm_capsule
│       ├── imx-boot-imx8mpevk-sd.bin-flash_evk_stmm_capsule
│       ├── imx-boot-imx8mqevk-sd.bin-flash_evk_stmm_capsule
│       ├── imx-boot-imx93evk-sd.bin-flash_singleboot_stmm_capsule


but sadly, the firmware provided for imx8mq doesn't work with the EVK as it is expecting an WEVK.

U-Boot SPL 2023.04-lf_v2023.04+g49b102d988 (Nov 21 2023 - 07:28:53 +0000)
PMIC:  PFUZE100 ID=0x10
Fail to detect WEVK board but 4GB DDR is enabled

resetting ...


@karina_valencia: Peng Fan might be aware of the SystemReady status.

My guess is that the firmware deployed on the NXP release page, hasn't been build with the proper imx-mkimage option:
https://github.com/nxp-imx/imx-mkimage/commit/bd068a50533c972365d6516313e5e9b9382759b2
'flash_evk_stmm'

Best Regards,
Julien

Labels (1)
0 Kudos
Reply
2 Replies

54 Views
tauffique
Contributor I

while booting the image i am getting this error:

U-Boot SPL 2024.04+g674440bc73e+p0 (Jun 06 2024 - 10:05:34 +0000)
PMIC: PFUZE100 ID=0x10
Fail to detect WEVK board but 4GB DDR is enabled ..please help me

0 Kudos
Reply

332 Views
jimmychan
NXP TechSupport
NXP TechSupport

Hello,

 

Our AE could reproduce the problem with the steps you provided.I will update you when I get any new updates.

 

Best regards,

Jimmy

0 Kudos
Reply