From: Michael Pratt Date: Fri, 9 Dec 2022 20:45:04 +0000 (-0500) Subject: ath79: use lzma-loader for Senao initramfs images X-Git-Tag: v6.0-20240103~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=08fb8bbce03bf03d6de09a23b9cb65358d451acc;p=librecmc%2Flibrecmc.git 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 (cherry picked from commit 8342c092a03caedbf160d4ac3982c6a9be91261f) --- diff --git a/target/linux/ath79/image/common-senao.mk b/target/linux/ath79/image/common-senao.mk index 4e2e220f6a..014fdd1a13 100644 --- a/target/linux/ath79/image/common-senao.mk +++ b/target/linux/ath79/image/common-senao.mk @@ -30,6 +30,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 | \