Hacker News new | past | comments | ask | show | jobs | submit login

You can still port EDK2 to the hardware of your choice. Most people can have a quick play on it on Raspberry Pi >= 3.

Also yes, EDK2 is a faithful implementation of UEFI standard and so if you do target EDK2 it should run on your typical amd64-based computer without issue.

By the way the UEFI platform is actually a partial OS itself! Memory allocation and paging is handled and there are even partial event system support, making it possible to run asynchronous code in Rust-based UEFI firmware. However one caveat is that UEFI itself is split into Runtime services and Boot services and their memory is not shared after the transition. uefi-rs exploited the borrow checker to cleverly mitigate this issue.

Sadly uefi-rs doesn’t have most of the UEFI API wrappers. I tried porting some of it but it’s just too complicated and I don’t really have the time to churn on it.




The difficulty seemed to me to be actually getting the board to run your UEFI code. I'll give it a try on an RPi. Thanks for the input.

And yes, I'm aware of most of that, it has always bugged me that my mobo's UEFI is typically larger than the kernel it runs.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: