[openwrt/openwrt] ramips: mt7621: enable lzma-loader for Amped Wireless ALLY

LEDE Commits lede-commits at lists.infradead.org
Wed Jan 1 12:31:04 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/f8a8a2c5c7ff1efe289d846a890d3361757c231f

commit f8a8a2c5c7ff1efe289d846a890d3361757c231f
Author: Jonathan Sturges <jsturges at redhat.com>
AuthorDate: Thu Dec 26 21:47:40 2024 -0500

    ramips: mt7621: enable lzma-loader for Amped Wireless ALLY
    
    Switch to using loader-kernel to accommodate
    larger image sizes that are problematic for
    many mt7621 uboots.
    
    Signed-off-by: Jonathan Sturges <jsturges at redhat.com>
    Link: https://github.com/openwrt/openwrt/pull/17389
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/ramips/image/mt7621.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 2623d890f6..ed0da90528 100755
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -294,11 +294,11 @@ TARGET_DEVICES += alfa-network_quad-e4g
 
 define Device/ampedwireless_ally_common
   $(Device/nand)
+  $(Device/uimage-lzma-loader)
   DEVICE_VENDOR := Amped Wireless
   DEVICE_PACKAGES := kmod-mt7615-firmware
   IMAGE_SIZE := 32768k
-  KERNEL_INITRAMFS := $(KERNEL_DTB) | uImage lzma -n 'flashable-initramfs' |\
-	edimax-header -s CSYS -m RN68 -f 0x001c0000 -S 0x01100000
+  KERNEL_INITRAMFS := $$(KERNEL) | edimax-header -s CSYS -m RN68 -f 0x001c0000 -S 0x01100000
 endef
 
 define Device/ampedwireless_ally-r1900k




More information about the lede-commits mailing list