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@pm.me>
(cherry picked from commit 8342c092a0)
This commit is contained in:
Michael Pratt 2022-12-09 15:45:04 -05:00 committed by Hauke Mehrtens
parent 70d2e8b4db
commit 0636d6b925

View File

@ -30,6 +30,7 @@ endef
define Device/senao_loader_okli define Device/senao_loader_okli
$(Device/loader-okli-uimage) $(Device/loader-okli-uimage)
KERNEL := kernel-bin | append-dtb | lzma | uImage lzma -M 0x73714f4b 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 LOADER_KERNEL_MAGIC := 0x73714f4b
IMAGES += factory.bin IMAGES += factory.bin
IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | \ IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | \