From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Issue with USB mass storage (thumb drives)
Date: Wed, 3 Feb 2016 12:12:46 +0100 [thread overview]
Message-ID: <201602031212.46650.marex@denx.de> (raw)
In-Reply-To: <56B1D323.4000702@exceet.de>
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@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 ?
> dev=4ffa58e0, pipe=c0008483, buffer=4f50a1a0, length=13, req=00000000
> TOKEN=0x8d00
> dev=4ffa58e0, pipe=c0010403, buffer=4f50a1c0, length=31, req=00000000
> TOKEN=0x80008c01
> dev=4ffa58e0, pipe=c0008483, buffer=18000000, length=33553920, req=00000000
> TOKEN=0x80009d00
> dev=4ffa58e0, pipe=c0008483, buffer=4f50a180, length=13, req=00000000
> TOKEN=0x8d00
> dev=4ffa58e0, pipe=c0010403, buffer=4f50a1c0, length=31, req=00000000
> TOKEN=0x8c01
> dev=4ffa58e0, pipe=c0008483, buffer=19fffe00, length=33553920, req=00000000
> EHCI timed out on TD - token=0xac008d80
> dev=4, usbsts=0x40088, p[1]=0x18001205, p[2]=0x0
> usb_control_msg: request: 0xFF, requesttype: 0x21, value 0x0 index 0x0
> length 0x0
> dev=4ffa58e0, pipe=80000403, buffer=00000000, length=0, req=4f50a100
> req=255 (0xff), type=33 (0x21), value=0 (0x0), index=0
> TOKEN=0x8d00
> usb_control_msg: request: 0x1, requesttype: 0x2, value 0x0 index 0x81
> length 0x0
> dev=4ffa58e0, pipe=80000403, buffer=00000000, length=0, req=4f50a0c0
> req=1 (0x1), type=2 (0x2), value=0 (0x0), index=129
> TOKEN=0x8d00
> usb_control_msg: request: 0x1, requesttype: 0x2, value 0x0 index 0x2
> length 0x0
> dev=4ffa58e0, pipe=80000403, buffer=00000000, length=0, req=4f50a0c0
> req=1 (0x1), type=2 (0x2), value=0 (0x0), index=2
> TOKEN=0x8d00
> dev=4ffa58e0, pipe=c0010403, buffer=4f50a1c0, length=31, req=00000000
> TOKEN=0x80008c01
> dev=4ffa58e0, pipe=c0008483, buffer=4ffb6d40, length=18, req=00000000
> TOKEN=0x80008d00
> dev=4ffa58e0, pipe=c0008483, buffer=4f50a180, length=13, req=00000000
> TOKEN=0x8d00
Best regards,
Marek Vasut
next prev parent reply other threads:[~2016-02-03 11:12 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-02 10:35 [U-Boot] Issue with USB mass storage (thumb drives) Schrempf Frieder
2016-02-02 16:28 ` Fabio Estevam
2016-02-02 16:39 ` Marek Vasut
2016-02-03 7:40 ` Schrempf Frieder
2016-02-03 7:45 ` Hannes Schmelzer
2016-02-03 9:34 ` Marek Vasut
2016-02-03 9:40 ` Marek Vasut
2016-02-03 9:55 ` Fabio Estevam
2016-02-03 10:15 ` Schrempf Frieder
2016-02-03 11:12 ` Marek Vasut [this message]
2016-02-03 11:49 ` Schrempf Frieder
2016-02-03 16:40 ` Marek Vasut
2016-02-03 19:16 ` Sergei Temerkhanov
2016-02-04 8:21 ` Schrempf Frieder
2016-02-04 11:28 ` Marek Vasut
2016-02-08 8:41 ` Hannes Schmelzer
2016-02-08 14:58 ` Marek Vasut
2016-02-12 15:53 ` Simon Glass
2016-02-12 16:04 ` Hannes Schmelzer
2016-02-18 10:05 ` Schrempf Frieder
2016-02-18 15:32 ` Marek Vasut
2016-02-18 17:14 ` Fabio Estevam
2016-02-22 7:03 ` Schrempf Frieder
2016-02-22 17:51 ` Maxime Jayat
2016-02-22 17:59 ` Fabio Estevam
2016-02-23 6:38 ` Hannes Schmelzer
2016-02-24 17:43 ` Marek Vasut
2016-02-25 4:13 ` Simon Glass
2016-02-25 17:56 ` Marek Vasut
2016-02-26 1:56 ` Simon Glass
2016-04-14 13:20 ` Diego
2016-04-15 10:53 ` Marek Vasut
2016-04-15 12:13 ` Diego
2016-04-18 23:54 ` Marek Vasut
2016-04-25 8:16 ` Stefan Roese
2016-04-27 2:14 ` Marek Vasut
2016-04-27 9:04 ` Diego
2016-04-27 16:13 ` Marek Vasut
2016-04-28 13:04 ` Diego
2016-04-28 22:49 ` Marek Vasut
2016-04-29 7:58 ` Diego
2016-05-03 21:01 ` Marek Vasut
2016-05-04 9:13 ` Diego
2016-05-04 11:45 ` Marek Vasut
2016-05-04 14:06 ` Diego
2016-05-04 21:36 ` Marek Vasut
2016-05-10 12:04 ` Diego
2016-05-10 12:32 ` Marek Vasut
2016-05-20 5:07 ` Rajesh Bhagat
2016-05-20 11:52 ` Marek Vasut
2016-02-04 8:06 ` Schrempf Frieder
-- strict thread matches above, loose matches on Subject: below --
2016-10-14 9:01 Michael Kasprowicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201602031212.46650.marex@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox