On 1/9/26 8:00 PM, 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.
Are there any other places where mkimage should enforce -B 8 too ? Reviewed-by: Marek Vasut <[email protected]>

