commit | ed4a53635a05029f6aaff8d44589cf8b19a06a24 | [log] [tgz] |
---|---|---|
author | Fabio Utzig <utzig@apache.org> | Tue Jul 30 12:43:23 2019 -0300 |
committer | David Brown <davidb@davidb.org> | Tue Jul 30 11:39:09 2019 -0500 |
tree | 43397a1f005a0e3ca8e2dfab920814b7393ac8b3 | |
parent | 8af7f793ae901df0b677c8c88de07ea9d10b959d [diff] |
Fix test/revert upgrade flash count When doing a test with fails, the total number of flash accesses is first calculated doing an upgrade without fails, which is then used to fail/resume at all test points. The count was always considering the setting of a permanent upgrade, which added 1 to the total count in a non-permanent upgrade. This amount was being discounted when running the test/revert with fails, although the discount was only ok for single images. This adds a new image constructor that does not run a permanent upgrade and thus gets the correct number of flash accesses for a test/revert no matter how many images are being tested. Signed-off-by: Fabio Utzig <utzig@apache.org>
This is mcuboot, version 1.3.1
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. 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!