Skip to contentSkip to conversation

kernel-uboot: compress arm64 kernels

PATCH New Bonnans, Laurent 1 participant 1 message Jun 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel-uboot: compress arm64 kernels

AArch64 images are not self-decompressing, thus usually much larger. Boot times can be reduced by compressing them in FIT and uImages.

---
 meta/classes/kernel-uboot.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/classes/kernel-uboot.bbclass +2 -2
index 2364053f31..0457c5d1d1 100644
@@ -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
Signature · 1 line
2.20.1