From 9764968bbac00a1b8a99ef22f24f1a3c25e76f9d Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sun, 14 Nov 2021 21:53:45 +0100 Subject: lantiq: ar7: use okli loader for FRITZ!Box With Kernel 5.10 the ar7 FRITZ!Box are not booting the initramfs nor the sysupgrade image any more. Presumably due to the grown kernel. Use the okli preloader to workaround the bootloader issue. No solution so far for the initramfs. Signed-off-by: Mathias Kresin --- .../lantiq/files/arch/mips/boot/dts/lantiq/ar9_avm_fritz7312.dts | 4 ++++ .../lantiq/files/arch/mips/boot/dts/lantiq/ar9_avm_fritz7320.dts | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'target/linux/lantiq/files') diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9_avm_fritz7312.dts b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9_avm_fritz7312.dts index 8d3d686f46..c8e67537a9 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9_avm_fritz7312.dts +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9_avm_fritz7312.dts @@ -1,6 +1,7 @@ #include "ar9.dtsi" #include +#include / { compatible = "avm,fritz7312", "lantiq,xway", "lantiq,ar9"; @@ -131,7 +132,10 @@ partition@20000 { label = "firmware"; + compatible = "openwrt,uimage", "denx,uimage"; reg = <0x20000 0xf60000>; + openwrt,ih-magic = ; + openwrt,offset = <0x11000>; }; partition@f80000 { diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9_avm_fritz7320.dts b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9_avm_fritz7320.dts index f3b4e5e4f5..44b8a18dae 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9_avm_fritz7320.dts +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9_avm_fritz7320.dts @@ -1,6 +1,7 @@ #include "ar9.dtsi" #include +#include / { compatible = "avm,fritz7320", "lantiq,xway", "lantiq,ar9"; @@ -140,8 +141,11 @@ }; partition@20000 { + compatible = "openwrt,uimage", "denx,uimage"; label = "firmware"; reg = <0x20000 0xf60000>; + openwrt,ih-magic = ; + openwrt,offset = <0x11000>; }; partition@f80000 { -- cgit v1.2.3