mcuboot/boot
Fabio Utzig 260ec45734 Fix erase of possible trailer leftover after reset
This fixes an issue where an image might be erased, but a trailer left
behind. It can happen if the image in the secondary slot did not pass
validation, in which case the whole slot is erased. If during the erase
operation, a reset occurs, parts of the slot might have been erased
while some have not. The concerning part is the trailer because it
might disable a new image from being loaded through mcumgr; so just get
rid of the trailer here, if the header is erased.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-07-10 06:57:08 -03:00
..
boot_serial zephyr: Convert from Zephyr to C99 types 2020-06-04 08:28:35 -06:00
bootutil Fix erase of possible trailer leftover after reset 2020-07-10 06:57:08 -03:00
cypress Use cypress cy-mbedtls-acceleration revision w/o HAL 2020-06-05 01:08:36 +03:00
mynewt boot: mynewt: add ECIES-X25519 support 2020-04-10 17:56:14 -03:00
zephyr boot/zephyr: add option to relocate interrupts to application 2020-06-23 15:25:29 -06:00