2
0
forked from Ivasoft/openwrt

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>
This commit is contained in:
Mathias Kresin
2021-11-14 21:53:45 +01:00
parent a328b6831c
commit 9764968bba
4 changed files with 46 additions and 3 deletions

View File

@@ -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 {

View File

@@ -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 {