Commit Graph

122 Commits (52223853c4a603f22d4f2e4e802b3d3c7381fa6b)

Author SHA1 Message Date
David Garske b456d0eabb Fixes for X86 FSP QEMU test 2026-03-17 22:19:32 +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 4a53bd1627 Added support for running test-app and benchmarks. Added example trace32 scripts. 2026-03-05 17:49:37 +01:00
David Garske 88a32de298 Move .bif and add CI test 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
David Garske d509e91520 More peer review fixes. Fix the wolfCrypt test build. 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
Daniele Lacamera ca51036447 Fixed linker script for emu-app, addressed more comments 2026-02-11 12:35:54 +01:00
Daniele Lacamera 47ad6c21ef Updated benchmark to run on rpi + stm32h563 2026-02-09 18:48:47 +01:00
David Garske d2ba667332 Peer review fixes 2026-02-05 13:52:15 +01:00
David Garske 9697f6a4f8 Versal SDCard support 2026-02-05 13:52:15 +01:00
David Garske 1e35087ce4 NXP S32K14X improvements from customer testing 2026-01-26 17:46:51 +01:00
David Garske 330181cd65 Versal port cleanups and improvements 2026-01-26 13:08:50 +01:00
David Garske 16497fc5a2 Documentation and fixes for booting full PetaLinux with wolfBoot on Versal VMK180 2026-01-26 13:08:50 +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 472cab64ae Simplify the NXP S32 flash script 2026-01-19 19:13:01 +01:00
David Garske 4bbe28920c Fixes to wolfBoot self-update (memcmp was used which is not a RAMFUNCTION). 2026-01-19 19:13:01 +01:00
David Garske b92e2ca0cd Added `WOLFBOOT_REPRODUCIBLE_BUILD`. 2026-01-19 19:13:01 +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 af670811fe zephyr integration as TEE.
- Integrates wolfPSA as psa_crypto/psa_store engine in TrustZone
- Provides interface to access APIs from non-secure mode
- Patches to enable wolfboot as TEE module in zephyr
- Patches to enable stm32h563-nucleo/ns as target in zephyr
- psa_crypto zephyr example using wolfboot/wolfPSA as secure engine
2026-01-07 08:27:58 +01:00
Aidan Garske aa39be21a3 Address copilot review 2025-12-30 11:13:49 +01:00
Aidan Garske 145256ad29 Add Image Inspection Functionality to boot_status.py 2025-12-30 11:13:49 +01:00
gojimmypi c0ef637ae5 Introduce new wolfboot image inspection scripts 2025-12-30 11:13:49 +01:00
David Garske 2fc6fe8335 Peer review fixes 2025-12-24 18:31:55 +01:00
David Garske e055585942 Support for Microchip PolarFire SoC (MPFS250) 2025-12-24 18:31:55 +01:00
Mattia Moffa 5134eea96a Support WOLFCRYPT_TZ and PKCS11 on nRF5340 2025-12-13 04:05:32 +01:00
Brett Nicholas 57b874be2d Simplify use of user-supplied keys and certificates with test app via
new `USER_ variables`
2025-12-10 07:43:32 +01:00
David Garske 84bf772271
Merge pull request #598 from gojimmypi/pr-cmake-improvements
CMake Improvements
2025-11-25 10:27:13 -08:00
David Garske 95b91b8401
Merge pull request #641 from mattia-moffa/20251125-nrf5340-tz
nRF5340 TrustZone
2025-11-25 10:14:33 -08:00
David Garske d2ed8c0a67 Update submodules for release 2025-11-25 07:44:36 +01:00
Mattia Moffa 5fb5b4b6ea nRF5340 TrustZone port 2025-11-25 03:01:03 +01:00
gojimmypi 079fb006ab
Minor docs update, code review changes, script modifications. 2025-11-24 13:04:06 -08:00
gojimmypi 1ad66e9a6b
Improve docs, add targets and tests per https://github.com/wolfSSL/wolfBoot/pull/598#pullrequestreview-3492319645 2025-11-21 17:54:14 -08:00
gojimmypi 7d0e735522
doc polish 2025-11-20 17:05:12 -08:00
gojimmypi 030015ceb7
Merge branch 'master' of https://github.com/wolfSSL/wolfBoot into pr-cmake-improvements 2025-11-20 11:40:16 -08:00
Mattia Moffa 076eabcc54 Non-TZ nRF5340 fixes 2025-11-20 18:00:55 +01:00
Mattia Moffa d5b2b4728d Various STM32 TrustZone improvements
- New config flags for flash geometry
- New script to automatically set option bytes
- End of stack address fix for the STM32U5 test app
- STM32U5 support for NUCLEO-U575ZI-Q (previously only supported
  discovery board)
2025-11-20 18:00:55 +01:00
David Garske c2ed553da1 Added Vorago VA416x0 wolfBoot support
Added check on image header size and sector size.
Expanded the ML-DSA testing.
2025-11-19 11:11:28 +01:00
gojimmypi eaf029fbc5
CMake Improvements 2025-11-18 17:44:43 -08:00
Daniele Lacamera 10a0c0bfa0 Add simulator support for DUALBANK, test bank swap 2025-11-03 11:21:22 +01:00
Juliusz Sosinowicz 2345138a1b Implement filesystem-based partition state access and CLI tools
- Add filesystem access implementation in HAL (`hal/filesystem.c`)
- Introduce new library_fs target and build rules for filesystem-backed partition management
- Provide example configuration for library_fs
- Add CLI application (`hal/library_fs.c`) to query and manage partitions
- Update documentation with usage instructions and build steps for the new CLI tool
- Update .gitignore
2025-10-30 16:31:27 +01:00
Brett Nicholas 42cf7e9b70 TC3xx: Replace IDE/AURIX project with new HAL module 2025-10-08 11:03:44 -06:00
Brett Nicholas d689656a71 Add support for wolfHSM cert chain verification on TC3xx 2025-05-30 11:15:56 -06:00
Brett Nicholas 7660bf66f8 Add wolfHSM cert chain verification for ECC and RSA 2025-05-27 15:42:59 -06:00
Brett Nicholas 16e5b94e9d review comments 2025-05-09 19:06:33 -06:00
Brett Nicholas d49e507926 - Support external flash for elf scatter-loading
- Support ELF scatter-loading on TC3xx
- Modify TC3xx HAL flash erase to support arbitrary offsets and sizes
- Realign partition size and addresses to support more efficient sector mass erase on update
2025-05-08 08:50:26 -06:00