[openwrt/openwrt] rampis: use lzma-loader for ZTE MF283+
LEDE Commits
lede-commits at lists.infradead.org
Wed Jun 2 12:43:44 PDT 2021
zorun pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/6a5545006e2339b179438bddb61ed98b712f1d1b
commit 6a5545006e2339b179438bddb61ed98b712f1d1b
Author: Lech Perczak <lech.perczak at gmail.com>
AuthorDate: Sun Feb 28 03:24:19 2021 +0100
rampis: use lzma-loader for ZTE MF283+
Without that, after merging support to master, the device fails to boot
due to LZMA decompression error:
3: System Boot system code via Flash.
raspi_read: from:80000 len:40
. Image Name: MIPS OpenWrt Linux-5.4.99
Created: 2021-02-25 23:35:00 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1786664 Bytes = 1.7 MB
Load Address: 80000000
Entry Point: 80000000
raspi_read: from:80040 len:1b4328
............................ Verifying Checksum ... OK
Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover
Use lzma-loader to fix it.
Fixes: 59d065c9f81c ("ramips: add support for ZTE MF283+")
Signed-off-by: Lech Perczak <lech.perczak at gmail.com>
(cherry picked from commit 410fb05b445c89a147029d1471e184a5594602db)
Signed-off-by: Lech Perczak <lech.perczak at gmail.com>
---
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 c16de3049f..5483b8a369 100644
--- a/target/linux/ramips/image/rt305x.mk
+++ b/target/linux/ramips/image/rt305x.mk
@@ -1184,6 +1184,7 @@ endef
TARGET_DEVICES += zorlik_zl5900v2
define Device/zte_mf283plus
+ $(Device/uimage-lzma-loader)
SOC := rt3352
IMAGE_SIZE := 15872k
DEVICE_VENDOR := ZTE
More information about the lede-commits
mailing list