ath79: zte-mf28x-common: fix initramfs execution
authorLech Perczak <lech.perczak@gmail.com>
Wed, 20 Nov 2024 02:45:46 +0000 (03:45 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 19 Jan 2025 16:24:58 +0000 (17:24 +0100)
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>
target/linux/ath79/image/nand.mk

index d3c1120aa23ca01e173d7d5b676cbcd819b1d253..e8494da15da7e3b8ff8942d117b133eccc69a1c3 100644 (file)
@@ -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