blob: 05ef174cdaff3de7bb2ce67223e16ecca1c9898d [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
Andrzej Puzdrowski4e9d86a2022-09-08 15:51:38 +020041- [Serial Recovery](serial_recovery.md) - MCUmgr as the serial recovery protocol
Carles Cufi3b61e702018-01-23 15:43:46 +010042- Usage instructions:
Fabio Utzig4dce6aa2018-02-12 15:31:32 -020043 - [Zephyr](readme-zephyr.md)
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010044 - [Apache Mynewt](readme-mynewt.md)
45 - [Apache NuttX](readme-nuttx.md)
Fabio Utzig4dce6aa2018-02-12 15:31:32 -020046 - [RIOT](readme-riot.md)
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010047 - [Mbed OS](readme-mbed.md)
Almir Okato20e02092022-03-14 13:58:02 -030048 - [Espressif](readme-espressif.md)
hasheddan85b4e0b2023-01-29 10:45:24 -050049 - [Cypress/Infineon](https://github.com/mcu-tools/mcuboot/tree/main/boot/cypress/README.md)
50 - [Simulator](https://github.com/mcu-tools/mcuboot/tree/main/sim/README.rst)
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010051- Testing
52 - [Zephyr](testplan-zephyr.md) - Zephyr test plan
53 - [Apache Mynewt](testplan-mynewt.md) - Apache Mynewt test plan
54- [Release process](release.md)
55- [Project security policy](SECURITY.md)
Ruth Fuchss4023d622019-11-01 16:32:20 +010056- [Patch submission](SubmittingPatches.md) - information
Francesco Servidio4ff0c182021-10-20 15:27:16 +020057 on how to contribute to MCUboot
David Brownd2fcc212017-09-11 14:47:48 -060058
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010059The documentation page about [signed images](signed_images.md) is currently
60outdated. Follow the instructions in [imgtool](imgtool.md) instead.
David Brownd2fcc212017-09-11 14:47:48 -060061
David Brown12b9ded2017-09-11 13:04:34 -060062## Roadmap
63
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010064The issues being planned and worked on are tracked using GitHub issues. To
65give your input, visit [MCUboot GitHub
66Issues](https://github.com/mcu-tools/mcuboot/issues).
David Brown12b9ded2017-09-11 13:04:34 -060067
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010068## Source files
Sigvart M. Hovland68b30532018-09-29 18:58:55 +020069
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010070You can find additional documentation on the bootloader in the source files.
71For more information, use the following links:
72- [boot/bootutil](https://github.com/mcu-tools/mcuboot/tree/main/boot/bootutil) - The core of the bootloader itself.
73- [boot/boot\_serial](https://github.com/mcu-tools/mcuboot/tree/main/boot/boot_serial) - Support for serial upgrade within the bootloader itself.
74- [boot/zephyr](https://github.com/mcu-tools/mcuboot/tree/main/boot/zephyr) - Port of the bootloader to Zephyr.
75- [boot/mynewt](https://github.com/mcu-tools/mcuboot/tree/main/boot/mynewt) - Bootloader application for Apache Mynewt.
76- [boot/nuttx](https://github.com/mcu-tools/mcuboot/tree/main/boot/nuttx) - Bootloader application and port of MCUboot interfaces for Apache NuttX.
77- [boot/mbed](https://github.com/mcu-tools/mcuboot/tree/main/boot/mbed) - Port of the bootloader to Mbed OS.
78- [boot/espressif](https://github.com/mcu-tools/mcuboot/tree/main/boot/espressif) - Bootloader application and MCUboot port for Espressif SoCs.
79- [boot/cypress](https://github.com/mcu-tools/mcuboot/tree/main/boot/cypress) - Bootloader application and MCUboot port for Cypress/Infineon SoCs.
80- [imgtool](https://github.com/mcu-tools/mcuboot/tree/main/scripts/imgtool.py) - A tool to securely sign firmware images for booting by MCUboot.
81- [sim](https://github.com/mcu-tools/mcuboot/tree/main/sim) - A bootloader simulator for testing and regression.
David Brown12b9ded2017-09-11 13:04:34 -060082
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010083## Joining the project
David Brown12b9ded2017-09-11 13:04:34 -060084
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010085Developers are welcome!
David Brown12b9ded2017-09-11 13:04:34 -060086
Francesco Domenico Servidio50f11012021-11-03 13:48:58 +010087Use the following links to join or see more about the project:
David Brown12b9ded2017-09-11 13:04:34 -060088
Fabio Utzig970840c2020-01-22 12:26:04 -030089* [Our developer mailing list](https://groups.io/g/MCUBoot)
David Vincze8be24f82024-05-29 14:17:02 +020090* [Our Discord channel](https://discord.com/channels/1106321706588577904/1106322802308550716) <br />
91 Get [your invite](https://discord.com/invite/5PpXhvda5p)
David Brown986c2122021-04-01 14:39:23 -060092* [Current members](https://github.com/mcu-tools/mcuboot/wiki/Members)
93* [Project charter](https://github.com/mcu-tools/mcuboot/wiki/MCUboot-Project-Charter)