[openwrt/openwrt] ath79: use lzma-loader for Senao initramfs images
LEDE Commits
lede-commits at lists.infradead.org
Fri Jan 6 06:35:11 PST 2023
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/8342c092a03caedbf160d4ac3982c6a9be91261f
commit 8342c092a03caedbf160d4ac3982c6a9be91261f
Author: Michael Pratt <mcpratt at pm.me>
AuthorDate: Fri Dec 9 15:45:04 2022 -0500
ath79: use lzma-loader for Senao initramfs images
Some vendors of Senao boards have put a bootloader
that cannot handle both large gzip or large lzma files.
There is no disadvantage by doing this for all of them.
Signed-off-by: Michael Pratt <mcpratt at pm.me>
---
target/linux/ath79/image/common-senao.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/linux/ath79/image/common-senao.mk b/target/linux/ath79/image/common-senao.mk
index e0e60dbe27..9034aa28db 100644
--- a/target/linux/ath79/image/common-senao.mk
+++ b/target/linux/ath79/image/common-senao.mk
@@ -37,6 +37,7 @@ endef
define Device/senao_loader_okli
$(Device/loader-okli-uimage)
KERNEL := kernel-bin | append-dtb | lzma | uImage lzma -M 0x73714f4b
+ KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-kernel | uImage none
LOADER_KERNEL_MAGIC := 0x73714f4b
IMAGES += factory.bin
IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | \
More information about the lede-commits
mailing list