commit | 296949ef6dea8fc8f5fe566277bfd3fa984473cb | [log] [tgz] |
---|---|---|
author | Fabio Utzig <fabio.utzig@nordicsemi.no> | Tue Oct 06 18:18:43 2020 -0300 |
committer | Fabio Utzig <utzig@utzig.org> | Wed Oct 07 10:54:34 2020 -0300 |
tree | 4f14053cbbac0f28ada0540fbae28aa55974660b | |
parent | 2cbe5e2d03ee1bdb51a490f95859224ef2ec61f1 [diff] |
bootutil: fix swap-move brick with padded image0 When the image in the primary slot is padded, the boot source is considered the primary slot; this results in skipping the typical initialization of the trailer, which ends up bricking the device. As it is fine to always initialize the trailer in the primary slot when starting a new upgrade the extra check was removed. Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
This is mcuboot version 1.6.0
MCUboot is a secure bootloader for 32-bit MCUs. The goal of MCUboot is to define a common infrastructure for the bootloader, system flash layout on microcontroller systems, and to provide a secure bootloader that enables simple software upgrades.
MCUboot is operating system and hardware independent and relies on hardware porting layers from the operating. Currently, mcuboot works with both the Apache Mynewt and Zephyr operating systems, but more ports are planned in the future. RIOT is currently supported as a boot target with a complete port planned.
Instructions for different operating systems can be found here:
The issues being planned and worked on are tracked using GitHub issues. To participate please visit:
Issues were previously tracked on MCUboot JIRA , but it is now deprecated.
Information and documentation on the bootloader are stored within the source.
It was previously also documented on confluence: MCUBoot Confluence however, it is now deprecated and not currently maintained
For more information in the source, here are some pointers:
Developers welcome!