blob: 1a8d79ac1e7ad2d0053e4cac045a13739e937cff [file] [log] [blame] [view]
David Brown12b9ded2017-09-11 13:04:34 -06001# MCUboot
2
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +01003MCUboot is a secure bootloader for 32-bits microcontrollers.
4
David Brown12b9ded2017-09-11 13:04:34 -06005## Overview
6
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +01007MCUboot 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
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010011MCUboot 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/)
Almir Okato611ea502022-03-08 01:30:48 -030019- [Espressif](https://www.espressif.com/)
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010020- [Cypress/Infineon](https://www.cypress.com/)
David Brown12b9ded2017-09-11 13:04:34 -060021
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010022RIOT 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
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010028[project charter](https://github.com/mcu-tools/mcuboot/wiki/MCUboot-Project-Charter)
David Brown986c2122021-04-01 14:39:23 -060029for more details.
30
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010031## 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
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010040- [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)
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010043 - [Apache Mynewt](readme-mynewt.md)
44 - [Apache NuttX](readme-nuttx.md)
Fabio Utzig4dce6aa2018-02-12 15:31:32 -020045 - [RIOT](readme-riot.md)
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010046 - [Mbed OS](readme-mbed.md)
Almir Okato611ea502022-03-08 01:30:48 -030047 - [Espressif](docs/readme-espressif.md)
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010048 - [Cypress/Infineon](../boot/cypress/readme.md)
49 - [Simulator](../sim/README.rst)
50- Testing
51 - [Zephyr](testplan-zephyr.md) - Zephyr test plan
52 - [Apache Mynewt](testplan-mynewt.md) - Apache Mynewt test plan
53- [Release process](release.md)
54- [Project security policy](SECURITY.md)
Ruth Fuchss4023d622019-11-01 16:32:20 +010055- [Patch submission](SubmittingPatches.md) - information
Francesco Servidio4ff0c182021-10-20 15:27:16 +020056 on how to contribute to MCUboot
David Brownd2fcc212017-09-11 14:47:48 -060057
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010058The 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
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010063The 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
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010067## Source files
Sigvart M. Hovland68b30532018-09-29 18:58:55 +020068
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010069You 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
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010082## Joining the project
David Brown12b9ded2017-09-11 13:04:34 -060083
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010084Developers are welcome!
David Brown12b9ded2017-09-11 13:04:34 -060085
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010086Use 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)
Francesco Servidio18488632021-10-20 14:57:50 +020089* [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)