summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLech Perczak2024-11-20 02:45:46 +0000
committerHauke Mehrtens2025-01-19 16:24:58 +0000
commit32c6b9064ac7fc62cead37b1bc7d46ffba598c71 (patch)
treed7fa11457e79b1f02d953c9295ad014cac141bdb
parent6720958659d226e71dca49657202e0502bb059bd (diff)
downloadopenwrt-32c6b9064ac7fc62cead37b1bc7d46ffba598c71.tar.gz
ath79: zte-mf28x-common: fix initramfs execution
Now that LZMA_TEXT_START is configurable per-target once again, move the target above 32MB boundary for ZTE MF28* devices. Signed-off-by: Lech Perczak <lech.perczak@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17616 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/ath79/image/nand.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ath79/image/nand.mk b/target/linux/ath79/image/nand.mk
index d3c1120aa2..e8494da15d 100644
--- a/target/linux/ath79/image/nand.mk
+++ b/target/linux/ath79/image/nand.mk
@@ -442,6 +442,10 @@ define Device/zte_mf28x_common
DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct
BLOCKSIZE := 128k
PAGESIZE := 2048
+ LOADER_TYPE := bin
+ LZMA_TEXT_START := 0x82800000
+ KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | uImage none
+ KERNEL_INITRAMFS := $$(KERNEL)
KERNEL_SIZE := 4096k
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
endef