ramips: use lzma-loader for I-O DATA mt7621 devices
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Sun, 26 Apr 2020 03:24:33 +0000 (12:24 +0900)
committerDavid Bauer <mail@david-bauer.net>
Mon, 27 Apr 2020 10:22:02 +0000 (12:22 +0200)
commitc998ae7f0e9bd51be4935055efbc3834a92698b1
tree9f22e0bd462317222d45863cab0efda75065ddea
parenta25bb8610ffb985feb49652ce633a60182a0bd5c
ramips: use lzma-loader for I-O DATA mt7621 devices

The official sysupgrade images for I-O DATA devices manufactured by
MSTC (MitraStar Technology Corp.) cannot be booted normally and the
kernel panics after switching to kernel 5.4.

This commit fixes the issue by using lzma-loader.

Note:
  These devices use Z-LOADER to read the kernel from NAND flash and boot
  it. Z-LOADER cannot load and start plain lzma-loader, so additional
  lzma-compression is needed.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Co-developed-by: Yanase Yuki <dev@zpc.sakura.ne.jp>
Signed-off-by: Yanase Yuki <dev@zpc.sakura.ne.jp>
Tested-by: Yanase Yuki <dev@zpc.sakura.ne.jp> [wn-ax2033gr]
target/linux/ramips/image/mt7621.mk