commit | b788c71c08394a403d7755d6f9dd3fd53e9d3d9c | [log] [tgz] |
---|---|---|
author | Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no> | Thu Apr 12 12:42:49 2018 +0200 |
committer | Fabio Utzig <utzig@utzig.org> | Wed May 16 16:05:17 2018 -0300 |
tree | baeb283104bed15b63be01d65ec8e204f1215f9e | |
parent | aa70dae2ab03c406ba7308961a27f695166c909e [diff] |
Replace mcuboot flash_map by zephyr flash_map The patch introduce usage of zephyr flas_map module instead of mcuboot zephyr-only implementation. Unused flash_area_to_sectors API of former flash_map was removed as well. Size of sector-status-update-map entry is now defined thanks to the minimum write size supported by the flash driver. For avoid ambiguity former zephyr-only files flash_map.c were renamed to flash_map_extended.c (its code now implements only addition to this what zephyr flash_map implements). flash_map.h header include is now warped by flash_map_backedn.h headre because implementations and include pathes are diferent in Zephyr and Mynewt. Usage of hal_flash_align() were replaced by usage flash_area_align(). This provide consistency between MyNewt and Zephyr implementation as this API is available in both RTOSes. flash_map.h was moved to the simulator c-support files as now missing in the boot/zephyr subdirectories. f. boot_scratch_fa_device_id was removed as unused. f. boot_img_fa_device_id was and expanded the only use of it (on loader.c). Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
This is mcuboot, version 1.1.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 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 on Jira. To participate 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!