[openwrt/openwrt] ramips: use default lzma dictionary size for better performance

LEDE Commits lede-commits at lists.infradead.org
Sat Jan 7 07:57:40 PST 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3dbaf89296322489e7dafa336d89d8348c3d90c0

commit 3dbaf89296322489e7dafa336d89d8348c3d90c0
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Thu Dec 1 18:49:45 2022 +0800

    ramips: use default lzma dictionary size for better performance
    
    limit dictionary size patch was introduced to solve the well known
    "LZMA ERROR 1 - must RESET board to recover" error.
    09b6755946409d8fd8 "ramips: limit dictionary size for lzma compression"
    
    It seems that it has failed recently and we can use lzma loader to fix
    this error by adding "$(Device/uimage-lzma-loader)". So just remove it
    to use the default parameter -d24 for a higher compression ratio.
    
    Signed-off-by: Shiji Yang <yangshiji66 at qq.com>
---
 target/linux/ramips/image/mt7621.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index dd49583bf4..45ff52be35 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -7,7 +7,6 @@ include ./common-tp-link.mk
 
 DEFAULT_SOC := mt7621
 
-KERNEL_DTB += -d21
 DEVICE_VARS += ELECOM_HWNAME LINKSYS_HWNAME
 
 ifdef CONFIG_LINUX_5_10




More information about the lede-commits mailing list