[PATCH] boot: Assure FDT is always at 8-byte aligned address

Tom Rini trini at konsulko.com
Fri Nov 28 18:41:20 CET 2025


On Thu, 13 Nov 2025 12:54:51 +0100, Marek Vasut wrote:

> The fitImage may contain FDT at 4-byte aligned address, because alignment
> of DT tags is 4 bytes. However, libfdt and also Linux expects DT to be at
> 8-byte aligned address. Make sure that the DTs embedded in fitImages are
> always used from 8-byte aligned addresses. In case the DT is decompressed,
> make sure the target buffer is 8-byte aligned. In case the DT is only
> loaded, make sure the target buffer is 8-byte aligned too.
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] boot: Assure FDT is always at 8-byte aligned address
      commit: 8fbcc0e0e839a8e25f636c76e59311033d3817b5
-- 
Tom




More information about the U-Boot mailing list