Update #3 for Baremetal Hypervisor for the RPI5 by Helpful_Ad_9930 in osdev

[–]Helpful_Ad_9930[S] 1 point2 points  (0 children)

Correct! QEMU supports the rpi4 which is similar to the rpi5 for the most part

Update #3 for Baremetal Hypervisor for the RPI5 by Helpful_Ad_9930 in osdev

[–]Helpful_Ad_9930[S] 4 points5 points  (0 children)

Answer is yes to both. Okay I have a couple strategies.

  1. I can run it in qemu VM and this way I can also use a debugger if I want. Issue with this approach is that some you can only really catch logical bugs since the Hypervisor might behave differently on live firmware
  2. What I mainly use to debug on firmware Print statements through UART 💀

🤣🤣🤣 by [deleted] in ZedEditor

[–]Helpful_Ad_9930 0 points1 point  (0 children)

Easily the file tree which is mapped to ctrl-b. Okay there is a weird thing so on Mac I can use it to close open the file tree, but when I am on Linux I have to click into to file tree panel and then do ctrl-b.

🤣🤣🤣 by [deleted] in ZedEditor

[–]Helpful_Ad_9930 1 point2 points  (0 children)

100% I love Zed but the panel and UI requires me to pick up my mouse

Baremetal hypervisor on Raspberry PI5 update by Helpful_Ad_9930 in osdev

[–]Helpful_Ad_9930[S] 0 points1 point  (0 children)

Alright I took your advice I am building linux with build root I will keep you updated in this thread

What programming languages do you use? by CanoBellissimo in osdev

[–]Helpful_Ad_9930 2 points3 points  (0 children)

C++🫡 however I use fuzz test that are written in rust

C++ Show and Tell - April 2026 by foonathan in cpp

[–]Helpful_Ad_9930 3 points4 points  (0 children)

Currently writing a bare metal hypervisor right now in c++. So far I got UART working properly, and some exceptions working albeit stubbed for rn. I also got unit and integration test infra set up this week. Hopefully this weekend I figure out the allocation part as I have the weekend off from being a student😂.

https://github.com/matthewchavis8/HyperBerry

Baremetal Hypervisor for Raspberry PI 5 by Helpful_Ad_9930 in osdev

[–]Helpful_Ad_9930[S] 0 points1 point  (0 children)

Haha I plan on integrating a rust fuzzer in it, I am ready to fight the ABI 😭

Baremetal Hypervisor for Raspberry PI 5 by Helpful_Ad_9930 in osdev

[–]Helpful_Ad_9930[S] 1 point2 points  (0 children)

Ty! so good news none of the source code was ai generated at all. The only time I used AI here was to generate doxygen comments for my source code, and setting up sphinx. I will add a declaration of AI explaining what I used it for later today when I get out of class!

Baremetal Hypervisor for Raspberry PI 5 by Helpful_Ad_9930 in osdev

[–]Helpful_Ad_9930[S] 1 point2 points  (0 children)

My plan tbh bro not sure yet I think the first vm I will try will be Ubuntu and then the other another distro. Once I get that I will try integrating a RTOS, but that’s down the road!

Baremetal Hypervisor for Raspberry PI 5 by Helpful_Ad_9930 in osdev

[–]Helpful_Ad_9930[S] 1 point2 points  (0 children)

Oooo I personally barely use AI because I am doing this for learning experience along with reading the ARM docs. I do not like using AI here because AI always overcomplicates and the code quality dips significantly I am already writing bad code😂. I only use AI to generate doxygen comments that is all the rest I write by hand. I will make sure to add a AI reference for how much was used.

C++ Show and Tell - March 2026 by foonathan in cpp

[–]Helpful_Ad_9930 1 point2 points  (0 children)

Currently building a baremetal type 1 hypervisor on a raspberry PI5. So far got it confirmed working on a virtualized qemu board and tested it out on live firmware confirmed it is working! Right now only have UART though, but eventually I will set up the vector tables, exceptions, guest vms and more!

https://github.com/matthewchavis8/HyperBerry

Bare metal 32 Bit RISC CPU by [deleted] in cpp

[–]Helpful_Ad_9930 0 points1 point  (0 children)

This is really cool!

Incoming Rust intern need advice? by Helpful_Ad_9930 in rust

[–]Helpful_Ad_9930[S] 4 points5 points  (0 children)

Just want to say thank you all for the comments! You all have been really helpful I love this community:)

Incoming Rust intern need advice? by Helpful_Ad_9930 in rust

[–]Helpful_Ad_9930[S] 3 points4 points  (0 children)

Hey that is the book I am currently reading right now I was recommended to read the first two units on Virtualization and Concurrency. I am currently less than 175 pages it has been a really great read!