--- zzzz-none-000/linux-4.9.218/scripts/dtc/libfdt/fdt.c 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ac-750/linux-4.9.218/scripts/dtc/libfdt/fdt.c 2022-11-30 09:46:20.000000000 +0000 @@ -63,6 +63,10 @@ return -FDT_ERR_BADVERSION; if (fdt_last_comp_version(fdt) > FDT_LAST_SUPPORTED_VERSION) return -FDT_ERR_BADVERSION; + if (IS_ENABLED(CONFIG_AVM_INVALID_DTB_V17) + && fdt_version(fdt) == 0x11 + && (!fdt_size_dt_struct(fdt) || !fdt_size_dt_strings(fdt))) + ((struct fdt_header *)fdt)->version = fdt32_to_cpu(0x10); } else if (fdt_magic(fdt) == FDT_SW_MAGIC) { /* Unfinished sequential-write blob */ if (fdt_size_dt_struct(fdt) == 0)