commit | 66ed29f64cd083bbad9d2b4a7f7e6e05d9153644 | [log] [tgz] |
---|---|---|
author | Fabio Utzig <utzig@apache.org> | Thu Oct 07 08:44:48 2021 -0300 |
committer | Fabio Utzig <utzig@utzig.org> | Thu Oct 07 12:40:24 2021 -0300 |
tree | 5cf4099661cbacb45c13ce49768e65754b99c3dc | |
parent | 4b82b2073078ca9a6a1526d9c880a2f0476ca52b [diff] |
sim: update ram load to use image size comparison When building images for testing they are aligned to a flash write size, which works fine for flash based comparisons, but since RAM is always reset to 0, if the flash is erased to 0xff, the final bytes of the alignment will differ even though they are not relevant (not part of the image itself). This commit adds a real image size parameter to the ImageData, so it can be used by the RAM load to compare only the relevant bits of the image (ignore the padding), and also updates the RAM test routine to use the correct image size. Signed-off-by: Fabio Utzig <utzig@apache.org>
This is mcuboot version 1.8.0-rc2
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 simple software upgrades.
MCUboot is operating system and hardware independent and relies on hardware porting layers from the operating. 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!