can't reproduce XHCI hang in Rock Pi 4

Xavier Drudis Ferran xdrudis at tinet.cat
Fri Mar 3 18:47:44 CET 2023


I'm sorry but I haven't been able to reproduce your issue.


El Fri, Mar 03, 2023 at 11:26:46AM +0100, Xavier Drudis Ferran deia:
> El Fri, Mar 03, 2023 at 10:42:20AM +0100, Christoph Fritz deia:
> 
> Unfortunately I don't think I have any usb-ethernet dongle here to test...
> 
[...]
> > => usb stop
> > stopping USB..
> > => usb start
> > starting USB...
> > Bus usb at fe380000: USB EHCI 1.00
> > Bus usb at fe3c0000: USB EHCI 1.00
> > Bus usb at fe800000: Register 2000140 NbrPorts 2
> > Starting the controller
> > USB XHCI 1.10
> > Bus usb at fe900000: Register 2000140 NbrPorts 2
> > Starting the controller
> > USB XHCI 1.10
> > scanning bus usb at fe380000 for devices... 4 USB Device(s) found
> > scanning bus usb at fe3c0000 for devices... 1 USB Device(s) found
> > scanning bus usb at fe800000 for devices... 3 USB Device(s) found
> > scanning bus usb at fe900000 for devices... 1 USB Device(s) found
> >        scanning usb for storage devices... 0 Storage Device(s) found
> > => usb tree
> > USB device tree:
> >   1  Hub (480 Mb/s, 0mA)
> >   |  u-boot EHCI Host Controller
> >   |
> >   +-2  Hub (480 Mb/s, 100mA)
> >     |   USB2.0 Hub
> >     |
> >     +-3  Hub (480 Mb/s, 0mA)
> >     |    VIA Labs, Inc.          USB2.0 Hub
> >     |
> >     +-4  Human Interface (12 Mb/s, 400mA)
> >          ILITEK ILITEK-TP
> > 
> >   1  Hub (480 Mb/s, 0mA)
> >      u-boot EHCI Host Controller
> > 
> >   1  Hub (5 Gb/s, 0mA)
> >   |  U-Boot XHCI Host Controller
> >   |
> >   +-2  Hub (5 Gb/s, 0mA)
> >     |  VIA Labs, Inc.          USB3.0 Hub
> >     |
> >     +-3  Vendor specific (5 Gb/s, 36mA)
> >          Realtek USB 10/100/1000 LAN 00E04C68034E
> > 
> >   1  Hub (5 Gb/s, 0mA)
> >      U-Boot XHCI Host Controller
> >
> 

I tried with a USB3 hub connected to a usb3 port, a sata
adapter connected to the USB3 hub, and a SATA disk connected to the
SATA adapter, and I could read the disk.

The difference is that in my tree both the USB2 and the USB 3 hub
hang from the XHCI controller, not one from EHCI and one from XHCI.

This with my v5 patches on top of 4eb7c5030d3f3c70 (2023-02-19) and some
minor config changes that don't seem to matter.


=> usb start
starting USB...
Bus usb at fe380000: USB EHCI 1.00
Bus usb at fe3c0000: USB EHCI 1.00
Bus usb at fe800000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus usb at fe900000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb at fe380000 for devices... 1 USB Device(s) found
scanning bus usb at fe3c0000 for devices... 1 USB Device(s) found
scanning bus usb at fe800000 for devices... 4 USB Device(s) found
scanning bus usb at fe900000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
=> usb tree
USB device tree:
  1  Hub (480 Mb/s, 0mA)
     u-boot EHCI Host Controller 
   
  1  Hub (480 Mb/s, 0mA)
     u-boot EHCI Host Controller 
   
  1  Hub (5 Gb/s, 0mA)
  |  U-Boot XHCI Host Controller 
  |
  |+-2  Hub (5 Gb/s, 0mA)
  | |  GenesysLogic USB3.0 Hub 
  | |
  | |+-4  Mass Storage (5 Gb/s, 24mA)
  |      Prolific Technology Inc. ATAPI-6 Bridge Controller 0123456789000000005
  |    
  |+-3  Hub (480 Mb/s, 100mA)
       GenesysLogic USB2.0 Hub 
     
  1  Hub (5 Gb/s, 0mA)
     U-Boot XHCI Host Controller 
   
=> ls usb 0
<DIR>       4096 .
<DIR>       4096 ..
<DIR>      16384 lost+found
<DIR>       4096 var
<DIR>      12288 etc
[...]
=> usb stop
stopping USB..
=> usb start
starting USB...
Bus usb at fe380000: USB EHCI 1.00
Bus usb at fe3c0000: USB EHCI 1.00
Bus usb at fe800000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus usb at fe900000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb at fe380000 for devices... 1 USB Device(s) found
scanning bus usb at fe3c0000 for devices... 1 USB Device(s) found
scanning bus usb at fe800000 for devices... 4 USB Device(s) found
scanning bus usb at fe900000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
=> usb tree
USB device tree:
  1  Hub (480 Mb/s, 0mA)
     u-boot EHCI Host Controller 
   
  1  Hub (480 Mb/s, 0mA)
     u-boot EHCI Host Controller 
   
  1  Hub (5 Gb/s, 0mA)
  |  U-Boot XHCI Host Controller 
  |
  |+-2  Hub (480 Mb/s, 100mA)
  |    GenesysLogic USB2.0 Hub 
  |  
  |+-3  Hub (5 Gb/s, 0mA)
    |  GenesysLogic USB3.0 Hub 
    |
    |+-4  Mass Storage (5 Gb/s, 24mA)
         Prolific Technology Inc. ATAPI-6 Bridge Controller 0123456789000000005
       
  1  Hub (5 Gb/s, 0mA)
     U-Boot XHCI Host Controller 
   
=>

[no hang]

I don't know how to help, maybe just try to increase log verbosity or something...

Sorry

--
Xavier Drudis Ferran


More information about the U-Boot mailing list