All Projects → nihalpasham → rustBoot

nihalpasham / rustBoot

Licence: MIT license
rustBoot is a standalone bootloader written entirely in `Rust`, designed to run on anything from a microcontroller to a system on chip. It can be used to boot into bare-metal firmware or Linux.

Programming Languages

rust
11053 projects
assembly
5116 projects

Projects that are alternatives of or similar to rustBoot

Daplink
Stars: ✭ 1,162 (+1073.74%)
Mutual labels:  microcontroller, cortex-m, firmware
Cortex M
Low level access to Cortex-M processors
Stars: ✭ 379 (+282.83%)
Mutual labels:  microcontroller, cortex-m
Modm
modm: a C++20 library generator for AVR and ARM Cortex-M devices
Stars: ✭ 375 (+278.79%)
Mutual labels:  microcontroller, cortex-m
Cortex M Rtic
Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers
Stars: ✭ 623 (+529.29%)
Mutual labels:  microcontroller, cortex-m
Svd2rust
Generate Rust register maps (`struct`s) from SVD files
Stars: ✭ 347 (+250.51%)
Mutual labels:  microcontroller, cortex-m
Distortos
object-oriented C++ RTOS for microcontrollers
Stars: ✭ 354 (+257.58%)
Mutual labels:  microcontroller, cortex-m
Pyocd
Open source Python library for programming and debugging Arm Cortex-M microcontrollers
Stars: ✭ 550 (+455.56%)
Mutual labels:  microcontroller, cortex-m
mdepx
MDEPX — A BSD-style RTOS
Stars: ✭ 17 (-82.83%)
Mutual labels:  microcontroller, cortex-m
Utensor
TinyML AI inference library
Stars: ✭ 1,295 (+1208.08%)
Mutual labels:  microcontroller, cortex-m
IntrOS
Free cooperative operating system (OS) for microcontrollers
Stars: ✭ 38 (-61.62%)
Mutual labels:  microcontroller, cortex-m
Nf Interpreter
⚙️ nanoFramework Interpreter, CLR, HAL, PAL and reference target boards
Stars: ✭ 168 (+69.7%)
Mutual labels:  microcontroller, firmware
Tock
A secure embedded operating system for microcontrollers
Stars: ✭ 3,258 (+3190.91%)
Mutual labels:  microcontroller, cortex-m
M7M01 MuEukaron
An capability-based microkernel general-purpose operating system focusing on scalability, predictability, mixed-criticality and recoverability. THIS PROJECT IS IN PREVIEW STATE CURRENTLY
Stars: ✭ 79 (-20.2%)
Mutual labels:  microcontroller, cortex-m
Cortex M Quickstart
Template to develop bare metal applications for Cortex-M microcontrollers
Stars: ✭ 372 (+275.76%)
Mutual labels:  microcontroller, cortex-m
rnk
rnk is a RTOS targeting ARM architecture.
Stars: ✭ 22 (-77.78%)
Mutual labels:  microcontroller, cortex-m
Stm32 Bootloader
Customizable Bootloader for STM32 microcontrollers. This example demonstrates how to perform in-application-programming of a firmware located on an external SD card with FAT32 file system.
Stars: ✭ 541 (+446.46%)
Mutual labels:  microcontroller, firmware
xForth
Experimental Forth cross compiler for tiny devices
Stars: ✭ 53 (-46.46%)
Mutual labels:  microcontroller, cortex-m
StratifyOS
A Powerful embedded RTOS for ARM Cortex M microcontrollers
Stars: ✭ 94 (-5.05%)
Mutual labels:  microcontroller, firmware
stm32f103xx
DEPRECATED
Stars: ✭ 31 (-68.69%)
Mutual labels:  microcontroller, cortex-m
Xpcc
DEPRECATED, use our successor library https://modm.io instead
Stars: ✭ 177 (+78.79%)
Mutual labels:  microcontroller, cortex-m

GitHub ci chat

rustBoot

rustBoot is a standalone bootloader, written entirely in Rust, designed to run on anything from a microcontroller to a system on chip. It can be used to boot into bare-metal firmware or Linux.

rustBoot

Why rustBoot?

rustBoot aims to offer an OS and micro-architecture agnostic (i.e. highly portable) secure bootloader which is standards-compatible and easy to integrate into existing embedded software projects.

What is rustBoot

Features currently supported:

  • support for ARM Cortex-M, Cortex-A micro-architectures
  • support for multi-slot partitioning of microcontroller flash memory. This allows us to implement the boot/update approach for bare-metal firmware updates.
  • support for Aarch64 linux booting
  • elliptic curve cryptography for integrity and authenticity verification using RustCrypto crates
  • a tiny hardware abstraction layer for non-volatile memory (i.e. flash) access.
  • anti-rollback protection via version numbering.
  • a fully memory safe core-bootloader implementation with safe parsers and firmware-update logic.
  • power-interruptible firmware updates along with the assurance of fall-back availability.
  • a signing utility to sign bare-metal firmware and fit-image(s), written in pure rust.

Features planned:

  • support for external flash devices (ex: SPI flash) and serial/console logging interfaces.
  • support for ARM TrustZone-M and A and certified secure hardware elements - microchip ATECC608a, NXP SE050, STSAFE-100
  • support for secure, distributed and efficient firmware transport method over ipfs.

Documentation:

You can read the book for free online..

Note: rustBoot and the book are still in development (i.e. a work in progress).

Acknowledgment:

rustBoot's design was influenced by wolfBoot. It borrows wolfBoot's reliable-update design idea and builds on it with rust's memory safety guarantees, safer parsing libraries, compile-time state-transition checks and easy integration with crates (such as boards, HALs drivers etc.) developed by the embedded-rust community.

Support:

For questions, issues, feature requests, and other changes, please file an issue in the github project.

License:

rustBoot is licensed under

Contributing:

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the MIT license, shall be licensed as above, without any additional terms or conditions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].