David Garske
608610dc16
imx95_a55: add the Cortex-A55 target and a stage 1 replacing U-Boot SPL
2026-10-15 15:27:28 -07:00
David Garske
2c2a0438c1
hal: keep BENCHMARK_END valid on a build with printf compiled out
2026-10-15 15:26:59 -07:00
David Garske
cd4174ccc9
update_disk: fail closed when the boot-part DTB fixup does not land, and run it on the BL31 handoff
2026-10-07 20:44:28 -07:00
David Garske
8f4578c84e
Add optional boot confirmation and rollback for the disk boot path
2026-09-29 07:41:43 +02:00
David Garske
23989067ec
zynqmp: add non-cacheable DMA window and hal_dma_set_noncached()
2026-09-24 13:27:04 +02:00
Aidan Garske
c48a882cd9
Add a generic secure application handoff with a measured boot record
2026-09-22 15:35:42 +02:00
Daniele Lacamera
42e6dba558
pkcs11 store: invalidate the flash read cache after every commit
...
The store commits sectors with hal_flash_erase()/hal_flash_write() and
then reads them back through the memory map - sector_ptr(),
cache_get_sector()'s refill, and the raw magic reads in check_vault().
On a part that caches flash reads (STM32 ICACHE) those reads can return
pre-erase bytes. check_vault() is the worst case: a stale magic there
does not merely read wrong, it triggers restore_backup() or a full vault
re-initialisation, losing the token.
2026-09-10 10:45:55 +02:00
David Garske
88984858d5
Peer review fixes (thanks Jack)
2026-08-24 12:47:34 +02:00
David Garske
56651bde95
cm4: add Linux kernel FIT boot via firmware-provided DTB with injected bootargs
2026-08-24 12:47:34 +02:00
David Garske
5f40400e57
PolarFire SoC: address PR review
...
- wolfBoot_fit_memcpy: return int so a failed PDMA copy propagates instead
of being swallowed. The weak default (memcpy) returns 0; the MPFS250 PDMA
override returns -1 if any chunk's mpfs_pdma_memcpy() fails. Callers now
fail closed: fit_load_image_inner returns NULL (kernel load then panics
via update_disk.c), the update_disk DTS copy panics, and hal_dts_fixup
returns an error on a failed L2->DDR copy-back.
- options.mk: gate -DSTACK_SIZE_PER_HART behind RISC-V arch (RISCV/RISCV64).
The macro is only consumed by the RISC-V startup asm and the mpfs250-m.ld
sed token, so it is no longer emitted for PPC/ARM/other targets. The
unconditional default (?= 0) is kept because the linker sed always needs
a value to substitute.
2026-08-03 12:27:22 +02:00
David Garske
e718eed709
PolarFire SoC: LPDDR4 DDR init for MPFS250T Video Kit (M-Mode)
2026-08-03 12:27:22 +02:00
David Garske
d073ae4ddb
watchdog: add generic feed hook and RX driver
2026-07-30 15:32:31 +02:00
David Garske
14f6e4a298
Add wolfBoot FIT support for loading bitstream
2026-06-09 15:30:27 +02:00
Brett Nicholas
b8bc0a75e5
Add support for wolfHSM multi-root certificate verification
2026-05-26 17:37:50 +02:00
Yosuke Shimizu
f4d5340641
Add hardware-based DICE on mcxn
2026-05-21 20:49:20 +02:00
Daniele Lacamera
776378ca78
Preparing release v2.8.0 + update copyright
2026-04-16 13:11:56 +02:00
Daniele Lacamera
fff5222e2d
hal: document flash protect API contract
2026-04-09 14:54:14 +02:00
Daniele Lacamera
44c5b4ab0a
Protect bootloader before application boot
...
F/2255
2026-04-08 19:53:50 +02:00
Mattia Moffa
fcf72e008c
Remove NO_DIRECT_READ_OF_ERASED_SECTOR option; write after erase instead
2026-03-18 11:53:26 +01:00
Thomas Cook
dd4312679b
Deploy NO_DIRECT_READ_OF_ERASED_SECTOR to protect against hardfault with AHB read of erased sector.
2026-03-18 11:53:26 +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
Daniele Lacamera
a20101d6df
Add support for DICE attestation + PSA attestation
2026-02-06 18:36:47 +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
609fd81890
Fixes for PolarFire SoC eMMC/SD to stabilize and add read DMA support. Refactor the RISC-V boot/vector code for use on both 32-bit and 64-bit architectures.
2025-12-30 11:10:21 +01:00
gojimmypi
fbd8dcf8a2
Update Copyright year to 2025
2025-10-15 11:33:53 -07:00
Brett Nicholas
1febfd906e
unify global HAL names between server/client, update docs
2025-06-25 12:17:39 +02:00
Brett Nicholas
c106d92a48
wolfHSM server support with X509 auth
2025-06-25 12:17:39 +02:00
Marco Oliverio
4154057649
hal: add missing include in hal.h
2025-06-09 16:29:31 +02:00
Brett Nicholas
7660bf66f8
Add wolfHSM cert chain verification for ECC and RSA
2025-05-27 15:42:59 -06:00
Brett Nicholas
78e4275f99
Initial wolfHSM support for simulator and AURIX TC3xx
2024-11-13 09:52:49 +01:00
David Garske
322aa325b6
Consolidate duplicate TEST_FLASH code.
2024-10-11 10:29:59 +02:00
David Garske
8a7f5e5baa
Refactor to eliminate PLATFORM_ -> TARGET_. Fix CI errors.
2024-08-14 18:06:12 +02:00
Daniele Lacamera
307e3b426c
otp_keystore_primer: fixed provisioning + readonly
2024-05-20 10:58:43 +02:00
Daniele Lacamera
9dd8b7cf97
Renamed FLASH_OTP_ROT to FLASH_OTP_KEYSTORE
2024-05-15 10:55:47 +02:00
Daniele Lacamera
572e1157bc
Added "otp-keystore-primer" tool
2024-05-15 10:55:46 +02:00
Daniele Lacamera
62a5b9f8fa
Export hal functions for OTP read/write access
2024-05-15 10:55:46 +02:00
Daniele Lacamera
3ec982109c
STM32H5: added support for TrustZone
...
- Unified TZ support for STM32L5, STM32H5, STM32U5
- Fixed/added example configuration files
- Expanded documentation
- Added new configurations to automated tests
2024-05-09 16:33:40 +02:00
Daniele Lacamera
fce6149cf8
Update license GPL2 -> GPL3
2024-04-16 16:46:15 +02:00
Daniele Lacamera
e2ab9a5553
Unified TZ support for STM32L5/U5
...
- added file with common code
- added support for TRNG on U5
- added support for wolfcrypt NSC on U5
2023-09-21 07:57:18 +02:00
Daniele Lacamera
fd809c5b69
Expanded WCS interface
...
- Added TRNG driver for STM32L5
- Link with correct objects in test-app
- Expanded wc_callable interface
2023-09-21 07:57:18 +02:00
David Garske
b9949b0a0c
For the hal_flash API's make the change to uintptr_t to support 64-bit explicit using `ARCH_64BIT` or known 64-bit architectures.
2023-08-07 20:54:18 +02:00
David Garske
7190392245
Simulator fixes and support for using MacOS:
...
* Added simulator support for Mac.
* Fix for simulator to properly assemble wolfboot.bin + signedtestapp + update + swap.
* Fixes for handling 64-bit assigned mmap virtual addresses. Added hal_flash_write and hal_flash_erase support for 64-bit address using uintptr_t. Enabled if platform is 64-bit and `FORCE_32BIT` is not defined
* Fix simulator conflict with src/libwolfboot.o object in test-app.
* Cleanup test-app linker flags.
2023-08-07 20:54:18 +02:00
David Garske
8dd0ee347f
Support for the STM32 OCTOSPI peripheral.
2023-02-02 12:11:23 -08:00
David Garske
a9526bab8f
STM32 QSPI Flash support. Refactor SPI to allow different GPIO base/AF for each pin. Adds `DEBUG_UART` support for H7.
2022-12-20 13:31:28 +01:00
Lealem Amedie
18bfcecd6b
wolfBoot cmake support
2022-12-07 13:00:10 -08:00
Daniele Lacamera
a6fdec3901
self-encrypt prototype; tested on stm32l0
2022-09-21 18:49:52 +02:00
Daniele Lacamera
93dd53ac0f
Fixed support for raspberry-pi
2022-07-21 20:18:34 +02:00
David Garske
6068a8047c
wolfBoot improvements (from elms):
...
* Add `WOLFBOOT_DUALBOOT` for dynamic fallback
* Refactor header field parsing
* Cleanup compiler warnings and logic extra check
* Option to leave out partition based functions
* Add `WOLFBOOT_FIXED_PARTITIONS` enable using partition enum and related functions
* Wrap all delta update references
* Update raspberry documentation
* EFI refactoring
* Add `keytools_check` target
* Add "library" target
2022-05-20 08:06:07 +02:00
David Garske
d38de3b432
Update copyright year
2021-07-19 07:50:02 -07:00