mirror of
https://github.com/ipxe/ipxe
synced 2026-01-23 04:29:01 +03:00
8e38af800b45c87d12af5c343c351a2bd5ec2730
On x86 BIOS, it has been useful to be able to build iPXE to resemble a Linux kernel, so that it can be loaded by programs such as syslinux which already know how to handle Linux kernel binaries. Add an equivalent .lkrn build target for RISC-V SBI, allowing for build targets such as: make bin-riscv64/ipxe.lkrn make bin-riscv64/cgem.lkrn The Linux kernel header format allows us to specify a required length (including uninitialised-data portions) and defines that the image will be loaded at a fixed offset from the start of RAM. We can therefore use known-safe areas of memory (within our own .bss) for the initial temporary page table and stack. Signed-off-by: Michael Brown <mcb30@ipxe.org>
iPXE README File Quick start guide: cd src make For any more detailed instructions, see http://ipxe.org
Languages
C
97.3%
Assembly
1.5%
Perl
0.6%
Makefile
0.3%
Python
0.2%