Commit 75f19deb authored by Chuanhong Guo's avatar Chuanhong Guo
Browse files

ramips: define image recipe for uncompressed uimage with loader



Some devices have bootloaders with broken lzma code resulting in failed
decompression or corrupted kernel code.
This image recipe allows to sacrifice 5KB for OpenWrt LZMA loader and
take over the task of decompress kernel.
Signed-off-by: default avatarChuanhong Guo <gch981213@gmail.com>
parent d9e9a0e6
......@@ -37,6 +37,11 @@ define Device/Default
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
endef
define Device/uimage-lzma-loader
LOADER_TYPE := bin
KERNEL := $(KERNEL_DTB) | loader-kernel | uImage none
endef
define Device/seama
SEAMA_MTDBLOCK := 2
IMAGES += factory.bin
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment