Skip to content

Commit

Permalink
ath79: meraki-mr18: fix initramfs build
Browse files Browse the repository at this point in the history
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: 1d49310 ("ath79: add Cisco Meraki MR18")
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Link: openwrt#17680
Signed-off-by: Robert Marko <robimarko@gmail.com>
  • Loading branch information
Leo-PL authored and robimarko committed Jan 21, 2025
1 parent 42a253c commit 7423e67
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions target/linux/ath79/image/nand.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7423e67

Please sign in to comment.