[U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

Tom Rini trini at konsulko.com
Fri Apr 8 21:44:24 CEST 2016


On Fri, Apr 08, 2016 at 02:11:48AM +0300, Sam Protsenko wrote:
[snip]
> The only actual documentation for fastboot protocol I found is [1],
> and I don't see any mention of alignment there at all. So it wouldn't
> surprise me if that patch was done just out of of empiric
> observations. Which doesn't make it any less significant.
[snip]
> [1] https://android.googlesource.com/platform/system/core/+/master/fastboot/fastboot_protocol.txt

So, the protocol says "Max packet size must be 64 bytes for full-speed,
512 bytes for high-speed and 1024 bytes for Super Speed USB.".  What are
wMaxPacketSize and ep->maxpacket in these cases, both the TI+DWC3 ones,
Broadcom+DWC2 and if someone can grab one, TI+MUSB.  And then, what
exactly does everyone failure logs look like, perhaps with some
annotations where it fails?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160408/da1480e6/attachment.sig>


More information about the U-Boot mailing list