[openwrt/openwrt] ramips: mt7621: use lzma-loader for ra21s & rg21s

LEDE Commits lede-commits at lists.infradead.org
Wed Jul 8 16:55:17 EDT 2020


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/541faf2c937bdbb1eb6fae9e146090be57e86a25

commit 541faf2c937bdbb1eb6fae9e146090be57e86a25
Author: Furkan Alaca <furkan.alaca at queensu.ca>
AuthorDate: Fri Jul 3 01:51:03 2020 -0400

    ramips: mt7621: use lzma-loader for ra21s & rg21s
    
    The rg21s fails to boot if the kernel is larger than about
    2,376 KiB. The ra21s is virtually identical hardware.
    Enabling lzma-loader resolves the issue on both the rg21s
    and ra21s (see FS#3057 on the issue tracker).
    
    Fixes: FS#3057
    Signed-off-by: Furkan Alaca <furkan.alaca at queensu.ca>
---
 target/linux/ramips/image/mt7621.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 5e67d46ade..0215683671 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -262,6 +262,7 @@ endef
 TARGET_DEVICES += d-team_pbr-m1
 
 define Device/edimax_ra21s
+  $(Device/uimage-lzma-loader)
   IMAGE_SIZE := 16064k
   DEVICE_VENDOR := Edimax
   DEVICE_MODEL := RA21S
@@ -293,6 +294,7 @@ endef
 TARGET_DEVICES += edimax_re23s
 
 define Device/edimax_rg21s
+  $(Device/uimage-lzma-loader)
   IMAGE_SIZE := 16064k
   DEVICE_VENDOR := Edimax
   DEVICE_MODEL := Gemini AC2600 RG21S



More information about the lede-commits mailing list