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

2016-05-20 Thread Rajesh Bhagat
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Marek Vasut > Sent: Tuesday, May 10, 2016 6:02 PM > To: Diego <diego...@zoho.com> > Cc: u-boot@lists.denx.de; Stefan Roese <s...@denx.de> > Subject: Re: [U-Boot] Issu

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

2016-05-20 Thread Marek Vasut
@lists.denx.de; Stefan Roese <s...@denx.de> >> Subject: Re: [U-Boot] Issue with USB mass storage (thumb drives) >> >> On 05/10/2016 02:04 PM, Diego wrote: >>> In data mercoledì 4 maggio 2016 23:36:46, Marek Vasut ha scritto: >>>> On 05/04/2016 04:06 PM, Diego wrot

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

2016-05-10 Thread Marek Vasut
On 05/10/2016 02:04 PM, Diego wrote: > In data mercoledì 4 maggio 2016 23:36:46, Marek Vasut ha scritto: >> On 05/04/2016 04:06 PM, Diego wrote: >>> In data mercoledì 4 maggio 2016 13:45:57, Marek Vasut ha scritto: On 05/04/2016 11:13 AM, Diego wrote: > > So I see three options:

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

2016-05-10 Thread Diego
In data mercoledì 4 maggio 2016 23:36:46, Marek Vasut ha scritto: > On 05/04/2016 04:06 PM, Diego wrote: > > In data mercoledì 4 maggio 2016 13:45:57, Marek Vasut ha scritto: > >> On 05/04/2016 11:13 AM, Diego wrote: > >>> > >>> So I see three options: > >>> 1) 65535 default with quirk table >

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

2016-05-04 Thread Marek Vasut
On 05/04/2016 04:06 PM, Diego wrote: > In data mercoledì 4 maggio 2016 13:45:57, Marek Vasut ha scritto: >> On 05/04/2016 11:13 AM, Diego wrote: >>> In data martedì 3 maggio 2016 23:01:10, Marek Vasut ha scritto: On 04/29/2016 09:58 AM, Diego wrote: > For me it fails for files bigger than

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

2016-05-04 Thread Diego
In data mercoledì 4 maggio 2016 13:45:57, Marek Vasut ha scritto: > On 05/04/2016 11:13 AM, Diego wrote: > > In data martedì 3 maggio 2016 23:01:10, Marek Vasut ha scritto: > >> On 04/29/2016 09:58 AM, Diego wrote: > >>> For me it fails for files bigger than 16MB: > >> Ha ok, I see it now.

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

2016-05-04 Thread Marek Vasut
On 05/04/2016 11:13 AM, Diego wrote: > In data martedì 3 maggio 2016 23:01:10, Marek Vasut ha scritto: >> 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 >>>

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

2016-05-04 Thread Diego
In data martedì 3 maggio 2016 23:01:10, Marek Vasut ha scritto: > 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

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

2016-05-03 Thread Marek Vasut
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

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

2016-04-29 Thread Diego
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

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

2016-04-28 Thread Marek Vasut
On 04/28/2016 03:04 PM, Diego wrote: > In data mercoledì 27 aprile 2016 18:13:51, Marek Vasut ha scritto: >> >> OK, I have to two identical sticks and neither has the same USB ID as >> yours. Can you do lsusb -vvv -d 0951:1689 ? > > Hi Marek, > > thanks for taking the time to look into this. >

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

2016-04-28 Thread Diego
In data mercoledì 27 aprile 2016 18:13:51, Marek Vasut ha scritto: > > OK, I have to two identical sticks and neither has the same USB ID as > yours. Can you do lsusb -vvv -d 0951:1689 ? Hi Marek, thanks for taking the time to look into this. Here you are: # lsusb -vvv -d 0951:1689 Bus 003

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

2016-04-27 Thread Marek Vasut
On 04/27/2016 11:04 AM, Diego wrote: > > > Il 27 aprile 2016 04:14:45 CEST, Marek Vasut ha scritto: >> On 04/15/2016 02:13 PM, Diego wrote: >>> >>> Hi Marek, >>> >>> yes, I was getting the following error with the Kingston DTSE9 USB >> 2.0: >>> EHCI timed out on TD -

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

