]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[lkrn] Allow a single initrd to be passed to the booted kernel
authorMichael Brown <mcb30@ipxe.org>
Wed, 21 May 2025 13:28:29 +0000 (14:28 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 21 May 2025 13:56:10 +0000 (14:56 +0100)
commit969e8b54629033be232c08d28766359261aff901
tree49fee1e9053d2c600f397ea54d120ad0f2ef506c
parent9bc559850c53eb630f9bb1089c98bae1d776d3d8
[lkrn] Allow a single initrd to be passed to the booted kernel

Allow a single initrd image to be passed verbatim to the booted RISC-V
kernel, as a proof of concept.

We do not yet support reshuffling to make optimal use of available
memory, or dynamic construction of CPIO headers, but this is
sufficient to allow iPXE to start up the Fedora 42 kernel with its
matching initrd image.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/image/lkrn.c
src/include/ipxe/lkrn.h