Hacker GitHub

← All repos

sypstraw/rpi4-osdev

View on GitHub ↗ ★ 3,777 C

Tutorial: Writing a "bare metal" operating system for Raspberry Pi 4

8 mentions on Hacker News by 8 people: 2 stories, 6 comments · first 2021-10-06 · latest 2023-06-22

Mentions per year 8 mentions · busiest year 2021 (6)
20082026
  1. ▲ 3
    Tutorial: Writing a bare metal operating system for Raspberry Pi 4
    story by annilt · 2023-06-22 · 0 comments
  2. …the best way to get into this type of low-level tinkering is by writing a simple operating system. https://github.com/isometimes/rpi4-osdev There are other courses/projects for other boards. The keyword is usually “baremetal”. For Linux…
  3. I forgot the RPi didn't use u-boot, but they use an equivalent. https://github.com/isometimes/rpi4-osdev/tree/master/part2-b... https://raspberrypi.stackexchange.com/questions/10489/how-do... You don't handle the CPU from the reset vector…
  4. Quick thanks to the OP for linking my project: https://www.rpi4os.com & https://github.com/isometimes/rpi4-osdev . I'm humbled to be mentioned here. So great to read the feedback! Feel free to get in touch.
  5. …interface with assembly language. The hard part is the linker-script to get this working right :-) https://github.com/isometimes/rpi4-osdev/blob/master/part1-b...
  6. …the firmware necessary to read from the sd card where this software is (presumably) stored? [1] https://github.com/isometimes/rpi4-osdev/blob/master/part1-b...
  7. Of all the sections in the tutorial, https://github.com/isometimes/rpi4-osdev/tree/master/part10-... is probably the best one for anyone to read. I don't think a lot of people grasp that all the cores on a system start running immediately…
  8. ▲ 453
    Writing a “bare metal” operating system for Raspberry Pi 4
    story by rcarmo · 2021-10-06 · 95 comments