2016-04-27 Thread Diego
Il 27 aprile 2016 04:14:45 CEST, Marek Vasut ha scritto: >On 04/15/2016 02:13 PM, Diego wrote: >> >> Hi Marek, >> >> yes, I was getting the following error with the Kingston DTSE9 USB >2.0: >> EHCI timed out on TD - token=0x1e008d80 >> EHCI timed out on TD - token=0x1e008d80 >>

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

2016-04-26 Thread Marek Vasut
On 04/15/2016 02:13 PM, Diego wrote: > In data venerdì 15 aprile 2016 12:53:36, Marek Vasut ha scritto: >> On 04/14/2016 03:20 PM, Diego wrote: >>> On 18.02.2016, Schrempf Frieder wrote: At the moment I have two sticks with the same chip around for which setting USB_MAX_XFER_BLK from

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

2016-04-25 Thread Stefan Roese
Hi Marek, On 19.04.2016 01:54, Marek Vasut wrote: > On 04/15/2016 02:13 PM, Diego wrote: >> In data venerdì 15 aprile 2016 12:53:36, Marek Vasut ha scritto: >>> On 04/14/2016 03:20 PM, Diego wrote: On 18.02.2016, Schrempf Frieder wrote: > At the moment I have two sticks with the same

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

2016-04-18 Thread Marek Vasut
On 04/15/2016 02:13 PM, Diego wrote: > In data venerdì 15 aprile 2016 12:53:36, Marek Vasut ha scritto: >> On 04/14/2016 03:20 PM, Diego wrote: >>> On 18.02.2016, Schrempf Frieder wrote: At the moment I have two sticks with the same chip around for which setting USB_MAX_XFER_BLK from

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

2016-04-15 Thread Diego
In data venerdì 15 aprile 2016 12:53:36, Marek Vasut ha scritto: > On 04/14/2016 03:20 PM, Diego wrote: > > On 18.02.2016, Schrempf Frieder wrote: > >> At the moment I have two sticks with the same chip around for which > >> setting USB_MAX_XFER_BLK from 65535 to 32767 fixed the file transfer. >

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

2016-04-15 Thread Marek Vasut
On 04/14/2016 03:20 PM, Diego wrote: > On 18.02.2016, Schrempf Frieder wrote: >> At the moment I have two sticks with the same chip around for which >> setting USB_MAX_XFER_BLK from 65535 to 32767 fixed the file transfer. >> Also one of our customers tested a few non-working sticks with this >>

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

2016-04-15 Thread Diego
On 18.02.2016, Schrempf Frieder wrote: > At the moment I have two sticks with the same chip around for which > setting USB_MAX_XFER_BLK from 65535 to 32767 fixed the file transfer. > Also one of our customers tested a few non-working sticks with this > change and reported, that it fixed it for

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

2016-02-25 Thread Simon Glass
Hi Marek, On 25 February 2016 at 10:56, Marek Vasut wrote: > On 02/25/2016 05:13 AM, Simon Glass wrote: >> Hi, >> >> On 24 February 2016 at 10:43, Marek Vasut wrote: >>> >>> On 02/23/2016 07:38 AM, Hannes Schmelzer wrote: On 22.02.2016 18:59, Fabio Estevam

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

2016-02-24 Thread Simon Glass
Hi, On 24 February 2016 at 10:43, Marek Vasut wrote: > > On 02/23/2016 07:38 AM, Hannes Schmelzer wrote: > > On 22.02.2016 18:59, Fabio Estevam wrote: > >> On Mon, Feb 22, 2016 at 2:51 PM, Maxime Jayat > >> wrote: > >> > >>> Hello, > >>> I was hit by the

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

2016-02-24 Thread Marek Vasut
On 02/23/2016 07:38 AM, Hannes Schmelzer wrote: > On 22.02.2016 18:59, Fabio Estevam wrote: >> On Mon, Feb 22, 2016 at 2:51 PM, Maxime Jayat >> wrote: >> >>> Hello, >>> I was hit by the same problem, where my USB SD card reader would timeout >>> in U-boot when reading a

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

