From: Tom Rini Date: Fri, 8 Apr 2016 15:44:24 -0400 Subject: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize In-Reply-To: References: <570436F8.5040507@denx.de> <5704EC8C.3000500@denx.de> <20160407093623.02b2ef6a@amdc2363> Message-ID: <20160408194424.GA23166@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: