[PATCH] usb: ehci: Fix "EHCI timed out on TD - token=XXXX" error on ehci-hcd

Marek Vasut marex at denx.de
Mon Mar 2 01:39:49 CET 2020


On 3/2/20 12:04 AM, Tom Rini wrote:
[...]

>>> 3 USB Device(s) found
>>>        scanning usb for ethernet devices... 0 Ethernet Device(s) found
>>> Hit any key to stop autoboot:  2  0 
>>> BeagleBoard # usb tree
>>> USB device tree:
>>>   1  Hub (480 Mb/s, 0mA)
>>>   |  u-boot EHCI Host Controller 
>>>   |
>>>   |+-2  Hub (480 Mb/s, 2mA)
>>>     |
>>>     |+-3  See Interface (480 Mb/s, 0mA)
>>>          ??????????? ??????????? ???????????
>>>        
>>> BeagleBoard # 
>>>
>>> Note that the hub and ethernet are on-SBC and not something I'm plugging
>>> in.  Thanks!
>>
>> The device #3 is a usb mass storage or what is it ?
> 
> It's a usb ethernet device.
> 
>> Can you try and implement usb_get_max_xfer_size for musb and make it
>> report 240*512 unconditionally (*size = 240*512; return 0;) ? I think
>> that would "fix" it for you on omap too.
> 
> I'll pencil in some time to try that, thanks.

That's not gonna help you with USB ethernet. I recall seeing flakiness
with asix devices, maybe that's what you're running into?

Do you have any further details on that device ? lsusb -vvv would help.


More information about the U-Boot mailing list