2016-02-23 Thread Maxime Jayat
Le 22/02/2016 08:03, Schrempf Frieder a écrit : > On 18.02.2016 18:14, Fabio Estevam wrote: >> On Thu, Feb 18, 2016 at 1:32 PM, Marek Vasut wrote: >> Also one of our customers tested a few non-working sticks with this change and reported, that it fixed it for him.

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

2016-02-22 Thread Hannes Schmelzer
On 22.02.2016 18:59, Fabio Estevam wrote: On Mon, Feb 22, 2016 at 2:51 PM, Maxime Jayat wrote: Hello, I was hit by the same problem, where my USB SD card reader would timeout in U-boot when reading a large file (16 MB). Changing USB_MAX_XFER_BLK to 32767 fixed the

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

2016-02-22 Thread Fabio Estevam
On Mon, Feb 22, 2016 at 2:51 PM, Maxime Jayat wrote: > Hello, > I was hit by the same problem, where my USB SD card reader would timeout > in U-boot when reading a large file (16 MB). Changing USB_MAX_XFER_BLK > to 32767 fixed the problem but I investigated a little more.

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

2016-02-21 Thread Schrempf Frieder
On 18.02.2016 18:14, Fabio Estevam wrote: > On Thu, Feb 18, 2016 at 1:32 PM, Marek Vasut wrote: > >>> Also one of our customers tested a few non-working sticks with this >>> change and reported, that it fixed it for him. >>> Here's a list of those devices, but I guess there are a

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

2016-02-18 Thread Fabio Estevam
On Thu, Feb 18, 2016 at 1:32 PM, Marek Vasut wrote: >> Also one of our customers tested a few non-working sticks with this >> change and reported, that it fixed it for him. >> Here's a list of those devices, but I guess there are a lot more: >> >> 1. Silicon Motion, Inc. - Taiwan

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

2016-02-18 Thread Marek Vasut
On 02/18/2016 11:05 AM, Schrempf Frieder wrote: > On 04.02.2016 12:28, Marek Vasut wrote: >> On Thursday, February 04, 2016 at 09:21:08 AM, Schrempf Frieder wrote: >>> On 03.02.2016 20:16, Sergei Temerkhanov wrote: On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut wrote: > On

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

2016-02-18 Thread Schrempf Frieder
On 04.02.2016 12:28, Marek Vasut wrote: > On Thursday, February 04, 2016 at 09:21:08 AM, Schrempf Frieder wrote: >> On 03.02.2016 20:16, Sergei Temerkhanov wrote: >>> On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut wrote: On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf

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

2016-02-12 Thread Simon Glass
Hi, On 8 February 2016 at 07:58, Marek Vasut wrote: > On Monday, February 08, 2016 at 09:41:09 AM, Hannes Schmelzer wrote: >> On 04.02.2016 12:28, Marek Vasut wrote: >> > On Thursday, February 04, 2016 at 09:21:08 AM, Schrempf Frieder wrote: >> >> On 03.02.2016 20:16, Sergei

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

2016-02-08 Thread Hannes Schmelzer
On 04.02.2016 12:28, Marek Vasut wrote: On Thursday, February 04, 2016 at 09:21:08 AM, Schrempf Frieder wrote: On 03.02.2016 20:16, Sergei Temerkhanov wrote: On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut wrote: On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf Frieder

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

2016-02-08 Thread Marek Vasut
On Monday, February 08, 2016 at 09:41:09 AM, Hannes Schmelzer wrote: > On 04.02.2016 12:28, Marek Vasut wrote: > > On Thursday, February 04, 2016 at 09:21:08 AM, Schrempf Frieder wrote: > >> On 03.02.2016 20:16, Sergei Temerkhanov wrote: > >>> On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut

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

