[U-Boot] Issue with USB mass storage (thumb drives)

Schrempf Frieder frieder.schrempf at exceet.de
Wed Feb 3 12:49:20 CET 2016


On 03.02.2016 12:12, Marek Vasut wrote:
> On Wednesday, February 03, 2016 at 11:15:00 AM, Schrempf Frieder wrote:
>> On 03.02.2016 10:55, Fabio Estevam wrote:
>>> On Wed, Feb 3, 2016 at 7:40 AM, Marek Vasut <marex at denx.de> wrote:
>>>> In that case, debug time.
>>>>
>>>> Usual problems are bad routing of the tracks on the board , so try with
>>>> USB 1.1 hub and if that works, that's your problem.
>>> Another suggestion would be to try the 100MB transfer in Linux and see
>>> if this works or not.
>>>
>>> That would help us to narrow down whether this is a hardware or
>>> software problem.
>> Thank you Marek and Fabio for your input!
>>
>> I tried the file transfer in Linux and this seems to work fine.
>> Also we have been using this hardware for quite some time, also with USB
>> mass storage and large files in Linux and I can't remember any problems.
>> For these reasons I think that the hardware is ok.
>>
>> I added the DEBUG defines and here are the lines around one of the
>> timeouts. With my very limited knowledge of how usb works, I can't read
>> much from those messages:
> It'd help if you shared your patch and the whole output. That way we can
> check if something goes wrong at the beginning.
>
> I wonder if we might be facing some misconfiguration of the USB PHY here ?
>
> I don't have a MX6Solo . Fabio, any chance you can try ?

Here is the debug log for "usb reset": http://paste.ubuntu.com/14865306/
And here the log for the file transfer (different thumb drive and 
therefore different messages than posted before): 
http://paste.ubuntu.com/14865349/

The only changes to U-Boot I made is adding my board configuration 
(derived from Freescale SabreSD config).
The only difference from the SabreSD config related to USB is, that I 
have set CONFIG_USB_MAX_CONTROLLER_COUNT to 2 instead of 1.


More information about the U-Boot mailing list