commit | 259d989f2e043c8860138e677ab34d1086ddc9f4 | [log] [tgz] |
---|---|---|
author | Stephane Le Roy <stephane.leroy@st.com> | Thu Aug 26 10:51:24 2021 +0200 |
committer | Fabio Utzig <utzig@utzig.org> | Wed Mar 15 15:12:24 2023 -0300 |
tree | ae857f096eccea1325aad013b0ad4001ee6d7701 | |
parent | e8294b2af5ef781bba82208a6801b42e47467855 [diff] |
bootutil: Fix erase of trailer when located in scratch area Trailer is temporary located in scratch when data of image goes up to last sector of primary slot. At the end of the swap procedure, the temporary trailer in scratch must be erased to prevent mcuboot from reading a stale status from the scratch area. The erase tentative was not correct, this is fixed.Issue is easily reproduced with an image size of one sector. Signed-off-by: Stephane Le Roy <stephane.leroy@st.com> Signed-off-by: Michel Jaouen <michel.jaouen@st.com>
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: