From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Issue with USB mass storage (thumb drives)
Date: Tue, 03 May 2016 23:01:10 +0200 [thread overview]
Message-ID: <57291196.9030901@denx.de> (raw)
In-Reply-To: <6761027.omEggy50Dr@localhost.localdomain>
On 04/29/2016 09:58 AM, Diego wrote:
> In data venerd? 29 aprile 2016 00:49:22, Marek Vasut ha scritto:
>>
>> Urgh, so you seem to have third revision of this stick. I have two
>> sticks which are exactly the same and work in U-Boot on MX6 wandboard:
>>
>
> Hi Marek,
>
> how big is the file you're trying to load?
> For me it fails for files bigger than 16MB:
Ha ok, I see it now. According to the bus analyzer, the stick Acks long
block transfer, but then just times out, I guess because it prepares the
data or something. Just a dummy question, did you try reducing
USB_MAX_XFER_BLK ? Try with 4096 instead of 65536 , that might work.
> U-Boot > usb info
> 1: Hub, USB Revision 2.0
> - u-boot EHCI Host Controller
> - Class: Hub
> - PacketSize: 64 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: Hub, USB Revision 2.0
> - Class: Hub
> - PacketSize: 64 Configurations: 1
> - Vendor: 0x0424 Product 0x2513 Version 11.179
> Configuration: 1
> - Interfaces: 1 Self Powered Remote Wakeup 2mA
> Interface: 0
> - Alternate Setting 0, Endpoints: 1
> - Class Hub
> - Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms
> - Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms
>
> 3: Mass Storage, USB Revision 2.0
> - Kingston DataTraveler SE9 0019E06B084BFD10470133E8
> - Class: (from Interface) Mass Storage
> - PacketSize: 64 Configurations: 1
> - Vendor: 0x0951 Product 0x1689 Version 1.0
> Configuration: 1
> - Interfaces: 1 Bus Powered 100mA
> 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
>
> U-Boot > load usb 0:1 0x10008000 file1.raw
> reading file1.raw
> 1048576 bytes read in 59 ms (16.9 MiB/s)
> U-Boot > load usb 0:1 0x10008000 file2.raw
> reading file2.raw
> 2097152 bytes read in 102 ms (19.6 MiB/s)
> U-Boot > load usb 0:1 0x10008000 file4.raw
> reading file4.raw
> 4194304 bytes read in 175 ms (22.9 MiB/s)
> U-Boot > load usb 0:1 0x10008000 file6.raw
> reading file6.raw
> 6291456 bytes read in 255 ms (23.5 MiB/s)
> U-Boot > load usb 0:1 0x10008000 file8.raw
> reading file8.raw
> 8388608 bytes read in 334 ms (24 MiB/s)
> U-Boot > load usb 0:1 0x10008000 file10.raw
> reading file10.raw
> 10485760 bytes read in 408 ms (24.5 MiB/s)
> U-Boot > load usb 0:1 0x10008000 file15.raw
> reading file15.raw
> 15728640 bytes read in 603 ms (24.9 MiB/s)
> U-Boot > load usb 0:1 0x10008000 file16.raw
> reading file16.raw
> EHCI timed out on TD - token=0x90008d80
> EHCI timed out on TD - token=0x10008d80
> EHCI timed out on TD - token=0x10008d80
> Error reading cluster
> ** Unable to read file file16.raw **
> U-Boot > load usb 0:1 0x10008000 file20.raw
> reading file20.raw
> EHCI timed out on TD - token=0xd0008d80
> EHCI timed out on TD - token=0x50008d80
> EHCI timed out on TD - token=0x50008d80
> Error reading cluster
> ** Unable to read file file20.raw **
> U-Boot > load usb 0:1 0x10008000 file40.raw
> reading file40.raw
> EHCI timed out on TD - token=0x1e008d80
> EHCI timed out on TD - token=0x1e008d80
> EHCI timed out on TD - token=0x1e008d80
> Error reading cluster
> ** Unable to read file file40.raw **
> U-Boot >
>
> Bests,
> Diego
>
--
Best regards,
Marek Vasut
next prev parent reply other threads:[~2016-05-03 21:01 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
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 [this message]
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=57291196.9030901@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.