commit | c1f939d63f05d6cb49b2a763e002db6ec99673a3 | [log] [tgz] |
---|---|---|
author | Marti Bolivar <marti@opensourcefoundries.com> | Tue Nov 14 20:04:51 2017 -0500 |
committer | David Brown <davidb@davidb.org> | Mon Nov 20 18:10:29 2017 -0700 |
tree | 676d69d8d9ac4196415b4604e273227ff481aeb8 | |
parent | bf909a1fcc61aa81d7f5c5fd5d9095e1e33f2f47 [diff] |
bootutil: fix edge case when not validating slot 0 When not validating slot 0, we could be booting into an empty chip. This means we jump based on garbage data. Try to make this better by at least checking the magic number. Without this patch, booting with just the bootloader fails the Zephyr release tests. Signed-off-by: Marti Bolivar <marti@opensourcefoundries.com>
This is mcuboot, version 1.0.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.
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!