mcuboot/scripts/imgtool
David Vincze e574f2d617 boot: Introduce direct execute-in-place (XIP) mode
This patch introduces the direct execute-in-place (XIP) mode in addition
to the other upgrade modes (swap strategies, overwrite-only). When
direct-XIP is enabled with the MCUBOOT_DIRECT_XIP option, mcuboot
selects the newest valid image based on the image version numbers from
the image header, thereafter the selected image runs directly from its
flash partition (slot) instead of moving it. Therefore the images must
be linked to be executed from the given image slot. It means that in
direct-XIP mode either of the primary and the secondary slots can hold
the active image.

This patch is based on the NO_SWAP upgrade strategy which was first
introduced in the Trusted Firmware-M project.
Source TF-M version: TF-Mv1.0.

Change-Id: If584cf01ae5aa7208845f6a6fa206f0595e0e61e
Signed-off-by: David Vincze <david.vincze@linaro.org>
2020-08-12 09:39:44 +02:00
..
keys imgtool: Add x25519 key generation and getpriv 2020-04-10 17:56:14 -03:00
__init__.py Change imgtool version to 1.7.0a1 2020-08-05 09:05:14 -03:00
boot_record.py imgtool: Add CBOR encoded boot record to TLV area 2020-03-26 12:23:36 +01:00
image.py Add a way to specify custom TLVs. 2020-06-04 13:02:41 -06:00
main.py boot: Introduce direct execute-in-place (XIP) mode 2020-08-12 09:39:44 +02:00
version.py Add click handling of cli options 2018-06-05 10:58:01 -03:00