Commit Graph

287 Commits (1ce8234e49e601b47d881809f642cb76cfbe1456)

Author SHA1 Message Date
David Garske af40ae1471 Add STM32C5 target (NUCLEO-C5A3ZG) 2026-05-06 19:02:58 +02:00
Brett Nicholas e43e012e98 review feedback 2026-05-05 16:37:54 +02:00
Brett Nicholas a2e9267529 Adds generic cryptocb support for PK, hash, and symmetric crypto 2026-05-05 16:37:54 +02:00
David Garske 8c7b8640dd
Merge pull request #762 from danielinux/fenrir-fixes-2026-04-29
Fenrir fixes
2026-04-29 11:24:44 -07:00
Daniele Lacamera 1226776ff4 Modernize riscv build test 2026-04-29 13:24:07 +02:00
Daniele Lacamera c0f6b12721 Addressed copilot's comments 2026-04-28 15:22:41 +02:00
Daniele Lacamera 85f5b493c0 Proper migration of renode tests 2026-04-28 15:04:35 +02:00
Daniele Lacamera 2eb1368275 Workaround for test-build-kontron hanging apt + renode tests moved to wolfboot-ci 2026-04-28 15:04:35 +02:00
Brett Nicholas 25c0aaa8bd review: add additional RSA PSS test and bench coverage 2026-04-28 15:02:57 +02:00
Brett Nicholas 65d84a29ec Add SW-only RSA PSS 2026-04-28 15:02:57 +02:00
David Garske 980022de13 Add wolfBoot port for STM32U3 (NUCLEO-U385RG-Q)
New HAL port for the STM32U3 family (Cortex-M33, no TrustZone,
1MB dual-bank flash with 4KB pages, 64-bit double-word writes).

Features:
- hal/stm32u3.c, hal/stm32u3.h, hal/stm32u3.ld: flash driver,
  clock init (96 MHz MSIRC0 via EPOD booster), inline UART, ICACHE
- config/examples/stm32u3.config: ECC384/SHA384, DEBUG_UART=1,
  NVM_FLASH_WRITEONCE=1, RAM_CODE=1, dual-bank layout
- test-app/app_stm32u3.c: LED blink + UART output + version check
- tools/scripts/prepare_update_u3.sh: v2 pBOOT update image builder
- docs/Targets.md: STM32U3 section with build/flash/update instructions
- CI: stm32u3_test job + Clang rebuild coverage

