[openwrt/openwrt] ramips: mt7621: use seama-lzma-loader for D-Link DIR-860L B1

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 12 09:30:20 PST 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/18801f26485e3a0dcb79dc9f9b174aed5821b758

commit 18801f26485e3a0dcb79dc9f9b174aed5821b758
Author: Szabolcs Hubai <szab.hu at gmail.com>
AuthorDate: Wed Sep 28 02:55:01 2022 +0200

    ramips: mt7621: use seama-lzma-loader for D-Link DIR-860L B1
    
    Fix the LZMA ERROR 1 with a single line of recipe instead of duplicating
    "uimage-lzma-loader".
    
    While reviewing my original submission of commit ce1957100411 David
    suggested to use $(Device/uimage-lzma-loader), but due to the specific
    needs of the vendor bootloader that simple oneliner didn't work.
    
    The new $(Device/seama-lzma-loader) is for those SEAMA capable
    bootloaders.
    
    Signed-off-by: Szabolcs Hubai <szab.hu at gmail.com>
---
 target/linux/ramips/image/mt7621.mk | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index cf1813f79c..2e7d0689be 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -551,11 +551,8 @@ TARGET_DEVICES += dlink_dir-853-r1
 
 define Device/dlink_dir-860l-b1
   $(Device/dsa-migration)
-  $(Device/seama)
+  $(Device/seama-lzma-loader)
   SEAMA_SIGNATURE := wrgac13_dlink.2013gui_dir860lb
-  LOADER_TYPE := bin
-  KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | relocate-kernel | \
-	lzma -a0 | uImage lzma
   IMAGE_SIZE := 16064k
   DEVICE_VENDOR := D-Link
   DEVICE_MODEL := DIR-860L




More information about the lede-commits mailing list