Hello everyone,
I ran into an issue after installing Linux version fsimx8ulp-Y2025.09-pre on the A35. When debugging applications for the M33 core via VS Code, I consistently hit a HardFault. This happens not only with projects that previously worked under the older Linux release, but also with the standard example projects.
The HardFault occurs during the call from BOARD_BootClockRun → UPOWER_Init(NULL) (clock_config.c::251), specifically at the line: UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err, &ret, 0); (fsl_upower.c::227).
I also noticed that if I flash the m33_image of the same test project using uuu, the M33 core debugging works fine. However, in that case new Linux fails to boot, i attached the log as files.
My suspicion is that I might be using the wrong set of files when building mkimage. According to the Getting Started with MCUXpresso SDK for EVK-MIMX8MP guide (page 9, step 4), it says:
"Get imx-mkimage, s400 firmware (mx8ulpa2-ahab-container.img), OP-TEE (tee.bin), upower firmware (upower.bin), uboot-spl (u-boot-spl.bin), uboot (u-boot.bin), and TF-A (bl31.bin) from the Linux release package."
I am using the files from the latest Linux release, except for u-boot-spl.bin and u-boot.bin (since I couldn’t find them in the release package, I kept the older ones). Unfortunately, the behavior remains the same:
Right after flashing, Linux boots, but M33 debugging fails with the HardFault mentioned above.
If I flash only the M33 firmware via uuu, debugging works fine, but Linux does not fully start.
Question: Could this be caused by a mismatch in the files used for mkimage? Or is there another root cause I should be looking into?