You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to configure USB OTG port of Orange Pi 5 to peripheral mode which is by default set to OTG.
I created overlay
/dts-v1/; /plugin/; / { compatible = "rockchip,rk3588s-orangepi-5", "rockchip,rk3588s"; fragment@0 { target = <&usbdrd_dwc3_0>; // Using the label from device tree overlay { dr_mode = "peripheral"; }; }; };
compiled it with
dtc -@ -I dts -O dtb rk3588s-usb-peripheral.dts -o rk3588s-usb-peripheral.dtbo
and copied it to
sudo cp rk3588s-usb-peripheral.dtbo /usr/lib/firmware/6.1.0-1025-rockchip/device-tree/rockchip/overlay/rk3588-usb-peripheral.dtbo
Updated /etc/default/u-boot file as follows
/etc/default/u-boot - configuration file for u-boot-update(8)
#U_BOOT_UPDATE="true"
#U_BOOT_ALTERNATIVES="default recovery"
#U_BOOT_DEFAULT="l0"
#U_BOOT_PROMPT="1"
#U_BOOT_ENTRIES="all"
#U_BOOT_MENU_LABEL="Debian GNU/Linux"
#U_BOOT_PARAMETERS="ro earlycon"
#U_BOOT_ROOT=""
#U_BOOT_TIMEOUT="50"
#U_BOOT_FDT=""
#U_BOOT_FDT_DIR="/lib/firmware/"
U_BOOT_FDT_OVERLAYS="device-tree/rockchip/overlay/rk3588s-usb-peripheral.dtbo"
#U_BOOT_FDT_OVERLAYS_DIR="/lib/firmware/6.1.0-1025-rockchip/"
#U_BOOT_SYNC_DTBS="false"
Updated the u-boot using
sudo u-boot-update
After reboot, still there is no change in the device-tree.
Can someone help on how to update the usb c in peripheral mode.
Beta Was this translation helpful? Give feedback.
All reactions