Re: [U-Boot] [RFC PATCH v3] usb: limit USB_MAX_XFER_BLK to 256

2019-04-24 Thread Peng Fan
; > > >> -Original Message- > >> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Peng > >> Fan > >> Sent: 2019年4月24日 16:57 > >> To: Sven Schwermer ; Marcel Ziswiler > >> > >> Cc: Marek Vasut ; Marcel Zisw

Re: [U-Boot] [RFC PATCH v3] usb: limit USB_MAX_XFER_BLK to 256

2019-04-24 Thread Sven Schwermer
rcel Ziswiler >> >> Cc: Marek Vasut ; Marcel Ziswiler >> ; u-boot@lists.denx.de >> Subject: Re: [U-Boot] [RFC PATCH v3] usb: limit USB_MAX_XFER_BLK to 256 >> >> >>> Subject: Re: [RFC PATCH v3] usb: limit USB_MAX_XFER_BLK to 256 >>> >>>

Re: [U-Boot] [RFC PATCH v3] usb: limit USB_MAX_XFER_BLK to 256

2019-04-24 Thread Peng Fan
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Peng Fan > Sent: 2019年4月24日 16:57 > To: Sven Schwermer ; Marcel Ziswiler > > Cc: Marek Vasut ; Marcel Ziswiler > ; u-boot@lists.denx.de > Subject: Re: [U-Boot] [

Re: [U-Boot] [RFC PATCH v3] usb: limit USB_MAX_XFER_BLK to 256

2019-04-24 Thread Peng Fan
> Subject: Re: [RFC PATCH v3] usb: limit USB_MAX_XFER_BLK to 256 > > Hi, > > I am using an iMX7 with a DataTraveler 3.0 and I’m seeing the same timeout > error. However, I have CONFIG_DM_USB=y configured so your patch doesn’t > fix my issue. The USB class queries the EHCI driver for its maximum

Re: [U-Boot] [RFC PATCH v3] usb: limit USB_MAX_XFER_BLK to 256

2019-04-24 Thread Sven Schwermer
Hi, I am using an iMX7 with a DataTraveler 3.0 and I’m seeing the same timeout error. However, I have CONFIG_DM_USB=y configured so your patch doesn’t fix my issue. The USB class queries the EHCI driver for its maximum transfer size which is SIZE_MAX. I believe a solution that works with DM is

Re: [U-Boot] [RFC PATCH v3] usb: limit USB_MAX_XFER_BLK to 256

2019-04-19 Thread Marek Vasut
On 4/18/19 1:45 AM, Marcel Ziswiler wrote: > From: Peng Fan > > For Some USB mass storage devices, such as: > " > - Kingston DataTraveler 2.0 001D7D06CF09B04199C7B3EA > - Class: (from Interface) Mass Storage > - PacketSize: 64 Configurations: 1 > - Vendor: 0x0930 Product 0x6545 Version