Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
Thank you for reaching out with your concerns. Let’s address each of your issues with Torizon OS 7.
Issue 1: Cortex-M4 Program Prevents System Booting
The boot issue with the Cortex-M4 program might be due to changes in Torizon OS 7. Here are some steps to consider:
-
Compatibility Check: Verify that your M4 firmware is compatible with Torizon OS 7. Changes in the bootloader or kernel might affect M4 initialization.
-
Configuration Review: Double-check your U-Boot configuration, ensuring memory regions and boot parameters are correctly set for the new OS version.
-
Logs and Debugging: Try to capture any boot logs or error messages when the M4 program is loaded. These logs can provide insights into the reboot issue.
-
Example Programs: Since the Hello World example also fails, check for any updates or patches in the MCUXpresso SDK that might address compatibility with Torizon OS 7.
Issue 2: SPI Device Missing Under /sys/bus/spi/devices
For the missing SPI device, consider the following:
-
Device Tree Overlay: Ensure your device tree overlay is correctly applied. There might be changes in the overlay format or requirements in Torizon OS 7.
-
Kernel Changes: Review any changes in the kernel configuration or SPI driver support that might affect SPI device registration.
-
SPI Configuration: Confirm that the SPI bus and devices are correctly configured in the device tree, with the status set to “okay.”
-
Testing with Containers: If using containers, ensure the SPI device is accessible within the container. You may need to adjust permissions or use the
--device
flag to expose the SPI device.
I hope these suggestions help you resolve the issues with your Cortex-M4 and SPI device on Torizon OS 7. If you have further questions, feel free to ask.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem: