commit | 74530753b40150080f61cfd9277b1fa7d4e3fa6f | [log] [tgz] |
---|---|---|
author | Fabio Utzig <utzig@apache.org> | Tue Feb 07 20:09:37 2023 -0300 |
committer | Fabio Utzig <utzig@utzig.org> | Thu Feb 09 20:15:02 2023 -0300 |
tree | dea1b8650178f4ad8d3085c8254c72124fd32cd9 | |
parent | bfdf934e3a9f6e39496f2434817df776ef35247d [diff] |
bootutil: fix swap with move reset issue Fix a swap corruption which occurs on the swap move algorithm when a reset happens exactly at the point after the last move up, and its status update. On restart the image headers should be read at the 2nd sector of the primary slot, but due to lacking initialization it is read on the first sector, and then fails. This error was masked on the simulator because of the use of a global variable, which retained its value on a "reset simulation". Fixes #1588 Signed-off-by: Fabio Utzig <utzig@apache.org>
This is MCUboot version 1.10.0-dev
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.
See the following pages for instructions on using MCUboot with different operating systems and SoCs:
There are also instructions for the Simulator.
The issues being planned and worked on are tracked using GitHub issues. To give your input, visit MCUboot GitHub Issues.
You can find additional documentation on the bootloader in the source files. For more information, use the following links:
Developers are welcome!
Use the following links to join or see more about the project: