The linux ZBOOT option creates PEs that contain compressed kernel images which are self decompressed on execution by UEFI.
This set adds support for this image format to kexec by decompressing the contained kernel image to a temp file, then handing the resulting image off to the existing "Image" load routine to pass to the kexec syscall. There is also an additional patch which cleans up some errors noticed in the existing zImage support as well. Jeremy Linton (4): arm64: Cleanup _probe() return values arm64: Add ZBOOT PE containing compressed image support arm64: Hook up the ZBOOT support as vmlinuz arm64: Fix some issues with zImage _probe() kexec/arch/arm64/Makefile | 3 +- kexec/arch/arm64/image-header.h | 11 ++ kexec/arch/arm64/kexec-arm64.c | 7 + kexec/arch/arm64/kexec-arm64.h | 3 + kexec/arch/arm64/kexec-elf-arm64.c | 1 + kexec/arch/arm64/kexec-vmlinuz-arm64.c | 172 +++++++++++++++++++++++++ kexec/arch/arm64/kexec-zImage-arm64.c | 13 +- kexec/kexec.c | 11 +- 8 files changed, 201 insertions(+), 20 deletions(-) create mode 100644 kexec/arch/arm64/kexec-vmlinuz-arm64.c -- 2.40.0 _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec