Using DTB Overlay Dynamically
The system support loading DTB overlay dynamically when the board is
running.
mount -t configfs none /sys/kernel/config
mkdir -p /sys/kernel/config/device-tree/overlays/dtoverlay
cd <the dtoverlay.dtbo path>
cat vf2-overlay-uart3-i2c.dtbo > /sys/kernel/config/device-tree/overlays/dtoverlay/dtbo
Besides, you could use the following command to remove the DTBO (Device Tree Blob for
Overlay)
feature:
rmdir /sys/kernel/config/device-tree/overlays/dtoverlay