MCUboot
MCUboot is a secure bootloader for 32-bits microcontrollers.
Overview
MCUboot defines a common infrastructure for the bootloader and the system flash layout on microcontroller systems, and provides a secure bootloader that enables easy software upgrade.
MCUboot is not dependent on any specific operating system and hardware and relies on hardware porting layers from the operating system it works with. Currently MCUboot works with the following operating systems and SoCs:
RIOT is supported only as a boot target. We will accept any new port contributed by the community once it is good enough.
MCUboot is an open governance project. See the membership list for current members, and the project charter for more details.
Documentation
The MCUboot documentation is composed of the following pages:
- General - this document
- Release notes
- Bootloader design
- Encrypted images
- imgtool - image signing and key management
- ECDSA - information about ECDSA signature formats
- Serial Recovery - MCUmgr as the serial recovery protocol
- Usage instructions:
- Testing
- Zephyr - Zephyr test plan
- Apache Mynewt - Apache Mynewt test plan
- Release process
- Project security policy
- Patch submission - information on how to contribute to MCUboot
The documentation page about signed images is currently outdated. Follow the instructions in imgtool instead.
Roadmap
The issues being planned and worked on are tracked using GitHub issues. To give your input, visit MCUboot GitHub Issues.
Source files
You can find additional documentation on the bootloader in the source files. For more information, use the following links:
- boot/bootutil - The core of the bootloader itself.
- boot/boot_serial - Support for serial upgrade within the bootloader itself.
- boot/zephyr - Port of the bootloader to Zephyr.
- boot/mynewt - Bootloader application for Apache Mynewt.
- boot/nuttx - Bootloader application and port of MCUboot interfaces for Apache NuttX.
- boot/mbed - Port of the bootloader to Mbed OS.
- boot/espressif - Bootloader application and MCUboot port for Espressif SoCs.
- boot/cypress - Bootloader application and MCUboot port for Cypress/Infineon SoCs.
- imgtool - A tool to securely sign firmware images for booting by MCUboot.
- sim - A bootloader simulator for testing and regression.
Joining the project
Developers are welcome!
Use the following links to join or see more about the project: