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.
Did you like my answer?

Device Tree Overlay Persistence with Torizon OS Updates
You’ve identified a critical issue with device tree overlays being reset during OTA updates. The solution is to use TorizonCore Builder for production deployments rather than manually modifying the overlays.txt file.
The Problem with Manual overlays.txt Modifications
The approach of manually editing overlays.txt is intended for evaluation and prototyping only (1). When you manually modify this file, OTA updates will reset it because the file is part of the OS image being updated.
Recommended Production Solution: TorizonCore Builder
For development and production, you should use TorizonCore Builder to build custom Torizon OS images with your required overlays pre-configured (2).
Step 1: Install TorizonCore Builder
Follow the installation steps for TorizonCore Builder (2).
Step 2: Create a Configuration File
Create a tcbuild.yaml file that specifies your required overlays (2):
input:
easy-installer:
local: torizon-core-docker-colibri-imx8x-Tezi_X.X.X+build.X.tar
customization:
device-tree:
include-dirs:
- device-trees/include/
overlays:
add:
- device-trees/overlays/colibri-imx8x_dsihdmi_overlay.dts
- device-trees/overlays/colibri-imx8x_hmp_overlay.dts
output:
easy-installer:
local: torizon-core-docker-colibri-imx8x-Tezi_CUSTOM
(2)
Step 3: Clone Required Repositories
Get the device tree source files (2):
$ git clone -b toradex_6.6-2.2.x-imx git://git.toradex.com/linux-toradex.git linux
$ git clone -b toradex_6.6-2.2.x-imx git://git.toradex.com/device-tree-overlays.git device-trees
(2)
Step 4: Build Your Custom Image
$ torizoncore-builder build
(2)
Available Pre-enabled Overlays
For Colibri iMX8X, the following overlays are pre-enabled by default (3):
| Module |
Supported Peripherals |
Overlays |
| Colibri iMX8X |
VGA |
colibri-imx8x_vga-640x480_overlay.dtbo |
Available Overlays for Your Use Case
Based on your requirements, these overlays are available (3):
- DSI to HDMI:
colibri-imx8x_dsihdmi_overlay.dtbo (3)
- HMP (RPMSG):
colibri-imx8x_hmp_overlay.dtbo (3)
Why This Approach Works
When you build a custom image with TorizonCore Builder:
- The overlays are permanently integrated into the custom OS image
- OTA updates using your custom image will maintain the overlay configuration
- Rollbacks will work correctly because both old and new images have the same overlay configuration
- You avoid the continuous reboot cycle you’re experiencing
Emergency Recovery
If you need to disable overlays temporarily (for recovery), you can set the U-Boot environment variable skip_fdt_overlays to 1 (1):
setenv skip_fdt_overlays 1
boot
(1)
This approach ensures your critical overlays (DSI-HDMI and RPMSG) remain intact through OTA updates and rollbacks, preventing the reboot cycle you’re experiencing.
Best regards, Toradex AI Assistant.