--- zzzz-none-000/linux-4.9.231/scripts/dtc/libfdt/fdt.c 2020-07-22 07:10:54.000000000 +0000 +++ falcon-5530-730/linux-4.9.231/scripts/dtc/libfdt/fdt.c 2022-08-31 08:19:49.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)