Tested on NUCLEO-U385RG-Q:
- Verified boot with ECC384/SHA384 signature
- 96 MHz clock (MSIRC0 + SMPS + EPOD booster + VOS1)
- UART output on USART1 PA9/PA10 (ST-LINK VCP)
- TEST_FLASH erase/write/readback on both flash banks
- A/B firmware update (v1 -> v2 swap with pBOOT trigger)
2026-04-27 17:00:41 +02:00
David Garske 8b7ce4e4dd
Merge pull request #756 from danielinux/fTPM-TZ
Added support for fwTPM in TrustZone + STM32H5 test app
2026-04-22 14:10:19 -07:00
Daniele Lacamera c6c254403b Fixed path of config file for fwtpm tests in trustzone 2026-04-22 14:38:59 +02:00
David Garske 00313b3e43 Rename LPC54S018M to LPC54S0XX 2026-04-22 14:10:55 +02:00
David Garske eee953f823 Add tests and improve docs 2026-04-22 14:10:55 +02:00
Daniele Lacamera b22c85ed27 Added support for fTPM in TrustZone + STM32H5 test app 2026-04-21 20:53:48 +02:00
Brett Nicholas ce1f7f13c2 add ci test coverage for monolithic and self-update combined cases 2026-04-17 08:27:05 +02:00
Brett Nicholas f7ea40f7cc Add oneshot hash build option 2026-04-17 08:25:51 +02:00
Daniele Lacamera 4f050f2485 Trying to work around broken archive.ubuntu.com mirror 2026-04-16 18:39:39 +02:00
Daniele Lacamera 3118f7ad4e Fixed regression in sim test, added sim test for denied rollback 2026-04-15 18:26:04 +02:00
Mattia Moffa 941d3f2dd4 Fix GH workflow syntax error 2026-04-09 23:41:38 +02:00
Mattia Moffa 497295fd84 Address Copilot review 2026-04-09 16:18:25 +02:00
Mattia Moffa 5cd5a19966 Update test container to 1.3 2026-04-03 18:51:41 +02:00
Daniele Lacamera 92ed25d1ef Removed clang install + fix path in tests 2026-04-03 18:09:16 +02:00
Daniele Lacamera 9982734c55 Exclude stm32c0 (too small for clang) and stm32h5 (no ARMORED support) 2026-04-03 18:09:16 +02:00
Daniele Lacamera f7b2e5a279 Fix stdlib in clang, limit test to a few targets 2026-04-03 18:09:16 +02:00
Daniele Lacamera cd556ce7e6 Added clang pass for arm build tests 2026-04-03 18:09:16 +02:00
Daniele Lacamera cfbc3f0cfc Up to latest emulator container 2026-03-30 19:19:36 +02:00
Daniele Lacamera 47f58ad2f1 Moving trustzone test to, wolfboot-ci-m33mu CI to v1.0 2026-03-24 14:25:18 +01:00
Daniele Lacamera 87c1cb3709 Bump CI v0.9.5 2026-03-24 13:56:36 +01:00
Daniele Lacamera 1a5683cf70 Bump CI v0.9.4 2026-03-24 13:35:01 +01:00
Daniele Lacamera 81c6cf6326 Bump CI -> v0.9.3 2026-03-24 13:10:38 +01:00
Daniele Lacamera 42cbe1fbbf Bump ci v0.9.2 2026-03-24 12:57:59 +01:00
Daniele Lacamera 6b7448d4d1 CI version: up to 'latest' 2026-03-24 12:40:46 +01:00
Daniele Lacamera 4ffa24c05f Update CI + fix new findings with cppcheck 2.20 2026-03-24 12:19:44 +01:00
Daniele Lacamera 977ba182fb Refactoring CI workflows to run in containers (part 1) 2026-03-24 11:30:57 +01:00
Daniele Lacamera 71213cbdee up to m33mu:1.9 (from wolfssl ghcr) 2026-03-23 19:56:00 +01:00
Daniele Lacamera 2b235902ce Fix USART3 NS-permissions, for STM32L5 test, renamed mislabeled test 2026-03-20 20:19:56 +01:00
Daniele Lacamera 32446f34a8 Up to right m33mu version 2026-03-20 20:19:56 +01:00
Daniele Lacamera b8e241fd17 Fix PKCS11 two-steps test flow 2026-03-20 20:19:56 +01:00
Daniele Lacamera 0a183940e0 Move pkcs11/tz test to its own module in test-app
+ added m33mu two-runs test for persistent storage coverage
2026-03-20 20:19:56 +01:00
Mattia Moffa 558b6584ec Add GitHub workflows 2026-03-18 22:32:09 +01:00
Thomas Cook 9fecc9c3b7 Add .github workflow build tests 2026-03-18 11:53:26 +01:00
Mattia Moffa 1ab85fe576 Add github workflow 2026-03-18 09:15:00 +01:00
Daniele Lacamera ced551797f Fix xmalloc bucket size issue with "SPMATH=1 WOLFBOOT_SMALL_STACK=1"
+ Re-enabled old faulty tests

F/366
2026-03-12 09:28:51 +01:00
David Garske 4d2c7bb851 Fix CI build errors 2026-03-09 07:29:27 +01:00
David Garske d23943a5af PolarFire SoC M-Mode, QSPI and L2-LIM support
Adds support for running wolfBoot in **Machine Mode (M-mode)** on the PolarFire SoC MPFS250T, booting from eNVM and loading a signed application from **SC QSPI flash** into on-chip LIM (Loosely Integrated Memory). No HSS (Hart Software Services) or DDR is required. It also extends the existing PolarFire HAL with multi-hart support, L2 cache configuration, per-hart UART, and refactors shared code (SDHCI, SCB mailbox, linker/test-app) for both S-mode and M-mode builds.
2026-03-09 07:29:27 +01:00
David Garske a5356b830a NXP T2080 Port Refresh
* Initial port refresh for the NXP T2080 target
* IFC Flash driver and multi-core support on T2080
* Working wolfBoot test-app startup on T2080
* Support for NAII and Curtiss-Wright T2080 vendor boards
2026-03-05 17:49:37 +01:00
Brett Nicholas 2924646695 Add generic hook framework with provision for pre-init, post-init, and
boot hooks
2026-03-05 10:14:04 +01:00
David Garske 88a32de298 Move .bif and add CI test 2026-03-05 10:12:02 +01:00