Simple and Powerful UEFI Bootloader

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
stakach
Posts: 1
Joined: Mon Oct 11, 2021 7:27 pm

Simple and Powerful UEFI Bootloader

Post by stakach »

Long time reader, first time poster. Played around with OS dev years ago and decided to get back into it.
With UEFI BIOS mode going away soon (and Win11 dropping support for it) I wanted to see how much easier OS dev could be booting from UEFI.

Turns out to be pretty simple https://github.com/stakach/uefi-bootstrap
Written in Zig lang as it has great first class UEFI support and really simple to build / test.

Jumps you into the kernel (a pretty standard elf executable) with the memory mappings and video buffer information.
Going to expand that simple kernel with text output capabilities (currently draws a triangle on the screen) but it'll basically only exist there to demonstrate the boot loader and I'll start building a more complex kernel as a seperate project.

Hopefully others can learn, take inspiration or use that bootstrap in their projects (comments, issues and pull requests all welcome) :D
Attachments
screenshot
screenshot
Post Reply