blob: 02b7d095fc6288785647b8e29776824d5ffad0b7 [file] [log] [blame] [view]
David Brown12b9ded2017-09-11 13:04:34 -06001# MCUboot
2
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +03003MCUboot is a secure bootloader for 32-bits microcontrollers.
4
David Brown12b9ded2017-09-11 13:04:34 -06005## Overview
6
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +03007MCUboot defines a common infrastructure for the bootloader and the system flash
8layout on microcontroller systems, and provides a secure bootloader that
9enables easy software upgrade.
David Brown12b9ded2017-09-11 13:04:34 -060010
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030011MCUboot is not dependent on any specific operating system and hardware and
12relies on hardware porting layers from the operating system it works with.
13Currently MCUboot works with the following operating systems and SoCs:
14- [Zephyr](https://www.zephyrproject.org/)
15- [Apache Mynewt](https://mynewt.apache.org/)
16- [Apache NuttX](https://nuttx.apache.org/)
17- [RIOT](https://www.riot-os.org/)
18- [Mbed OS](https://os.mbed.com/)
19- [Espressif IDF](https://idf.espressif.com/)
20- [Cypress/Infineon](https://www.cypress.com/)
David Brown12b9ded2017-09-11 13:04:34 -060021
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030022RIOT is supported only as a boot target. We will accept any new port
23contributed by the community once it is good enough.
24
25MCUboot is an open governance project. See the [membership
David Brown986c2122021-04-01 14:39:23 -060026list](https://github.com/mcu-tools/mcuboot/wiki/Members) for current
27members, and the
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030028[project charter](https://github.com/mcu-tools/mcuboot/wiki/MCUboot-Project-Charter)
David Brown986c2122021-04-01 14:39:23 -060029for more details.
30
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030031## Documentation
32
33The MCUboot documentation is composed of the following pages:
David Brownd2fcc212017-09-11 14:47:48 -060034
Ruth Fuchss4023d622019-11-01 16:32:20 +010035- General - this document
Fabio Utzig4dce6aa2018-02-12 15:31:32 -020036- [Release notes](release-notes.md)
Ruth Fuchss4023d622019-11-01 16:32:20 +010037- [Bootloader design](design.md)
38- [Encrypted images](encrypted_images.md)
39- [imgtool](imgtool.md) - image signing and key management
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030040- [ECDSA](ecdsa.md) - information about ECDSA signature formats
Carles Cufi3b61e702018-01-23 15:43:46 +010041- Usage instructions:
Fabio Utzig4dce6aa2018-02-12 15:31:32 -020042 - [Zephyr](readme-zephyr.md)
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030043 - [Apache Mynewt](readme-mynewt.md)
44 - [Apache NuttX](readme-nuttx.md)
Fabio Utzig4dce6aa2018-02-12 15:31:32 -020045 - [RIOT](readme-riot.md)
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030046 - [Mbed OS](readme-mbed.md)
47 - [Espressif IDF](readme-espressif.md)
48 - [Cypress/Infineon](../boot/cypress/readme.md)
49 - [Simulator](../sim/README.rst)
David Brownd2fcc212017-09-11 14:47:48 -060050- Testing
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030051 - [Zephyr](testplan-zephyr.md) - Zephyr test plan
52 - [Apache Mynewt](testplan-mynewt.md) - Apache Mynewt test plan
Ruth Fuchss4023d622019-11-01 16:32:20 +010053- [Release process](release.md)
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030054- [Project security policy](SECURITY.md)
55- [Patch submission](SubmittingPatches.md) - information
56 on how to contribute to MCUboot
David Brownd2fcc212017-09-11 14:47:48 -060057
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030058The documentation page about [signed images](signed_images.md) is currently
59outdated. Follow the instructions in [imgtool](imgtool.md) instead.
David Brownd2fcc212017-09-11 14:47:48 -060060
David Brown12b9ded2017-09-11 13:04:34 -060061## Roadmap
62
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030063The issues being planned and worked on are tracked using GitHub issues. To
64give your input, visit [MCUboot GitHub
65Issues](https://github.com/mcu-tools/mcuboot/issues).
David Brown12b9ded2017-09-11 13:04:34 -060066
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030067## Source files
Sigvart M. Hovland68b30532018-09-29 18:58:55 +020068
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030069You can find additional documentation on the bootloader in the source files.
70For more information, use the following links:
71- [boot/bootutil](https://github.com/mcu-tools/mcuboot/tree/main/boot/bootutil) - The core of the bootloader itself.
72- [boot/boot\_serial](https://github.com/mcu-tools/mcuboot/tree/main/boot/boot_serial) - Support for serial upgrade within the bootloader itself.
73- [boot/zephyr](https://github.com/mcu-tools/mcuboot/tree/main/boot/zephyr) - Port of the bootloader to Zephyr.
74- [boot/mynewt](https://github.com/mcu-tools/mcuboot/tree/main/boot/mynewt) - Bootloader application for Apache Mynewt.
75- [boot/nuttx](https://github.com/mcu-tools/mcuboot/tree/main/boot/nuttx) - Bootloader application and port of MCUboot interfaces for Apache NuttX.
76- [boot/mbed](https://github.com/mcu-tools/mcuboot/tree/main/boot/mbed) - Port of the bootloader to Mbed OS.
77- [boot/espressif](https://github.com/mcu-tools/mcuboot/tree/main/boot/espressif) - Bootloader application and MCUboot port for Espressif SoCs.
78- [boot/cypress](https://github.com/mcu-tools/mcuboot/tree/main/boot/cypress) - Bootloader application and MCUboot port for Cypress/Infineon SoCs.
79- [imgtool](https://github.com/mcu-tools/mcuboot/tree/main/scripts/imgtool.py) - A tool to securely sign firmware images for booting by MCUboot.
80- [sim](https://github.com/mcu-tools/mcuboot/tree/main/sim) - A bootloader simulator for testing and regression.
David Brown12b9ded2017-09-11 13:04:34 -060081
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030082## Joining the project
David Brown12b9ded2017-09-11 13:04:34 -060083
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030084Developers are welcome!
David Brown12b9ded2017-09-11 13:04:34 -060085
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030086Use the following links to join or see more about the project:
David Brown12b9ded2017-09-11 13:04:34 -060087
Fabio Utzig970840c2020-01-22 12:26:04 -030088* [Our developer mailing list](https://groups.io/g/MCUBoot)
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030089* [Our Slack channel](https://mcuboot.slack.com/) <br />
90 Get [your invite](https://join.slack.com/t/mcuboot/shared_invite/MjE2NDcwMTQ2MTYyLTE1MDA4MTIzNTAtYzgyZTU0NjFkMg)
David Brown986c2122021-04-01 14:39:23 -060091* [Current members](https://github.com/mcu-tools/mcuboot/wiki/Members)
92* [Project charter](https://github.com/mcu-tools/mcuboot/wiki/MCUboot-Project-Charter)