Просмотр исходного кода

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17389
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit f8a8a2c5c7ff1efe289d846a890d3361757c231f)
Jonathan Sturges 1 год назад
Родитель
Сommit
36f7db978a
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      target/linux/ramips/image/mt7621.mk

+ 2 - 2
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