commit | e829e9d9aa061a24baef4f72ebcd32074f7649a5 | [log] [tgz] |
---|---|---|
author | Håkon Øye Amundsen <haakon.amundsen@nordicsemi.no> | Fri Nov 12 14:01:01 2021 +0000 |
committer | David Brown <davidb@davidb.org> | Thu Nov 18 15:07:01 2021 -0700 |
tree | 5b66a4989e0873df56e0a6bf6ac02565d6d7ad15 | |
parent | 4b2f9ce62f608bec85ed64f985254b3cda7bf17d [diff] |
loader: add checking of reset address In a multi image context it is possible for a user to upload an image to the wrong secondary slot. As the same key is used for both images MCUboot will overwrite image 0 with a variant of image 1. If direct overwrite is enabled it is not trivial to recover from this. To mitigate this issue we introduce a check of the reset address within the vector table. If the reset address in the new image is not contained within the primary slot the image is deemed incorrect and is deleted from the secondary slot Signed-off-by: Håkon Øye Amundsen <haakon.amundsen@nordicsemi.no>
This is MCUboot version 1.8.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!