/rospi

Learning kernel programming using Rust and Raspberry Pi 5

Primary LanguageRustCreative Commons Zero v1.0 UniversalCC0-1.0

rospi

Learning kernel programming using Rust and Raspberry Pi 5.

Inspired by

Current status

  • start with an x86 target to get a working environment
  • To run: cargo run. This is enabled by some components and configuration. The bootimage tool enables bare-metal without a bootloader (e.g. GRUB). the llvm-tools-preview package is required for building. The config.toml defines additional build config (e.g. building core Rust and the custom target) as well as running the bootimage command automatically with cargo run. the rust-toolchain.toml file defines the toolchain channel (nightly is needed) and the x86_64-rospi.json configures the custom target.
    • cargo install bootimage
    • rustup component add llvm-tools-preview
    • .cargo/config.toml
    • rust-toolchain.toml
    • x86_64-rospi.json
    • Install QEMU is also required to run

Upcoming

Not necessarily in any order