[openwrt/openwrt] ramips: rt305x: use lzma-loader for ZyXEL Keenetic Lite rev.B

LEDE Commits lede-commits at lists.infradead.org
Sun Apr 18 13:15:15 BST 2021


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/580748fd47d29b2d830840ea18a96ab8f16d3448

commit 580748fd47d29b2d830840ea18a96ab8f16d3448
Author: Szabolcs Hubai <szab.hu at gmail.com>
AuthorDate: Wed Feb 3 07:56:38 2021 +0100

    ramips: rt305x: use lzma-loader for ZyXEL Keenetic Lite rev.B
    
    Fixes boot loader LZMA decompression issue,
    reported by GitHub user KOLANICH at [0].
    
    The reported LZMA ERROR has date of 2020-07-20, soon after
    the device support landed:
    
    Ralink UBoot Version: 3.5.2.4_ZyXEL
    
    ....
    
    3: System Boot system code via Flash.
       Image Name:   MIPS OpenWrt Linux-4.14.187
       Created:      2020-07-20   3:39:11 UTC
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    1472250 Bytes =  1.4 MB
       Load Address: 80000000
       Entry Point:  80000000
       Verifying Checksum ... OK
       Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover
    
    [0] https://github.com/openwrt/openwrt/commit/fea232ae8feb6af780fd4fa78ebe9231778bf75a#commitcomment-45016560
    
    Fixes: 4dc9ad4af8c921494d20b303b6772fc6b5af3a69 ("ramips: add support for ZyXEL Keenetic Lite Rev.B")
    Signed-off-by: Szabolcs Hubai <szab.hu at gmail.com>
    (cherry picked from commit dd3c1ad8ee9ee361285cb9142bdcb35bc3a30ac7)
---
 target/linux/ramips/image/rt305x.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ramips/image/rt305x.mk b/target/linux/ramips/image/rt305x.mk
index 429afc7833..210ae2f8b7 100644
--- a/target/linux/ramips/image/rt305x.mk
+++ b/target/linux/ramips/image/rt305x.mk
@@ -1196,6 +1196,7 @@ endef
 TARGET_DEVICES += zyxel_keenetic
 
 define Device/zyxel_keenetic-lite-b
+  $(Device/uimage-lzma-loader)
   SOC := rt5350
   IMAGE_SIZE := 7872k
   DEVICE_VENDOR := ZyXEL



More information about the lede-commits mailing list