summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLech Perczak2024-11-20 02:45:46 +0000
committerHauke Mehrtens2025-01-20 21:00:02 +0000
commitbaa0fc8e042969afa575c4fd4fd4ce9bac8cd96f (patch)
tree785972ad75488d0be944754118ecd68d06cc63a7
parenteb82b2cbcb1bd351ec83dd8ca0f36d4dcb138095 (diff)
downloadopenwrt-baa0fc8e042969afa575c4fd4fd4ce9bac8cd96f.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> (cherry picked from commit 32c6b9064ac7fc62cead37b1bc7d46ffba598c71)
-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