[openwrt/openwrt] ramips: mt7621: enable lzma-loader for netis WF2881

LEDE Commits lede-commits at lists.infradead.org
Tue Dec 6 14:36:14 PST 2022


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/8fbf03690efd41fc89a4f7d6cea9e66f59cac328

commit 8fbf03690efd41fc89a4f7d6cea9e66f59cac328
Author: Joonhyuk Song <thenoface303 at gmail.com>
AuthorDate: Mon Nov 21 11:37:36 2022 +0900

    ramips: mt7621: enable lzma-loader for netis WF2881
    
    Fixes boot loader LZMA decompression issues (LZMA ERROR 1)
    
    Signed-off-by: Joonhyuk Song <thenoface303 at gmail.com>
    (cherry picked from commit 25ede5170d5fbfd233ba21f7a294ec3a2ddeb635)
---
 target/linux/ramips/image/mt7621.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 4057c4ea11..ab131658e0 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -1448,6 +1448,7 @@ TARGET_DEVICES += netgear_wndr3700-v5
 
 define Device/netis_wf2881
   $(Device/dsa-migration)
+  $(Device/uimage-lzma-loader)
   BLOCKSIZE := 128k
   PAGESIZE := 2048
   FILESYSTEMS := squashfs
@@ -1455,7 +1456,7 @@ define Device/netis_wf2881
   IMAGE_SIZE := 129280k
   UBINIZE_OPTS := -E 5
   UIMAGE_NAME := WF2881_0.0.00
-  KERNEL_INITRAMFS := $(KERNEL_DTB) | netis-tail WF2881 | uImage lzma
+  KERNEL_INITRAMFS := $$(KERNEL) | netis-tail WF2881
   IMAGES += factory.bin
   IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
   IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | \




More information about the lede-commits mailing list