commit | 51181cf34ff7abedd6a09eb1675c260e3e4d00be | [log] [tgz] |
---|---|---|
author | Marti Bolivar <marti.bolivar@linaro.org> | Mon Mar 20 11:03:41 2017 -0400 |
committer | Marti Bolivar <marti.bolivar@linaro.org> | Tue Mar 21 15:39:46 2017 -0400 |
tree | 23230c1e305e72b5bf2cb77f1bec899f76a0d560 | |
parent | 1011b433c21c107543e05e32fb99ad8cfe938246 [diff] |
zephyr: add "real" target header MCUBOOT_TARGET_CONFIG is included in several places now, not just boot/zephyr/main.c. This seems likely to continue. Let's avoid trouble and make it a real header file, target.h, that pulls in MCUBOOT_TARGET_CONFIG. That done, include target.h instead everywhere MCUBOOT_TARGET_CONFIG is included. This will make it easier to provide values at an SoC/family level later. We can expect different Zephyr boards to have the same SoC and thus likely the same mcuboot flash layout, so this will avoid duplication. All supported boards are compile-tested. Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
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.
The MCUBoot project was originally taken from the Apache Mynewt operating system, which had secure boot and software upgrade functionality instrinsic to it. Currently development is heads down on a first release of MCUboot that works across both the Zephyr operating system and Apache Mynewt operating system.
For more information on what's being planned, and worked on, 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! To join in the discussion, please join the developer mailing list: