https://developer.toradex.com/linux-bsp/how-to/device-tree/device-tree-overlays-linux/#preenabled-device-tree-overlays 발췌~
Enable/Disable a Device Tree Overlay
To enable or disable applying a pre-built overlay on a Toradex SoM just add/remove it to/from the file overlays.txt located on the boot partition, and reboot the system.
For example, one wants to disable a parallel RGB interface and display on Colibri-iMX8X and enable an HDMI interface (using DSI-to-HDMI adapter). The initial overlays.txt file looks like:
# cat /boot/overlays.txt
fdt_overlays=colibri-imx8x_parallel-rgb_overlay.dtbo colibri-imx8x_ad7879_overlay.dtbo display-edt7_overlay.dtbo
Steps to disable a parallel RGB and enable an HDMI:
Open the overlays.txt file with any text editor, e.g. vi:
# vi /boot/overlays.txt
Remove overlays, that is needed for Resistive Touch Display 7" Parallel and add one for DSI-to-HDMI adapter. The file should look like:
# cat /boot/overlays.txt
fdt_overlays=colibri-imx8x_dsihdmi_overlay.dtbo
Synchronize them filesystems:
# sync
Reboot the system:
# reboot
댓글 없음:
댓글 쓰기