On Sat, Jan 10, 2026 at 12:30:25AM +0530, Beleswar Padhi wrote:
> When CONFIG_SPL_MULTI_DTB_FIT is enabled, multiple device trees are
> packed inside the multidtb.fit FIT image. While the individual DTBs
> and the FIT image start address are 8-byte aligned, the DTBs embedded
> within the FIT image are not guaranteed to maintain 8-byte alignment.
>
> This misalignment causes -FDT_ERR_ALIGNMENT failure in
> setup_multi_dtb_fit() when locating the next available DTB within the
> FIT blob and setting gd->fdt_blob, because of the recent libfdt
> hardening since commit 0535e46d55d7 ("scripts/dtc: Update to upstream
> version v1.7.2-35-g52f07dcca47c")
>
> Add the -B 0x8 flag to mkimage to enforce 8-byte alignment for all DTB
> entries within the multidtb FIT image.
>
> Signed-off-by: Beleswar Padhi <[email protected]>Reviewed-by: Tom Rini <[email protected]> -- Tom
signature.asc
Description: PGP signature

