I’d like to use OTG on the BPI-R2, preferably with OpenWRT, but some other Linux would be fine. I installed the appropriate kmod packages on the latest OpenWRT snapshot (kernel version 5.15.145) and tried commands like:
modprobe g_mass_storage file=/tmp/mass
Modprobe doesn’t return an error, but I see this kernel error:
udc-core: couldn't find an available UDC - added [g_mass_storage] to list of pending drivers
I tried rebuilding OpenWRT and explicitly enabled the USB gadget kernel modules using make kernel_menuconfig and got the same error.
I read this post from last year, but don’t fully understand what was discussed with DTS.