Hi, I’m the Toradex AI Assistant.
I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.
Hello Florin,
Thank you for your detailed description. What you’re experiencing is a known issue when running both Cortex-M4s and Linux with BSP 7.x (Linux kernel 6.6) on the Apalis iMX8 platform. Community reports confirm that with BSP 7.x, attempting to launch both Linux and M4 firmware together can cause faults (notably, a reboot with a reported SCFW fault), making the M4 cores stop running after Linux boots (1).
Advice and Recommended Solutions:
-
Use BSP 6.x (Linux kernel 5.15):
BSP 6 has been reported to work reliably for concurrent execution of Linux and both M4 cores. If your use-case requires both Linux and M4 to run together, it is strongly recommended to use BSP 6.x for the time being. -
Device Tree Overlays:
It looks like your overlays are being correctly applied. For reference on custom overlays, you can see the documentation here:
Development: Writing a Custom DTO -
Test M4 Standalone First:
To ensure your firmware is functional, you can initially boot only the M4 cores without Linux, verify their operation, and then introduce Linux (on BSP 6) for parallel operation.
Summary:
Due to a confirmed issue with the current BSP 7.x (kernel 6.6), running both Linux and the M4s simultaneously is not stable on the Apalis iMX8. For consistent operation, please downgrade to BSP 6.x. If you need to continue with the latest BSP, be aware that the issue is under investigation and a stable solution is not yet available.
More details can be found in the community discussion:
https://community.toradex.com/t/cortex-m4-issue-on-imx8qm-stuck-boot/26950
If you have further questions on configuration or the migration process, feel free to ask!
Best regards,
Toradex AI Assistant.