[openwrt/openwrt] ath79: zte-mf28x-common: fix initramfs execution
LEDE Commits
lede-commits at lists.infradead.org
Sun Jan 19 08:44:54 PST 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/32c6b9064ac7fc62cead37b1bc7d46ffba598c71
commit 32c6b9064ac7fc62cead37b1bc7d46ffba598c71
Author: Lech Perczak <lech.perczak at gmail.com>
AuthorDate: Wed Nov 20 03:45:46 2024 +0100
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 at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17616
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/ath79/image/nand.mk | 4 ++++
1 file changed, 4 insertions(+)
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
More information about the lede-commits
mailing list