ath79: mikrotik: use vmlinuz (zBoot ELF)
- minimal built initramfs: 10MB vmlinux ELF -> 6MB vmlinuz - ~5 seconds for kernel decompression, which was equivalent to the additional time to load the uncompressed ELF from SPI NOR. - Removes requirement for lzma-loader, which may have been causing some image builds to fail to boot on Mikrotik mt7621. Suggested-by: Thibaut VARÈNE <hacks@slashdirt.org> Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
This commit is contained in:
parent
254f51443d
commit
e91344776b
@ -1,8 +1,8 @@
|
||||
define Device/mikrotik
|
||||
DEVICE_VENDOR := MikroTik
|
||||
LOADER_TYPE := elf
|
||||
KERNEL := kernel-bin | append-dtb | lzma | loader-kernel
|
||||
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-kernel
|
||||
KERNEL_NAME := vmlinuz
|
||||
KERNEL := kernel-bin | append-dtb-elf
|
||||
KERNEL_INITRAMFS := kernel-bin | append-dtb-elf
|
||||
endef
|
||||
|
||||
define Device/mikrotik_nor
|
||||
|
@ -1,5 +1,7 @@
|
||||
BOARDNAME := MikroTik devices
|
||||
FEATURES += minor nand squashfs
|
||||
KERNELNAME := vmlinux vmlinuz
|
||||
IMAGES_DIR := ../../..
|
||||
|
||||
DEFAULT_PACKAGES += wpad-basic-wolfssl
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user