summaryrefslogtreecommitdiffstats
path: root/src/interface
diff options
context:
space:
mode:
authorMichael Brown2025-05-20 15:14:26 +0200
committerMichael Brown2025-05-20 15:29:57 +0200
commite2f4dba2b734190bb69667a16844dec3473b1f4d (patch)
tree598e503a2fa2a4c9f6726dec40415abea781969b /src/interface
parent[lkrn] Add basic support for the RISC-V Linux kernel image format (diff)
downloadipxe-e2f4dba2b734190bb69667a16844dec3473b1f4d.tar.gz
ipxe-e2f4dba2b734190bb69667a16844dec3473b1f4d.tar.xz
ipxe-e2f4dba2b734190bb69667a16844dec3473b1f4d.zip
[lkrn] Add support for EFI zboot compressed kernel images
Current RISC-V and AArch64 kernels found in the wild tend not to be in the documented kernel format, but are instead "EFI zboot" kernels comprising a small EFI executable that decompresses and executes the inner payload (which is a kernel in the expected format). The EFI zboot header includes a recognisable magic value "zimg" along with two fields describing the offset and length of the compressed payload. We can therefore treat this as an archive image format, extracting the payload as-is and then relying on our existing ability to execute compressed images. This is sufficient to allow iPXE to execute the Fedora 42 RISC-V kernel binary as currently published. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface')
0 files changed, 0 insertions, 0 deletions