commit | b5b2f551cd08826581d2ab6583aadd85ab2d2711 | [log] [tgz] |
---|---|---|
author | Fabio Utzig <utzig@apache.org> | Fri Jun 30 10:03:47 2017 -0300 |
committer | Fabio Utzig <utzig@apache.org> | Thu Jul 13 21:24:03 2017 -0300 |
tree | 4fbc11a1d2c190f187f76503e2cbec6604edc949 | |
parent | 7b47ef7b70d6894b9edd03d434cfc39a124a8a29 [diff] |
Simplify status management This reworks much of the code, as well as tables, handling swap state to make them simpler. Only states that require an actual swap to be performed, perm/test/revert are checked for and acted upon. Other possible states try to default to no operation performed. One extra state, BOOT_SWAP_TYPE_PANIC, was added to differentiate between "soft" errors and unrecoverable ones (as flash read/write errors). Non well defined state changes after swap failures, as described in MCUB-59 were also clean up. This should also fix situations as described in MCUB-63, where images generated using imgtool (magic + image_ok set) are written to slot 0 and cause an incorrect "revert". 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