First of all, there is no overlay file named “rk3308-usb20-host” in my /boot/dtbs/4.4.143-48-rockchip-geacd15ae244f/rockchip/overlay folder
This I can understand because my Kernel version is 4.4.143-48 but the guide you mentioned recommends version >=4.4.143-51.
So I followed the commands mentioned at https://wiki.radxa.com/RockpiS/Debian#Update_necessary_packages
but again it failed the kernel update command “sudo apt-get install -y linux-4.4-rockpis-latest” mid-process with the error that the required file was not found in the repository (shown in below image)
sudo su
apt-get update
apt-get install linux-4.4-rockpis-latest
And the following information should be shown.
root@rockpis:/home/rock# apt-get install linux-4.4-rockpis-latest
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
linux-firmware-image-4.4.143-51-rockchip-gb2a02deb3cbd linux-headers-4.4.143-51-rockchip-gb2a02deb3cbd
linux-image-4.4.143-51-rockchip-gb2a02deb3cbd
The following NEW packages will be installed:
linux-firmware-image-4.4.143-51-rockchip-gb2a02deb3cbd linux-headers-4.4.143-51-rockchip-gb2a02deb3cbd
linux-image-4.4.143-51-rockchip-gb2a02deb3cbd
The following packages will be upgraded:
linux-4.4-rockpis-latest
1 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.9 MB of archives.
After this operation, 107 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Just a question - does using USB OTG in Host mode on Pi S works on the latest images with kernel 6.1? I don’t see any specific overlay in the images here https://github.com/radxa-build/rock-pi-s/releases
Thank you for this, @kolsi. I’m looking to try this on Armbian, do you have a link to the full process of adding this overlay? I assume once created it could be referenced in armbianEnv.txt ?
Also, dr_mode is currently set to “peripheral” in the RK3308 overlay. If it were set to otg instead of host would the port then be auto-detecting?
It looks like, I would create a file called something like rk3308-usb-otg.dts in the /boot/overlay-user folder, with the contents you wrote above.
execute armbian-add-overlay rk3308-usb-otg.dts
reboot