https://github.com/barrettotte/pi-learn-os
A toy Raspberry Pi 3B kernel for learning (unfinished)
https://github.com/barrettotte/pi-learn-os
arm-assembly operating-system raspberry-pi
Last synced: 2 months ago
JSON representation
A toy Raspberry Pi 3B kernel for learning (unfinished)
- Host: GitHub
- URL: https://github.com/barrettotte/pi-learn-os
- Owner: barrettotte
- License: mit
- Created: 2024-01-04T00:18:00.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-24T05:06:23.000Z (over 2 years ago)
- Last Synced: 2025-03-29T03:16:40.290Z (about 1 year ago)
- Topics: arm-assembly, operating-system, raspberry-pi
- Language: Assembly
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pi-learn-os
A toy Raspberry Pi 3B kernel for learning.
I wanted to learn the basics of operating system development on something besides x86.
## Implemented
- UART
- Exception level switching
- Basic interrupt handling
- Generic timer
- MMU and paging
## Unimplemented
- Mailboxes
- FAT16 filesystem and disk driver
- processes and process scheduling
- system calls
- ELF and user space programs
- much more...
## Development
```sh
# setup cross compiler
make toolchain
# build
make build
# emulate via Qemu
make run
```
## References
- https://wiki.osdev.org/ARM_Overview
- https://wiki.osdev.org/Raspberry_Pi_Bare_Bones
- https://en.wikipedia.org/wiki/Calling_convention#ARM_(A64)
- [Building an Operating System for the Raspberry Pi](https://jsandler18.github.io/)
- [Arm Cortex-A53 MPCore Processor Technical Reference Manual](https://developer.arm.com/documentation/ddi0500/latest/)
- [ARM Cortex-A Series Programmers Guide for ARMv8-A Instruction Set](https://developer.arm.com/documentation/den0024/a/The-A64-instruction-set)
- [BCM2837 ARM Peripherals](https://cs140e.sergio.bz/docs/BCM2837-ARM-Peripherals.pdf)