We have already explained in the documentation how to use Device Tree Overlays.
Update System
You can refer to this document.
Configure DTS Overlays
1.open/boot/env.txt
film:
khadas@khadas:~$ sudo vim /boot/enc.txt |
uart3 pwm_f i2c3 os08a10
are enabled by default.
2.addotg-device
tooverlays
node to make USB OTG Device enable:
overlays=uart3 pwm_f i2c3 os08a10 --> overlays=uart3 pwm_f i2c3 os08a10 otg-device |
Enable service
khadas@khadas:~$ sudo systemctl enable usb-gadget-khadas.service |
Save film and reboot the board
khadas@khadas:~$ sync |