I am trying OpenWrt on an OrangePi R1 board with a Expansion board with two usb hubs.
Image file in the vendor site at http://www.orangepi.org/downloadresources/ is pretty outdated but when I use it, my USB Alfa (AWUS036NH) card get detected and create a wlan interface which works fine.
with the latest image (19.07.2) from openwrt download page (sun8i-h2-plus-orangepi-r1-ext4-sdcard.img.gz), anything I plug in to the USB is not getting detected. lsusb output is like this.
---Vendor image---
root@OpenWrt:~# lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0bda:8152 Realtek Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
---OpenWrt Image---
root@OpenWrt:~# lsusb
Bus 003 Device 002: ID 0bda:8152 Realtek Semiconductor Corp. RTL8152 Fast Ethernet Adapter
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I have tried...
going back on few versions on the images from OpenWrt download site includion version 18
mimicking the usb packages installed in the vendor image to the OpenWrt image and rebooting the device
what should I do to get the usb port detecting the things that are plugged in to them in my Orange Pi R1? should this require a kernel modification?
Thanks for that, I have a build environment configured and ran a successful compile for the Orange Pi R1. Now I have two new problems.
Device Tree is pretty new to me and I start looking up for it after the previous reply.
should I be using the binary generated by the build at ./package/feeds/packages/dtc for this?
I only found the following two paths with the name dtb in it but the header files in there are empty. Where should I be looking for the relevent device tree configurations for the board?
the build with the default configurations for the board (I have selected this correctly in menuconfig) compiles without errors but does not bring up the board. is there a way for me to get the .conf file used for the builds available in the download page?
Target System (Allwinner A1x/A20/A3x/R40)
Subtarget (Allwinner A20/A3x/R40)
Target Profile (Xunlong Orange Pi R1)
Will I have to move this question to developer section?