very experimental • some developer notes available
-
sudo apt-get install make gcc-mingw-w64-x86-64 gcc-multilib nasm
-
sudo apt-get install dosfstools mtools fdisk
-
sudo apt-get install qemu-system-x86 qemu-utils zip ovmf
-
./configure
-
make -j4
-
make run-qemu
This aims to run x86-16 or x86-32 code from an x86-64 UEFI environment.
Currently the code tries to bring up any legacy option ROMs it can find, starting with the VGA option ROM.
The bootloader can now also run an unmodified kernel from MIT's Xv6 teaching operating system — bypassing Xv6's own legacy BIOS bootloader — on a QEMU virtual machine with serial console. To build and run Xv6, also do these:
-
make -j4 hd-xv6.img
-
make run-qemu-xv6
Again, some developer notes are available.