enabled debug in xhci driver and see a usb timeout message:
[ 3.478969] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 3.484461] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 5
[ 3.492121] xhci-hcd xhci-hcd.2.auto: Resetting HCD
[ 3.492144] xhci-hcd xhci-hcd.2.auto: Reset complete
[ 3.492147] xhci-hcd xhci-hcd.2.auto: Enabling 64-bit DMA addresses.
[ 3.492150] xhci-hcd xhci-hcd.2.auto: Calling HCD init
[ 3.492179] xhci-hcd xhci-hcd.2.auto: Called HCD init
[ 3.492183] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010810
[ 3.501586] xhci-hcd xhci-hcd.2.auto: irq 48, io mem 0x03100000
[ 3.507782] xHCI xhci_add_endpoint called for root hub
[ 3.507784] xHCI xhci_check_bandwidth called for root hub
[ 3.515685] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 3.521174] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 6
[ 3.528830] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[ 3.535564] xHCI xhci_add_endpoint called for root hub
[ 3.535566] xHCI xhci_check_bandwidth called for root hub
[ 3.594548] xhci-hcd xhci-hcd.0.auto: // Ding dong!
[ 8.718548] xhci-hcd xhci-hcd.0.auto: Command timeout
[ 8.718557] xhci-hcd xhci-hcd.0.auto: Abort command ring
[ 10.734665] xhci-hcd xhci-hcd.0.auto: No stop event for abort, ring start fail?
[ 10.734693] xhci-hcd xhci-hcd.0.auto: Error while assigning device slot ID
[ 10.741597] xhci-hcd xhci-hcd.0.auto: Max number of devices this xHCI host supports is 127.
I also verified I can access mass storage device from u-boot:
=> usb start
starting USB...
USB0: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
USB1: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
USB2: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
=> usb treed
USB device tree:
1 Hub (5 Gb/s, 0mA)
| U-Boot XHCI Host Controller
|
+-2 Mass Storage (480 Mb/s, 300mA)
TOSHIBA USB FLASH DRIVE B62B68AF5668E1508000959E
1 Hub (5 Gb/s, 0mA)
U-Boot XHCI Host Controller
1 Hub (5 Gb/s, 0mA)
U-Boot XHCI Host Controller
=> usb info
1: Hub, USB Revision 3.0
- U-Boot XHCI Host Controller
- Class: Hub
- PacketSize: 512 Configurations: 1
- Vendor: 0x0000 Product 0x0000 Version 1.0
Configuration: 1
- Interfaces: 1 Self Powered 0mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms
2: Mass Storage, USB Revision 2.0
- TOSHIBA USB FLASH DRIVE B62B68AF5668E1508000959E
- Class: (from Interface) Mass Storage
- PacketSize: 64 Configurations: 1
- Vendor: 0x0930 Product 0x6545 Version 1.16
Configuration: 1
- Interfaces: 1 Bus Powered 300mA
Interface: 0
- Alternate Setting 0, Endpoints: 2
- Class Mass Storage, Transp. SCSI, Bulk only
- Endpoint 1 In Bulk MaxPacket 512
- Endpoint 2 Out Bulk MaxPacket 512
1: Hub, USB Revision 3.0
- U-Boot XHCI Host Controller
- Class: Hub
- PacketSize: 512 Configurations: 1
- Vendor: 0x0000 Product 0x0000 Version 1.0
Configuration: 1
- Interfaces: 1 Self Powered 0mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms
1: Hub, USB Revision 3.0
- U-Boot XHCI Host Controller
- Class: Hub
- PacketSize: 512 Configurations: 1
- Vendor: 0x0000 Product 0x0000 Version 1.0
Configuration: 1
- Interfaces: 1 Self Powered 0mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms
So now hardware issue but certainly looks like a linux kernel problem.
Any takers?