AnsweredAssumed Answered

LS1021a TWR USB flash drive support

Question asked by Leonid Andronov on Feb 23, 2018

I am using TWR-ls1021a boards and get errors when I try to connect USB flash drives to them. USB2.0 flash drives give such console output 

Buffer I/O error on device sda, logical block 0
usb 1-1.1.4: reset high-speed USB device number 55 using xhci-hcd
xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep bdaaca00
xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep bdaaca2c

an so on... Or such storages can be not recognized at all.

Some USB3.0 drives work good. I can mount them, read and write data (usually Transcend are good). But others can hang system or not to be recognized as storage. Actually USB flash drives shipped with the board (USB3.0, Netac) work not stable if I insert them to board. 

I ran several boards with shipped software or load my own rootfs/kernel built in 1.7 SDK and got same issue. 

At the same time in Uboot  'usb start' command shows USB2.0 flash drive as a storage and cannot find USB3.0 flash drives with "cannot reset port 2!?" 

Can I do something with it?

Outcomes