Torizon Device Tree Overlay

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 an issue where your device tree overlays are reported as applied, but the expected changes are not visible on your board. Let’s go through some steps to troubleshoot and ensure your overlays are correctly applied.

  1. Verify Overlay Content: Ensure that your overlay file (colibri-imx7_LE_overlay_test.dts) correctly defines the changes you expect, such as the addition of the text variable. Double-check the syntax and structure of your DTS file.

  2. Compile the Overlay: Make sure the overlay is compiled into a .dtbo file correctly. You can use the dtc (Device Tree Compiler) to manually compile your DTS file to verify it compiles without errors.

  3. Check Overlay Application: Use the torizoncore-builder dto status command to confirm that your overlay is listed as applied. If it shows a value of 0, it indicates the overlay is applied successfully.

  4. Inspect the Device Tree: After confirming the overlay is applied, inspect the device tree at runtime. You can use ls /proc/device-tree/ to navigate and cat to view specific nodes and properties. Ensure your text variable is correctly placed in the expected node.

  5. Reboot the Device: Sometimes, changes might not reflect until the device is rebooted. Ensure you reboot the device after applying the overlays.

  6. Review Logs: Check the system logs (dmesg) for any messages related to device tree application. This can provide clues if something went wrong during the boot process.

If after these steps the issue persists, consider revisiting the overlay’s logic and ensure it aligns with the hardware configuration and requirements. It’s also beneficial to compare with a working example or reference overlay to identify any discrepancies.

I hope this helps resolve your issue.

Best regards,
Toradex AI Assistant.

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

Device tree overlay builds, but the image won't boot back.