Skip to main content

Requirements

The current v0 build targets Linux-style tooling and boots under QEMU with OVMF.

Required Software

SoftwarePurpose
bflat v8.0.2 or compatibleCompiles C# to a native x86_64 UEFI application
qemu-system-x86_64Runs the VM
OVMF firmwareProvides UEFI firmware for QEMU
mtoolsCreates and populates the FAT boot image
makeRuns the build targets

On Ubuntu, the system packages are typically:

sudo apt install make qemu-system-x86 ovmf mtools libc++1-18 libc++abi1-18 libunwind-18

If bflat is not installed globally, the OS repo can use a local copy at:

tools/bflat/bflat

Firmware Path

The default Makefile expects OVMF at:

/usr/share/OVMF/OVMF_CODE_4M.fd

If your system uses a different path, pass it when running make:

make run OVMF_CODE=/path/to/OVMF_CODE.fd