Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-19 Thread Lukasz Majewski
Hi Steve, > >> > >> I will test this change. > >> > > Lukasz: would you _like_ to be able to test fastboot? Ok, I will setup this. > - do you have a board that uses a GPT table, and has USB-OTG support? I think that Trats2/Trats is such a board. I suppose that USB device support is enough? (

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-18 Thread Steve Rae
On Mon, Apr 18, 2016 at 6:55 AM, Roger Quadros wrote: > On 18/04/16 16:47, Lukasz Majewski wrote: >> Hi Roger, Steve, >> >>> +Lukazs >>> >>> On 18/04/16 10:56, Roger Quadros wrote: On 15/04/16 22:44, Steve Rae wrote: > > > On Thu, Apr 14, 2016 at 3:18 AM, Roger Quadros

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-18 Thread Roger Quadros
On 18/04/16 16:47, Lukasz Majewski wrote: > Hi Roger, Steve, > >> +Lukazs >> >> On 18/04/16 10:56, Roger Quadros wrote: >>> On 15/04/16 22:44, Steve Rae wrote: On Thu, Apr 14, 2016 at 3:18 AM, Roger Quadros >>> > wrote: Hi, On 13/04/

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-18 Thread Lukasz Majewski
Hi Roger, Steve, > +Lukazs > > On 18/04/16 10:56, Roger Quadros wrote: > > On 15/04/16 22:44, Steve Rae wrote: > >> > >> > >> On Thu, Apr 14, 2016 at 3:18 AM, Roger Quadros >> > wrote: > >> > >> Hi, > >> > >> On 13/04/16 19:56, Sam Protsenko wrote: > >> > On Wed

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-18 Thread Roger Quadros
+Lukazs On 18/04/16 10:56, Roger Quadros wrote: > On 15/04/16 22:44, Steve Rae wrote: >> >> >> On Thu, Apr 14, 2016 at 3:18 AM, Roger Quadros > > wrote: >> >> Hi, >> >> On 13/04/16 19:56, Sam Protsenko wrote: >> > On Wed, Apr 13, 2016 at 3:32 PM, Roger Quadros > <

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-18 Thread Roger Quadros
On 15/04/16 22:44, Steve Rae wrote: > > > On Thu, Apr 14, 2016 at 3:18 AM, Roger Quadros > wrote: > > Hi, > > On 13/04/16 19:56, Sam Protsenko wrote: > > On Wed, Apr 13, 2016 at 3:32 PM, Roger Quadros > wrote: > >> Hi, > >> >

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-15 Thread Steve Rae
On Thu, Apr 14, 2016 at 3:18 AM, Roger Quadros wrote: > Hi, > > On 13/04/16 19:56, Sam Protsenko wrote: > > On Wed, Apr 13, 2016 at 3:32 PM, Roger Quadros wrote: > >> Hi, > >> > >> On 13/04/16 15:01, Semen Protsenko wrote: > >>> From: Sam Protsenko > >>> > >>> Some UDC controllers may require b

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-14 Thread Roger Quadros
Hi, On 13/04/16 19:56, Sam Protsenko wrote: > On Wed, Apr 13, 2016 at 3:32 PM, Roger Quadros wrote: >> Hi, >> >> On 13/04/16 15:01, Semen Protsenko wrote: >>> From: Sam Protsenko >>> >>> Some UDC controllers may require buffer size to be aligned to >>> wMaxPacketSize. It's indicated by gadget->q

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-13 Thread Steve Rae
On Wed, Apr 13, 2016 at 9:56 AM, Sam Protsenko wrote: > On Wed, Apr 13, 2016 at 3:32 PM, Roger Quadros wrote: > > Hi, > > > > On 13/04/16 15:01, Semen Protsenko wrote: > >> From: Sam Protsenko > >> > >> Some UDC controllers may require buffer size to be aligned to > >> wMaxPacketSize. It's indi

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-13 Thread Sam Protsenko
On Wed, Apr 13, 2016 at 3:32 PM, Roger Quadros wrote: > Hi, > > On 13/04/16 15:01, Semen Protsenko wrote: >> From: Sam Protsenko >> >> Some UDC controllers may require buffer size to be aligned to >> wMaxPacketSize. It's indicated by gadget->quirk_ep_out_aligned_size >> field being set to "true"

[U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-13 Thread Semen Protsenko
From: Sam Protsenko Some UDC controllers may require buffer size to be aligned to wMaxPacketSize. It's indicated by gadget->quirk_ep_out_aligned_size field being set to "true" (in UDC driver code). In that case rx_bytes_expected must be aligned to wMaxPacket size, otherwise stuck on transaction w

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-13 Thread Roger Quadros
Hi, On 13/04/16 15:01, Semen Protsenko wrote: > From: Sam Protsenko > > Some UDC controllers may require buffer size to be aligned to > wMaxPacketSize. It's indicated by gadget->quirk_ep_out_aligned_size > field being set to "true" (in UDC driver code). In that case > rx_bytes_expected must be a

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-13 Thread Tom Rini
On Wed, Apr 13, 2016 at 03:01:02PM +0300, Semen Protsenko wrote: > From: Sam Protsenko > > Some UDC controllers may require buffer size to be aligned to > wMaxPacketSize. It's indicated by gadget->quirk_ep_out_aligned_size > field being set to "true" (in UDC driver code). In that case > rx_bytes

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-13 Thread Sam Protsenko
On Wed, Apr 13, 2016 at 3:01 PM, Semen Protsenko wrote: > From: Sam Protsenko > > Some UDC controllers may require buffer size to be aligned to > wMaxPacketSize. It's indicated by gadget->quirk_ep_out_aligned_size > field being set to "true" (in UDC driver code). In that case > rx_bytes_expected