[PATCH] usb: fastboot: increase max answer size to 256

Sascha Hauer s.hauer at pengutronix.de
Mon Jan 26 23:22:41 PST 2026


On Mon, 26 Jan 2026 14:04:22 +0100, Sascha Hauer wrote:
> Initial fasboot specification allowed at maximum 64 characters as
> answer. This has been increased to 256 [1]. Allow for longer answer
> sizes.
> 
> While at it use a define for the maximum answer length to avoid
> repeating the hardcoded number. Also allow the answer to be exactly
> the maximum length. Previous implementation used a 64 byte string
> which included the '\0' string end and limited the usable size to
> 63 bytes. Now we can use the full 256 bytes.
> 
> [...]

Applied, thanks!

[1/1] usb: fastboot: increase max answer size to 256
      https://git.pengutronix.de/cgit/barebox/commit/?id=d9e213023295 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list