Re: [RESEND PATCH v2 0/2] Add support for ZSTD-compressed kernel
From: Adam Borowski
Date: Wed Mar 21 2018 - 22:59:18 EST
On Wed, Mar 21, 2018 at 06:29:41PM -0700, Nick Terrell wrote:
> This patch set adds support for a ZSTD-compressed kernel and ramdisk
> images in the kernel boot process. It only integrates the support with
> x86, though the first patch is generic to all architectures.
I'm running this patch set since October on amd64 armhf arm64, no
explosions -- besides the obvious when it's not applied yet I forget to
reconfigure initramfs-tools. Which is getting tedious, so let's merge this
already. :)
I've tested initrd on all of these archs; here's a debug patch to check if
you're actually using it.
As for compressing the kernel itself: the second patch works as submitted
(ie, x86 only). Porting it to other architectures is straightforward, but
eg. on arm, most boards use u-boot which insists on decompressing the kernel
by itself instead of passing control. EFI/grub should work, but I haven't
tested that yet.
Meow!
--
âââââââ
âââââââ A dumb species has no way to open a tuna can.
âââââââ A smart species invents a can opener.
âââââââ A master species delegates.