[PATCH] ARM: Align image end to 8 bytes to fit DT alignment

Tom Rini trini at konsulko.com
Fri May 16 01:30:25 CEST 2025


On Mon, May 12, 2025 at 06:10:28PM +0200, Marek Vasut wrote:

> Align U-Boot image end to 8 bytes to make sure DT alignment requirement
> is fulfilled. This fixes a possible failure in fdt_find_separate() in
> case the U-Boot image is aligned to 4 Bytes and DT is appended at the
> end at already 8 Byte aligned offset.
> 
> Signed-off-by: Marek Vasut <marek.vasut at mailbox.org>
> ---
> Cc: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> Cc: Sam Edwards <cfsworks at gmail.com>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: u-boot at lists.denx.de

Link: https://source.denx.de/u-boot/u-boot/-/issues/30

That mentioned, we should stop waiting for the solution that covers all
cases and at least get more cases right.

Reviewed-by: Tom Rini <trini at konsulko.com>


-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250515/94c8c3d1/attachment-0001.sig>


More information about the U-Boot mailing list