commit | b0f0473352c8211e0d7c80e974e58331547db3d7 | [log] [tgz] |
---|---|---|
author | Fabio Utzig <utzig@apache.org> | Wed Jul 31 09:49:19 2019 -0300 |
committer | Fabio Utzig <utzig@utzig.org> | Wed Aug 07 14:33:36 2019 -0300 |
tree | 37c92e953e9f169d8649bd8741d796b64d0742e6 | |
parent | abec073f0f55f3523dcc2a5f25d47042fe098f4a [diff] |
Remove current_image global and macro updates Currently to determine which image is being operated on, there is a global variable called current_image which is used by most macros and APIs to correctly access the flash areas required by the bootloader. This moves this variable to the already existing state struct and refactors all macros and APIs to receive the current image by parameters. To maintain compatibility some of the macros were not updated and use image 0 when called. The definitions of FLASH_AREA_IMAGE_PRIMARY and FLASH_AREA_IMAGE_SECONDARY for Mynewt compatibility were moved out of bootutil sources to a Mynewt specific include file. 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!