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 --- target/linux/lantiq/image/ar9.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'target/linux/lantiq/image/ar9.mk') diff --git a/target/linux/lantiq/image/ar9.mk b/target/linux/lantiq/image/ar9.mk index a68868f0d9..5a17395f82 100644 --- a/target/linux/lantiq/image/ar9.mk +++ b/target/linux/lantiq/image/ar9.mk @@ -1,8 +1,9 @@ define Device/avm_fritz7312 - $(Device/AVM) + $(Device/AVM_preloader) DEVICE_MODEL := FRITZ!Box 7312 SOC := ar9 IMAGE_SIZE := 15744k + LOADER_FLASH_OFFS := 0x31000 DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-wolfssl \ kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \ kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \ @@ -12,12 +13,13 @@ endef TARGET_DEVICES += avm_fritz7312 define Device/avm_fritz7320 - $(Device/AVM) + $(Device/AVM_preloader) DEVICE_MODEL := FRITZ!Box 7320 DEVICE_ALT0_VENDOR := 1&1 DEVICE_ALT0_MODEL := HomeServer SOC := ar9 IMAGE_SIZE := 15744k + LOADER_FLASH_OFFS := 0x31000 DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-wolfssl \ kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \ kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \ -- cgit v1.2.3