[Buildroot] USB on rock64

Arnout Vandecappelle arnout at mind.be
Sun Nov 17 16:06:26 UTC 2019



On 14/11/2019 16:28, no-one-you-know wrote:
> Hopefully it's OK to send generic questions here.

 It's OK, but don't expect answers :-)

 It would have been a good idea to include the original contributer of the
rock64_defconfig in Cc - I've done that now.

> I've built an image (glibc/systemv/eudev) for my Rock64 and according to the
> announcement on this mailing list USB should be working.
> 
> And according to dmesg and lsusb, it is (as far as I can tell):
> 
> # dmesg|grep -i usb
> [    0.214216] usbcore: registered new interface driver usbfs
> [    0.214315] usbcore: registered new interface driver hub
> [    0.214416] usbcore: registered new device driver usb
> [    0.370304] dwc2 ff580000.usb: ff580000.usb supply vusb_d not found, using
> dummy regulator
> [    0.371105] dwc2 ff580000.usb: Linked as a consumer to regulator.0
> [    0.371660] dwc2 ff580000.usb: ff580000.usb supply vusb_a not found, using
> dummy regulator
> [    0.385485] dwc2 ff580000.usb: DWC OTG Controller
> [    0.385935] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
> [    0.386593] dwc2 ff580000.usb: irq 26, io mem 0xff580000
> [    0.387932] hub 1-0:1.0: USB hub found
> [    0.389294] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    0.393296] ehci-platform ff5c0000.usb: EHCI Host Controller
> [    0.393846] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus
> number 2
> [    0.394921] ehci-platform ff5c0000.usb: irq 27, io mem 0xff5c0000
> [    0.409477] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
> [    0.410839] hub 2-0:1.0: USB hub found
> [    0.412098] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> [    0.414038] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
> [    0.414655] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus
> number 3
> [    0.415676] ohci-platform ff5d0000.usb: irq 28, io mem 0xff5d0000
> [    0.478393] hub 3-0:1.0: USB hub found
> [    0.480137] usbcore: registered new interface driver usb-storage
> [    0.590386] usbcore: registered new interface driver usbhid
> [    0.590882] usbhid: USB HID core driver
> 
> # lsusb
> Bus 003 Device 001: ID 1d6b:0001
> Bus 002 Device 001: ID 1d6b:0002
> Bus 001 Device 001: ID 1d6b:0002
> 
> But when I plug a USB flash drive in, nothing is detected.  Both lsusb and
> re-running dmesg show no change - like nothing is there

 Have you tried with other devices? USB3 flash drives don't always work well in
USB2 ports (yes, they should, but they don't...). A mouse is often a much better
device for testing.

 Regards,
 Arnout

> 
> Is this something I've left out of the 'target packages' selection?  How can I
> troubleshoot this further?
> 
> Thanks
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 


More information about the buildroot mailing list