Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikhailms/learning-os
Learning how to build OS from scratch
https://github.com/mikhailms/learning-os
Last synced: 2 days ago
JSON representation
Learning how to build OS from scratch
- Host: GitHub
- URL: https://github.com/mikhailms/learning-os
- Owner: MikhailMS
- Created: 2023-07-03T21:20:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-03T19:22:29.000Z (over 1 year ago)
- Last Synced: 2024-11-08T15:39:55.112Z (about 2 months ago)
- Language: Rust
- Size: 62.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RADIUS OS
Following [this great tutorial](https://os.phil-opp.com/freestanding-rust-binary) in an effort to learn a bit more about OS and how to build one from scratch
## Pre-reqs:
1. Install package to create bootable images `cargo install bootimage`
2. Install QEMU: for macOS run `brew install qemu`## Build commands
0. (For completeness only) `cargo rustc -- -C link-args="-e __start -static -nostartfiles"` to build on macOS
1. To create bootable image `cargo bootimage`
2. To run image `qemu-system-x86_64 -drive format=raw,file=target/x86_64-radius_os/debug/bootimage-radius_os.bin` or `cargo run`## Notes