wolfBoot/.github/workflows
Daniele Lacamera 3744aae33d ci: add stm32u5 dual-bank swap fallback test on m33mu
Add a GitHub Actions workflow covering the DUALBANK_SWAP fallback
scenario fixed by the previous commit, running on the m33mu emulator
(wolfboot-ci-m33mu image, which models the physical-bank BKER/SWAP_BANK
semantics of the STM32U5 flash controller).

The test drives three boots in a single emulator session with the
stm32u5-nonsecure-dualbank config:

  1. wolfBoot verifies a valid v2 image in the UPDATE partition,
     activates SWAP_BANK and reboots;
  2. the v2 app, now running from physical bank 2, stages a fake v3
     image with a broken integrity record into the logical UPDATE
     partition and reboots;
  3. wolfBoot selects the v3 update, fails verification, and must erase
     the corrupt update and fall back to v2, which reports success via
     breakpoint.

Besides the success breakpoint, the script checks the emulator flash
trace: the UPDATE partition must be erased and the BOOT partition
(holding the healthy image) must never be touched, so a regression
cannot hide behind an accidentally bootable state. Verified to fail
against the pre-fix hal_flash_erase, where boot 3 erases the healthy
image and the device bricks.
2026-07-09 15:14:51 +02:00
..
build-keytools-windows.yml Reduce timeout from default 360 minutes to 15 2025-10-06 13:16:26 -07:00
dualbank-emulator-tests.yml ci: add stm32u5 dual-bank swap fallback test on m33mu 2026-07-09 15:14:51 +02:00
footprint.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-build-aarch64.yml Address workflow timeout, full apt-get source replacements 2025-10-08 14:39:55 -07:00
test-build-cmake-dot-config.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-build-cmake-mac.yml Attempt to fix job failures 2025-11-26 18:09:28 +01:00
test-build-cmake-presets.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-build-cmake-script.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-build-cmake-windows.yml Improve docs, add targets and tests per https://github.com/wolfSSL/wolfBoot/pull/598#pullrequestreview-3492319645 2025-11-21 17:54:14 -08:00
test-build-cmake.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-build-kontron-vx3060-s2.yml Addressed copilot's comments 2026-04-28 15:22:41 +02:00
test-build-lms.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-build-mcux-sdk-manifests.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-build-mcux-sdk.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-build-pic32cx.yml
…
test-build-pico-sdk.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-build-powerpc.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-build-psoc6.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-build-riscv.yml Modernize riscv build test 2026-04-29 13:24:07 +02:00
test-build-sim-tpm.yml Reduce timeout from default 360 minutes to 15 2025-10-06 13:16:26 -07:00
test-build-stm32cube.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-build.yml Add wolfBoot port for STM32U3 (NUCLEO-U385RG-Q) 2026-04-27 17:00:41 +02:00
test-configs.yml Add DEBUG_UART build test for stm32wba. Fix stm32wba clock init 2026-07-02 08:44:45 +02:00
test-cppcheck.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-cryptocb-simulator.yml review feedback 2026-05-05 16:37:54 +02:00
test-custom-tlv-simulator.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-elf-scattered.yml Add oneshot hash build option 2026-04-17 08:25:51 +02:00
test-external-library-paths.yml Add WOLFCRYPT_TZ_WOLFHSM TrustZone engine for STM32H5 2026-06-24 15:49:43 -07:00
test-filesystem.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-hooks-simulator.yml Fixed regression in sim test, added sim test for denied rollback 2026-04-15 18:26:04 +02:00
test-keytools-msys2.yml Reduce timeout from default 360 minutes to 15 2025-10-06 13:16:26 -07:00
test-keytools.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-library.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-parse-tools.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-powerfail-simulator.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-renode-fastmath-smallstack.yml Proper migration of renode tests 2026-04-28 15:04:35 +02:00
test-renode-fastmath.yml Proper migration of renode tests 2026-04-28 15:04:35 +02:00
test-renode-noasm-smallstack.yml Proper migration of renode tests 2026-04-28 15:04:35 +02:00
test-renode-noasm.yml Proper migration of renode tests 2026-04-28 15:04:35 +02:00
test-renode-nrf52.yml Proper migration of renode tests 2026-04-28 15:04:35 +02:00
test-renode-sha3.yml Proper migration of renode tests 2026-04-28 15:04:35 +02:00
test-renode-sha384.yml Proper migration of renode tests 2026-04-28 15:04:35 +02:00
test-renode-smallstack.yml Proper migration of renode tests 2026-04-28 15:04:35 +02:00
test-sim-self-update.yml add ci test coverage for monolithic and self-update combined cases 2026-04-17 08:27:05 +02:00
test-sunnyday-simulator.yml Add SW-only RSA PSS 2026-04-28 15:02:57 +02:00
test-tpm.yml
…
test-units.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-vscode.yml Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
test-wolfhsm-simulator.yml make wolfHSM client ID parameterizable and settable via Makefiles 2026-06-16 22:03:28 -06:00
test-x86-fsp-qemu.yml Addressed copilot's comments 2026-04-28 15:22:41 +02:00
trustzone-emulator-tests.yml Add WOLFCRYPT_TZ_WOLFHSM TrustZone engine for STM32H5 2026-06-24 15:49:43 -07:00