OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Oct 20, 2021 10:07 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Simple and Powerful UEFI Bootloader
PostPosted: Mon Oct 11, 2021 8:04 pm 
Offline

Joined: Mon Oct 11, 2021 7:27 pm
Posts: 1
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:
File comment: screenshot
bootstrap.png
bootstrap.png [ 81.4 KiB | Viewed 502 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group