071b3b8e0f
In the boot_image_validate_encrypted there was call to
flash_area_id_to_multi_image_slot, which tries to figure out
slot index from flash area and image index, and the result of the
call was not used for anything as slot index is hardcoded in the
next call to be 1 (secondary).
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
(cherry picked from commit
|
||
---|---|---|
.github/workflows | ||
boot | ||
ci | ||
docs | ||
ext | ||
ptest | ||
samples | ||
scripts | ||
sim | ||
testplan/mynewt | ||
zephyr | ||
.gitignore | ||
.gitmodules | ||
.mbedignore | ||
.travis.yml-disabled | ||
CODE_OF_CONDUCT.md | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
NOTICE | ||
README.md | ||
enc-aes128kw.b64 | ||
enc-aes256kw.b64 | ||
enc-ec256-priv.pem | ||
enc-ec256-pub.pem | ||
enc-rsa2048-priv.pem | ||
enc-rsa2048-pub.pem | ||
enc-x25519-priv.pem | ||
enc-x25519-pub.pem | ||
go.mod | ||
project.yml | ||
repository.yml | ||
root-ec-p256-pkcs8.pem | ||
root-ec-p256.pem | ||
root-ec-p384-pkcs8.pem | ||
root-ec-p384.pem | ||
root-ed25519.pem | ||
root-rsa-2048.pem | ||
root-rsa-3072.pem |
README.md
MCUboot
This is MCUboot version 2.1.0
MCUboot is a secure bootloader for 32-bits microcontrollers. It 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 How-tos
See the following pages for instructions on using MCUboot with different operating systems and SoCs:
There are also instructions for the Simulator.
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: