[PATCH] android: boot: fix wrong end of header in v3/v4 parsing

Tom Rini trini at konsulko.com
Wed Sep 24 20:16:33 CEST 2025


On Thu, 11 Sep 2025 15:50:26 +0200, Guillaume Ranquet wrote:

> The android boot header is page aligned but the current code made the
> assumption that the header was always smaller than the current header
> format.
> 
> When the page_size is defined as 2048, as this is the case with the
> cuttlefish target, the current code sets the end of the header in the
> middle of it as the v3 and v4 headers are respectively 2112 and 2128
> bytes long.
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] android: boot: fix wrong end of header in v3/v4 parsing
      commit: 5289b6e5540e571afd81482305e5623e9124ea66
-- 
Tom




More information about the U-Boot mailing list