]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-uboot: compress arm64 kernels
authorBedel, Alban <alban.bedel@aerq.com>
Wed, 31 Jul 2019 13:53:45 +0000 (13:53 +0000)
committerArmin Kuster <akuster808@gmail.com>
Mon, 30 Sep 2019 04:38:22 +0000 (21:38 -0700)
AArch64 images are not self-decompressing, thus usually much larger.
Boot times can be reduced by compressing them in FIT and uImages.

This commit is a backport of commit a725d188b5 (kernel-uboot: compress
arm64 kernels) and commit 60bc7e180e (kernel-uboot: remove useless
special casing of arm64 Image) from master. Both commit were melted
into one to avoid some useless churn.

Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/kernel-uboot.bbclass

index 2364053f311e50538829628bd87a74bd62d656ea..87f02654fa5f3f836c3d6f5e556bf29136a6899c 100644 (file)
@@ -3,10 +3,6 @@ uboot_prep_kimage() {
                vmlinux_path="arch/${ARCH}/boot/compressed/vmlinux"
                linux_suffix=""
                linux_comp="none"
-       elif [ -e arch/${ARCH}/boot/Image ] ; then
-               vmlinux_path="vmlinux"
-               linux_suffix=""
-               linux_comp="none"
        elif [ -e arch/${ARCH}/boot/vmlinuz.bin ]; then
                rm -f linux.bin
                cp -l arch/${ARCH}/boot/vmlinuz.bin linux.bin