diff options
author | Mathias Kresin <dev@kresin.me> | 2021-11-14 21:53:45 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2021-11-27 21:40:12 +0100 |
commit | 9764968bbac00a1b8a99ef22f24f1a3c25e76f9d (patch) | |
tree | 11e3572c2699d4c4706ec5be783a1225cc68ff56 /target/linux/lantiq/files/arch | |
parent | a328b6831c0f1e47e4fd4da4e00c0b9cb53cf2e4 (diff) | |
download | upstream-9764968bbac00a1b8a99ef22f24f1a3c25e76f9d.tar.gz upstream-9764968bbac00a1b8a99ef22f24f1a3c25e76f9d.tar.bz2 upstream-9764968bbac00a1b8a99ef22f24f1a3c25e76f9d.zip |
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 <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/files/arch')
-rw-r--r-- | target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9_avm_fritz7312.dts | 4 | ||||
-rw-r--r-- | target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9_avm_fritz7320.dts | 4 |
2 files changed, 8 insertions, 0 deletions
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 <dt-bindings/input/input.h> +#include <dt-bindings/mtd/partitions/uimage.h> / { 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 = <IH_MAGIC_OKLI>; + 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 <dt-bindings/input/input.h> +#include <dt-bindings/mtd/partitions/uimage.h> / { 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 = <IH_MAGIC_OKLI>; + openwrt,offset = <0x11000>; }; partition@f80000 { |