Commit Graph

327 Commits (fb4dd67f6d7ac10c8dd2058bbd676a8a6c68f563)

Author SHA1 Message Date
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 4a53bd1627 Added support for running test-app and benchmarks. Added example trace32 scripts. 2026-03-05 17:49:37 +01:00
David Garske 1c18481fc0 Peer review fixes 2026-03-05 10:12:02 +01:00
David Garske ff8bb8336c Support for wolfBoot ZynqMP (UltraScale+ MPSoC) SD Card 2026-03-05 10:12:02 +01:00
Marco Oliverio 961bd4bb12 x86-qemu-fsp: fix wrong multiboot2 header_length in testapp 2026-03-05 09:43:32 +01:00
David Garske d509e91520 More peer review fixes. Fix the wolfCrypt test build. 2026-03-03 12:29:09 +01:00
David Garske 84d44439c2 More peer review fixes 2026-03-03 12:29:09 +01:00
David Garske cbaa132588 Fix for tools/scripts/va416x0/build_test.sh portability (MacOS)
Added option to support wolfCrypt test/benchmark in test-app
Add some checking if partition size is too large
2026-03-03 12:29:09 +01:00
Brett Nicholas 2c9e586467 self-header review feedback: parameterize test header comparison, fix typo 2026-02-27 11:39:51 +01:00
Brett Nicholas 4d31ef5502 Add self-header feature with support for sim and AURIX TC3xx 2026-02-27 11:39:51 +01:00
Daniele Lacamera bbd8afc798 Fixed DICE test failures 2026-02-11 13:06:43 +01:00
Daniele Lacamera ca51036447 Fixed linker script for emu-app, addressed more comments 2026-02-11 12:35:54 +01:00
Daniele Lacamera c4d49cdc73 Fix emu-test-apps linker scripts 2026-02-11 11:55:35 +01:00
Daniele Lacamera 47ad6c21ef Updated benchmark to run on rpi + stm32h563 2026-02-09 18:48:47 +01:00
David Garske 5b43fcc49a
Merge pull request #668 from danielinux/dice
Add support for DICE attestation + PSA attestation
2026-02-06 14:11:02 -08:00
David Garske d91555f3b4 Peer review fixes 2026-02-06 22:01:40 +01:00
David Garske da6e1abd8d Add MPFS250 QSPI support 2026-02-06 22:01:40 +01:00
Daniele Lacamera a20101d6df Add support for DICE attestation + PSA attestation 2026-02-06 18:36:47 +01:00
Mattia Moffa 28f4de6a9c Fix stm32h5 test-app pkcs11 command
InitToken needs to be run before OpenSession.
2026-02-05 21:35:39 +01:00
David Garske 9697f6a4f8 Versal SDCard support 2026-02-05 13:52:15 +01:00
David Garske 39085635c6
Merge pull request #676 from mattia-moffa/20260128-nxp-sdk-update
Update MCUXpresso SDK to new refactor
2026-01-29 17:49:42 -08:00
Mattia Moffa fed7eec0ad Update MCUXpresso SDK for iMX-RT too 2026-01-30 01:07:13 +01:00
Mattia Moffa 109dbd08d9 Update MCUXpresso SDK to new refactor
Updates targets using the deprecated
https://github.com/nxp-mcuxpresso/legacy-mcux-sdk to use
https://github.com/nxp-mcuxpresso/mcuxsdk-manifests instead.
2026-01-29 17:35:24 +01:00
David Garske 2c67f99507
Merge pull request #675 from mattia-moffa/20260123-wolfboot-cmake-fixes
Support stm32h5 TrustZone build via CMake
2026-01-28 13:02:29 -08:00
Mattia Moffa 4b5a3d1e13 Remove duplicated object, move up WOLFBOOT_DEFS_PUBLIC 2026-01-28 00:41:09 +01:00
Mattia Moffa d3bd8aaab0 test-app keystore.c fix 2026-01-27 19:04:45 +01:00
Mattia Moffa 6dfe2671f5 Support stm32h5 TrustZone build via CMake 2026-01-27 18:36:08 +01:00
David Garske 810be2d576
Merge pull request #671 from mattia-moffa/20260107-mcxn
NXP MCXN non-TrustZone + TrustZone port
2026-01-26 09:28:14 -08:00
David Garske 1e35087ce4 NXP S32K14X improvements from customer testing 2026-01-26 17:46:51 +01:00
David Garske ae63f60efc Fixes for EL2 -> EL1 on boot 2026-01-26 13:08:50 +01:00
David Garske ee3c313a66 Versal port cleanups 2026-01-26 13:08:50 +01:00
David Garske dad2888450 Fixes for getting the "test-app" booting 2026-01-26 13:08:50 +01:00
David Garske ae32d5b6f3 AMD/Xilinx Versal Gen 1 VMK180 wolfBoot support 2026-01-26 13:08:50 +01:00
David Garske e1bef7ac70 PolarFire PQC (ML-DSA) testing 2026-01-26 11:27:39 +01:00
Mattia Moffa d6bd791374 Remove temporary comment 2026-01-22 19:06:19 +01:00
Mattia Moffa 438c250288 MCXN non-TrustZone + TrustZone port 2026-01-22 18:55:46 +01:00
David Garske 4e3e55d53a Add NXP S32K1xx support with full update functionality
- HAL: Flash (FTFC), UART (LPUART1), Clock (FIRC 48MHz), Watchdog
- Requires NVM_FLASH_WRITEONCE=1 and RAM_CODE=1 for proper operation
- Test app with interactive console: status, trigger, success, reboot
- LED indicators: Green (v1), Blue (v2+)
- Flash automation script: tools/scripts/nxp-s32k142-flash.sh
- Tested on S32K142EVB with sector swap update

Supported variants: S32K142 (256KB), S32K144 (512KB), S32K146 (1MB), S32K148 (2MB)
2026-01-19 19:13:01 +01:00
Daniele Lacamera 9e7f6c24ec Fixes after reviewer's comment
- Fix misnamed STM32U585 register
- Remove emu-test-apps linker scripts as they are autogenerated
2026-01-19 12:37:37 +01:00
Daniele Lacamera 35f83be1a7 Update copyright in emu-test-apps files 2026-01-15 14:04:37 +01:00
Daniele Lacamera 15ea436530 Fixed trustzone emulation test for stm32l552 2026-01-15 13:54:10 +01:00
Daniele Lacamera 1ac1b608f2 Fixed stm32u5 WOLFBOOT_SECTOR_SIZE 2026-01-15 13:54:10 +01:00
Daniele Lacamera 97b6f3b63b Fixes for stm32u5, added workflow test 2026-01-15 13:54:10 +01:00
Daniele Lacamera 26f942aff1 Improved test, added scenario separation 2026-01-15 13:54:10 +01:00
Daniele Lacamera 8d16d9fb22 Fixed test to work in trustzone 2026-01-15 13:54:10 +01:00
Daniele Lacamera 7f2ce98d18 Minor log message rewords in emu-test 2026-01-15 13:54:10 +01:00
Daniele Lacamera 09a6292f7e Added 'emu-test-apps' + test.sh script for m33mu 2026-01-15 13:54:10 +01:00
Mattia Moffa b8f70ad57d Various small fixes for nrf5340 TrustZone PKCS11 2025-12-24 18:58:33 +01:00
David Garske 963cdadeaf Peer review fixes 2025-12-24 18:31:55 +01:00
David Garske 5f51e0febc Working Secure boot of PolarFire SoC 2025-12-24 18:31:55 +01:00