commit | 29aed1d8bdeffb58ee58133b7daeec6195fd9b21 | [log] [tgz] |
---|---|---|
author | Dominik Ermel <dominik.ermel@nordicsemi.no> | Tue May 25 11:59:19 2021 +0000 |
committer | Fabio Utzig <utzig@utzig.org> | Sun May 30 08:14:04 2021 -0300 |
tree | 80f547f215b745f67a9e1f02c3a3d1152e4cb501 | |
parent | 0ab87b617a99340526fc955d991db0f04d9cfdb1 [diff] |
bootutil: Application of boot_read_swap_state The commit reorganizes logic of the boot_swap_sectors and the boot_set_pending_multi to use the boot_read_swap_state, instead of previously used boot_read_swap_state_by_id, to utilize the flash area object the functions area obtaining. It also fixes double a flash_area_open that happened implicitly within the boot_swap_sectors, as it has been calling boot_read_swap_state_by_id on the FLASH_AREA_IMAGE_SCRATCH, after it has already opened the area. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
This is mcuboot version 1.8.0-dev
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!