Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Rustberry OS

This is a WIP kernel for RaspberryPi 3 written in Rust. Some code is taken from this Stanford class.

Requirements

You will nedd a nightly Rust installation. The fastest way is to use rustup. You will also need some tools, you can install the whole toolchain with:

$ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly
$ rustup component add rust-src llvm-tools-preview
$ cargo install cargo-xbuild cargo-binutils

Building

  • To build a debug kernel: DEBUG=1 make
  • To build a release kernel: make

Running

QEMU

To run the kernel in QEMU you can either run (you will need QEMU):

  • make run
  • qemu-system-aarch64 -kernel build/kernel8.img -M raspi3 -serial null -serial mon:stdio

Testing (WIP)

make test

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.