Hi,
I would like to announce that stage0-uefi now runs to completion.
stage0-uefi is a port of stage0-posix [1] to UEFI.
Its purpose is to start with a tiny binary seeds hex0.efi and kaem-optional.efi
[2] that can be manually inspected and use it to build C toolchain and some
extra tools
such as untar, ungz, unbz2, mkdir, sha256sum. stage0-uefi can be trivially
extended to also build POSIX binaries.
You can try running stage0-uefi either in QEMU (make qemu) or copy the same
FAT32 image to USB stick and run in on baremetal.
In case of QEMU, you might have to install edk2-ovmf which is a free
implementation of UEFI firmware.
Se README [3] for more thorough description of various build steps.
Best,
Andrius
[1] https://github.com/oriansj/stage0-posix
[2] https://github.com/oriansj/bootstrap-seeds/tree/master/UEFI/amd64
[3] https://git.stikonas.eu/andrius/stage0-uefi/src/branch/main/README.md