On Fri, 3 Mar 2023 at 16:01, Ard Biesheuvel <[email protected]> wrote:
>
> Fedora 39 will ship its arm64 kernels in the new generic EFI zboot
> format, using gzip compression for the payload.
>
> For doing EFI boot in QEMU, this is completely transparent, as the
> firmware or bootloader will take care of this. However, for direct
> kernel boot without firmware, we will lose the ability to boot such
> distro kernels unless we deal with the new format directly.
>
> EFI zboot images contain metadata in the header regarding the placement
> of the compressed payload inside the image, and the type of compression
> used. This means we can wire up the existing gzip support without too
> much hassle, by parsing the header and grabbing the payload from inside
> the loaded zboot image.
>
> Cc: Peter Maydell <[email protected]>
> Cc: Alex Bennée <[email protected]>
> Cc: Richard Henderson <[email protected]>
> Cc: Philippe Mathieu-Daudé <[email protected]>
> Signed-off-by: Ard Biesheuvel <[email protected]>
> ---



Applied to target-arm.next, thanks.

-- PMM

Reply via email to