Browse Source

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17616
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 32c6b9064ac7fc62cead37b1bc7d46ffba598c71)
Lech Perczak 1 year ago
parent
commit
baa0fc8e04
1 changed files with 4 additions and 0 deletions
  1. 4 0
      target/linux/ath79/image/nand.mk

+ 4 - 0
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