]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-uboot: compress arm64 kernels
authorBonnans, Laurent <laurent.bonnans@here.com>
Thu, 13 Jun 2019 07:53:19 +0000 (07:53 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Jun 2019 10:21:40 +0000 (11:21 +0100)
AArch64 images are not self-decompressing, thus usually much larger.
Boot times can be reduced by compressing them in FIT and uImages.

Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-uboot.bbclass

index 2364053f311e50538829628bd87a74bd62d656ea..0457c5d1d1652f8239093774264b35bfa7b494e9 100644 (file)
@@ -5,8 +5,8 @@ uboot_prep_kimage() {
                linux_comp="none"
        elif [ -e arch/${ARCH}/boot/Image ] ; then
                vmlinux_path="vmlinux"
-               linux_suffix=""
-               linux_comp="none"
+               linux_suffix=".gz"
+               linux_comp="gzip"
        elif [ -e arch/${ARCH}/boot/vmlinuz.bin ]; then
                rm -f linux.bin
                cp -l arch/${ARCH}/boot/vmlinuz.bin linux.bin