Enable the generic EFI decompressor
configname: CONFIG_EFI_ZBOOT
Linux Kernel Configuration
└─>Device Drivers
└─>Firmware Drivers
└─>EFI (Extensible Firmware Interface) Support
└─>Enable the generic EFI decompressor
In linux kernel since version 6.1 (release Date: 2022-12-11)
Create the bootable image as an EFI application that carries the
actual kernel image in compressed form, and decompresses it into
memory before executing it via LoadImage/StartImage EFI boot service
calls. For compatibility with non-EFI loaders, the payload can be
decompressed and executed by the loader as well, provided that the
loader implements the decompression algorithm and that non-EFI boot
is supported by the encapsulated image. (The compression algorithm
used is described in the zboot image header)
actual kernel image in compressed form, and decompresses it into
memory before executing it via LoadImage/StartImage EFI boot service
calls. For compatibility with non-EFI loaders, the payload can be
decompressed and executed by the loader as well, provided that the
loader implements the decompression algorithm and that non-EFI boot
is supported by the encapsulated image. (The compression algorithm
used is described in the zboot image header)
selects
CONFIG_HAVE_KERNEL_GZIPCONFIG_HAVE_KERNEL_LZ4
CONFIG_HAVE_KERNEL_LZMA
CONFIG_HAVE_KERNEL_LZO
CONFIG_HAVE_KERNEL_XZ
CONFIG_HAVE_KERNEL_ZSTD