commit | d7d20756aa84a5e642681a68a8d854e50903377b | [log] [tgz] |
---|---|---|
author | Fabio Utzig <utzig@apache.org> | Thu Jul 13 16:03:25 2017 -0300 |
committer | Fabio Utzig <utzig@apache.org> | Thu Jul 13 21:24:03 2017 -0300 |
tree | 0327450ed1d11d80ae23d711f268c117dee6c448 | |
parent | b5b2f551cd08826581d2ab6583aadd85ab2d2711 [diff] |
Fix improper revert on imgtool generated FW This adds handling of the copy_done bit while evaluation a swap state. Since copy_done is only ever written when a swap finishes, it can be safely assumed that if copy_done is not set no swap was ever performed and the image was written directly to flash, and thus no revert is run. Signed-off-by: Fabio Utzig <utzig@apache.org>
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 easy software upgrade.
MCUboot is operating system and hardware independent, and relies on hardware porting layers from the operating system it works with. Currently mcuboot works with both the Apache Mynewt, and Zephyr operating systems, but more ports are planned in the future.
The MCUBoot project was originally taken from the Apache Mynewt operating system, which had secure boot and software upgrade functionality instrinsic to it. Currently development is heads down on a first release of MCUboot that works across both the Zephyr operating system and Apache Mynewt operating system.
For more information on what's being planned, and worked on, please visit:
https://runtimeco.atlassian.net/projects/MCUB/summary
Information and documentation on the bootloader is stored within the source, and on confluence:
https://runtimeco.atlassian.net/wiki/discover/all-updates
For more information in the source, here are some pointers:
Developers welcome! To join in the discussion, please join the developer mailing list:
http://lists.runtime.co/mailman/listinfo/dev-mcuboot_lists.runtime.co