You could start with this channel https://youtube.com/@writeyourownoperatingsystem though others can be found on the 'tube.
The university of Birmingham has an intro pdf https://www.cs.bham.ac.uk/~exr/lectures ... os-dev.pdf though it's x86 based - I cannot find the University of Cambridge Pi one except on Wayback e.g. https://web.archive.org/web/20121116042 ... orials/os/
A good overview of the process and requirements can be found at https://wiki.osdev.org/Getting_Started
Unless you are really a 'sucker for punishment' I would start with the Cosmos toolkit at https://www.gocosmos.org/ or Jake Sandlers work at https://jsandler18.github.io/ and maybe pick up the boot loader project at https://github.com/christinaa/rpi-open-firmware/
Note QEMU will let you get a lot further a lot faster before trying deploying on a 'real' Pi and gut feel most things will be easier on an older Pi that the new Pi 5 till the RP1 is understood by folk to help.
Do not forget there is the bare metal forum here at viewforum.php?f=72 where you may find like minded folk and gain understanding of boot loader hand off.
A couple of 'out on a limb' thoughts - Forth has been used as an OS before today and there is a bare metal Pascal on the Pi https://ultibo.org/
Though not 100% match - have a read of viewtopic.php?t=210741 for some dev tool thoughts.
Remember - an OS does not have to be as complex as Linux or Mac OS etc. It can be very very simple just giving some general i/o and memory support to your own programs - think even simpler than CP/M (yes I'm that old and did build CP/M for bare machines)...
Good luck.
The university of Birmingham has an intro pdf https://www.cs.bham.ac.uk/~exr/lectures ... os-dev.pdf though it's x86 based - I cannot find the University of Cambridge Pi one except on Wayback e.g. https://web.archive.org/web/20121116042 ... orials/os/
A good overview of the process and requirements can be found at https://wiki.osdev.org/Getting_Started
Unless you are really a 'sucker for punishment' I would start with the Cosmos toolkit at https://www.gocosmos.org/ or Jake Sandlers work at https://jsandler18.github.io/ and maybe pick up the boot loader project at https://github.com/christinaa/rpi-open-firmware/
Note QEMU will let you get a lot further a lot faster before trying deploying on a 'real' Pi and gut feel most things will be easier on an older Pi that the new Pi 5 till the RP1 is understood by folk to help.
Do not forget there is the bare metal forum here at viewforum.php?f=72 where you may find like minded folk and gain understanding of boot loader hand off.
A couple of 'out on a limb' thoughts - Forth has been used as an OS before today and there is a bare metal Pascal on the Pi https://ultibo.org/
Though not 100% match - have a read of viewtopic.php?t=210741 for some dev tool thoughts.
Remember - an OS does not have to be as complex as Linux or Mac OS etc. It can be very very simple just giving some general i/o and memory support to your own programs - think even simpler than CP/M (yes I'm that old and did build CP/M for bare machines)...
Good luck.
Statistics: Posted by MiscBits — Tue Mar 26, 2024 6:59 pm