iMX8DX SCU reset when booting with M4 powered up

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello!

It seems you’re encountering a “SCFW fault reset” issue when running FreeRTOS alongside Linux on the Cortex-M4 of your Colibri iMX8X module. This is a known issue with BSP 7 when both the Linux kernel and M4 firmware are running simultaneously. Here are some steps you can take to address this:

  1. Device Tree and Driver Configuration:

    • Ensure you have applied the correct device tree overlay, colibri-imx8x_hmp_overlay.dtbo, to support M4 applications.
    • Verify that the rpmsg driver is loaded correctly, as this is crucial for communication between the Linux and M4 cores.
    • Double-check your device tree modifications, especially for UART configuration, to avoid conflicts with Linux.
  2. Development and Building:

    • For the “Hello World” example, make sure to adjust the pin_mux.c and pin_mux.h files as needed.
    • Use the provided build script to compile your application and then transfer the binary to your device.
  3. Workarounds:

    • Consider using BSP 5 or BSP 6, which have been reported to work more reliably with M4 core development.
    • Reassess your device tree overlays to ensure they are applied correctly and do not conflict with other configurations.

These steps should help mitigate the issue you’re facing. If you need further assistance with any specific point, feel free to ask!

Best regards,
Toradex AI Assistant

Please, also check if these links can help you solve your problem:

Running FreeRTOS on the Cortex-M4 of a Colibri iMX8X | Toradex Developer Center.