summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLech Perczak2025-01-20 23:10:50 +0000
committerHauke Mehrtens2025-01-21 10:03:13 +0000
commitad98c322cc50e4b2819dc195cb195b0e3daf9d5a (patch)
tree0137bd04e3feb4162358084670a21f4db416c8bd
parent939550bfbfc8423873348f890d2507eb6732ffec (diff)
downloadopenwrt-ad98c322cc50e4b2819dc195cb195b0e3daf9d5a.tar.gz
ath79: meraki-mr18: fix initramfs build
Now, that initramfs images built for ZTE devices work, by moving LZMA_TEXT_START further up the available RAM - same fix works successfully for Meraki MR18 too. Apply it and reenable initramfs generation again. Fixes: 1d49310fdb5e ("ath79: add Cisco Meraki MR18") Signed-off-by: Lech Perczak <lech.perczak@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17680 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit 7423e67e1b8c7e4c9f527d1300dbeaab72b1f95f)
-rw-r--r--target/linux/ath79/image/nand.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/ath79/image/nand.mk b/target/linux/ath79/image/nand.mk
index e8494da15d..68cb543187 100644
--- a/target/linux/ath79/image/nand.mk
+++ b/target/linux/ath79/image/nand.mk
@@ -313,10 +313,9 @@ define Device/meraki_mr18
BLOCKSIZE := 128k
PAGESIZE := 2048
LOADER_TYPE := bin
+ LZMA_TEXT_START := 0x82800000
KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | meraki-header MR18
-# Initramfs-build fails due to size issues
-# KERNEL_INITRAMFS := $$(KERNEL)
- KERNEL_INITRAMFS :=
+ KERNEL_INITRAMFS := $$(KERNEL)
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
SUPPORTED_DEVICES += mr18
endef