From 32c6b9064ac7fc62cead37b1bc7d46ffba598c71 Mon Sep 17 00:00:00 2001 From: Lech Perczak Date: Wed, 20 Nov 2024 03:45:46 +0100 Subject: [PATCH] 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 Link: https://github.com/openwrt/openwrt/pull/17616 Signed-off-by: Hauke Mehrtens --- 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 -- 2.30.2