zephyr/tests/boot/test_mcuboot
Daniel DeGrasse 0dacc2583d tests: boot: add mcuboot test
Add test to verify mcuboot support. This test is only enabled for specific
platforms, since it it not possible to filter for mcuboot support.
Sysbuild support is required to flash multiple samples using twister.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-10-04 14:06:58 -04:00
..
src tests: boot: add mcuboot test 2022-10-04 14:06:58 -04:00
swapped_app tests: boot: add mcuboot test 2022-10-04 14:06:58 -04:00
CMakeLists.txt tests: boot: add mcuboot test 2022-10-04 14:06:58 -04:00
prj.conf tests: boot: add mcuboot test 2022-10-04 14:06:58 -04:00
README.rst tests: boot: add mcuboot test 2022-10-04 14:06:58 -04:00
sysbuild.cmake tests: boot: add mcuboot test 2022-10-04 14:06:58 -04:00
sysbuild.conf tests: boot: add mcuboot test 2022-10-04 14:06:58 -04:00
testcase.yaml tests: boot: add mcuboot test 2022-10-04 14:06:58 -04:00

MCUBoot Swap Testing
#####################

Tests MCUBoot's image swap support. This application is built in three parts
using sysbuild. The first application is the MCUBoot bootloader. The second
application is the main sysbuild target, and will request an image swap
from MCUBoot when booted. The third application is build with a load address
adjustment using CONFIG_BUILD_OUTPUT_ADJUST_LMA, and will be the application
that MCUBoot swaps to when the image swap is requested.

This sequence of applications allows the test to verify support for the MCUBoot
upgrade process on any platform supporting it.