2016-02-04 Thread Marek Vasut
On Thursday, February 04, 2016 at 09:21:08 AM, Schrempf Frieder wrote: > On 03.02.2016 20:16, Sergei Temerkhanov wrote: > > On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut wrote: > >> On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf Frieder wrote: > >>> On 03.02.2016 12:12,

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

2016-02-04 Thread Schrempf Frieder
On 03.02.2016 20:16, Sergei Temerkhanov wrote: > On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut wrote: >> On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf Frieder wrote: >>> On 03.02.2016 12:12, Marek Vasut wrote: On Wednesday, February 03, 2016 at 11:15:00 AM, Schrempf

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

2016-02-04 Thread Schrempf Frieder
On 03.02.2016 17:40, Marek Vasut wrote: > On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf Frieder wrote: >> 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

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

2016-02-03 Thread Fabio Estevam
On Wed, Feb 3, 2016 at 7:40 AM, Marek Vasut 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

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

2016-02-03 Thread Schrempf Frieder
On 03.02.2016 10:55, Fabio Estevam wrote: > On Wed, Feb 3, 2016 at 7:40 AM, Marek Vasut 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

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

2016-02-03 Thread Marek Vasut
On Wednesday, February 03, 2016 at 08:45:27 AM, Hannes Schmelzer wrote: > Hi there, Please do not top-post > i can osberve same strange thing on Xilinx ZYNQ. > > But really strange is: > I'm having a couple of USB-sticks on my desk, about 5pcs. > Exactly one of them is working without any

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

2016-02-03 Thread Marek Vasut
On Wednesday, February 03, 2016 at 08:40:00 AM, Schrempf Frieder wrote: > On 02.02.2016 17:39, Marek Vasut wrote: > > On Tuesday, February 02, 2016 at 05:28:42 PM, Fabio Estevam wrote: > >> Adding Marek in case he has any ideas. > >> > >> On Tue, Feb 2, 2016 at 8:35 AM, Schrempf Frieder > >> >

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

2016-02-03 Thread Marek Vasut
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 wrote: > >> In that case, debug time. > >> > >> Usual problems are bad routing of the tracks on the board , so try

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

2016-02-03 Thread Schrempf Frieder
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 wrote: In that case, debug time. Usual problems are bad

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

2016-02-03 Thread Marek Vasut
On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf Frieder wrote: > 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

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

2016-02-03 Thread Sergei Temerkhanov
On Wed, Feb 3, 2016 at 8:40 AM, Marek Vasut wrote: > On Wednesday, February 03, 2016 at 12:49:20 PM, Schrempf Frieder wrote: >> 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

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

2016-02-02 Thread Hannes Schmelzer
Hi there, i can osberve same strange thing on Xilinx ZYNQ. But really strange is: I'm having a couple of USB-sticks on my desk, about 5pcs. Exactly one of them is working without any trouble. My testfile is ~16MB, with the magic usb-stick i can read the whole 16MB without errors. With all

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

2016-02-02 Thread Marek Vasut
On Tuesday, February 02, 2016 at 05:28:42 PM, Fabio Estevam wrote: > Adding Marek in case he has any ideas. > > On Tue, Feb 2, 2016 at 8:35 AM, Schrempf Frieder > > wrote: > > Hello, > > > > I'm using U-Boot on a custom i.MX6 board and I'm having problems while > >

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

2016-02-02 Thread Fabio Estevam
Adding Marek in case he has any ideas. On Tue, Feb 2, 2016 at 8:35 AM, Schrempf Frieder wrote: > Hello, > > I'm using U-Boot on a custom i.MX6 board and I'm having problems while > reading (large) files from USB thumb drives. > I wouldn't really mind if this only

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

2016-02-02 Thread Schrempf Frieder
On 02.02.2016 17:39, Marek Vasut wrote: > On Tuesday, February 02, 2016 at 05:28:42 PM, Fabio Estevam wrote: >> Adding Marek in case he has any ideas. >> >> On Tue, Feb 2, 2016 at 8:35 AM, Schrempf Frieder >> >> wrote: >>> Hello, >>> >>> I'm using U-Boot on a custom