commit | 884be206f926bd7fcd70a87b2f0cfad07c080cdb | [log] [tgz] |
---|---|---|
author | Mark Schulte <mschulte@lyft.com> | Mon Jul 09 14:39:53 2018 -0700 |
committer | Fabio Utzig <utzig@utzig.org> | Tue Jul 17 12:04:17 2018 -0300 |
tree | 6283d4db0ba85504e9b0f55333bbdb6248ff3f78 | |
parent | 0ccee8741db997341b319f3ad143cecb2dcd8404 [diff] |
imgtool: Adjust base_addr when injecting header If adding a header to a .hex file (using the command line "--pad-header"), the hex file gets shifted by header size. This may cause hard coded addresses to be off by "header-size", making the firmware unusable. Instead, adjust the base address by the header size, so the existing firmware in the hex file is loaded to the proper addresses. Signed-off-by: Mark Schulte <mschulte@lyft.com>
This is mcuboot, version 1.2.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!