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

LEDE Commits lede-commits at lists.infradead.org
Wed Jan 1 14:15:10 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/36f7db978a5fd2f84d3351a2e4148106cb1af282

commit 36f7db978a5fd2f84d3351a2e4148106cb1af282
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>
    (cherry picked from commit f8a8a2c5c7ff1efe289d846a890d3361757c231f)
---
 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 eb7dacefef..9c6efb8f1c 100644
--- 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