diff options
author | John Thomson <git@johnthomson.fastmail.com.au> | 2020-10-15 19:27:55 +1000 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2020-10-29 21:35:03 +0800 |
commit | 254f51443ddaee873267d41993b5bbc4b5ef7959 (patch) | |
tree | b89d530c02a666c6802945671fa144749391f809 /target/linux/ramips/mt7621 | |
parent | 9a168b51c3a60c95ccd349dd3010615ba6b0e033 (diff) | |
download | upstream-254f51443ddaee873267d41993b5bbc4b5ef7959.tar.gz upstream-254f51443ddaee873267d41993b5bbc4b5ef7959.tar.bz2 upstream-254f51443ddaee873267d41993b5bbc4b5ef7959.zip |
mt7621: mikrotik: use vmlinuz (zBoot ELF)
- minimal built initramfs: 11MB vmlinux ELF -> 4.5MB 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.
Fixes: FS#3354
Suggested-by: Thibaut VARĂˆNE <hacks@slashdirt.org>
Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
Diffstat (limited to 'target/linux/ramips/mt7621')
-rw-r--r-- | target/linux/ramips/mt7621/target.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/target.mk b/target/linux/ramips/mt7621/target.mk index d05b8c82bf..d1f987b2e0 100644 --- a/target/linux/ramips/mt7621/target.mk +++ b/target/linux/ramips/mt7621/target.mk @@ -6,6 +6,9 @@ SUBTARGET:=mt7621 BOARDNAME:=MT7621 based boards FEATURES+=nand ramdisk rtc usb minor CPU_TYPE:=24kc +KERNELNAME:=vmlinux vmlinuz +# make Kernel/CopyImage use $LINUX_DIR/vmlinuz +IMAGES_DIR:=../../.. DEFAULT_PACKAGES += wpad-basic-wolfssl |