David Garske
c2a85fbf32
Merge pull request #535 from bigbrett/tc3xx-ads1.10.6-prjupdates
...
TC3xx: Fixes for ADS 1.10.6
2025-01-20 10:44:19 -08:00
jordan
e2db8d58c4
Remove external ext_lms, ext_xmss pq integrations.
2025-01-20 16:38:24 +01:00
Brett Nicholas
a22a9b1686
tc3xx: fix wolfBoot-tc3xx project and wbaurixtool.sh to properly generate macros for non-HSM projects
2025-01-08 12:20:06 -07:00
Marco Oliverio
7008f68707
kontron-vx3060-s2: simplify example, add build test, improve docs
2024-12-19 20:12:16 +01:00
Marco Oliverio
834a712350
fsp: move TempRamInitExit and later APIs in stage2
...
To avoid using Flash memory after TempRamInitExit. This protects against
malicious modification/injection of the flash after Cache-As-RAM is
disabled.
2024-12-19 20:12:16 +01:00
Brett Nicholas
4b8e4b7907
Additional fixes for new keytool features introduced in #521
2024-12-16 19:12:23 +01:00
Brett Nicholas
ceffc788dd
- support for wolfHSM ML-DSA on simulator and AURIX (DMA only)
...
- consolidate AURIX scripts into wbaurixtool.sh
- documentation updates
2024-12-16 19:12:23 +01:00
Daniele Lacamera
04d2ecd246
Remove dependency from PQC parameters. Speed up tests.
2024-12-02 18:55:32 +01:00
Daniele Lacamera
75efbd9cfb
Removed all compile-time dependency from keytools
2024-11-26 13:17:00 +01:00
Brett Nicholas
78e4275f99
Initial wolfHSM support for simulator and AURIX TC3xx
2024-11-13 09:52:49 +01:00
Daniele Lacamera
d7a45db083
Added benchmark for Hybrid modes
2024-10-30 13:17:09 +01:00
Daniele Lacamera
72a0aa3853
Added Benchmark script. Added ARMASM support.
2024-10-24 21:20:09 +02:00
jordan
b97abd4ace
Add ML-DSA support.
2024-10-14 10:13:52 +02:00
David Garske
d803a20217
Switch to using IPC for communicating state. Prevents possible hard fault on network core reset. Cleanup make logic for using custom partition id (WOLFBOOT_PART_ID). On net update allow app core to continue booting if synchronization is enabled.
2024-10-11 10:29:59 +02:00
David Garske
7260ecbcbb
Added tests for delta updates. Added logging for delta version errors. Added `SIGN_OPTIONS_EXTRA`.
2024-10-11 10:29:59 +02:00
David Garske
f6c12839f3
Enable ECC384 and SHA384. Fix sleep_us. Add Cortex-M hard-fault handler support.
2024-10-11 10:29:59 +02:00
David Garske
1a38293d47
Improve the nRF5340 build script to support arguments.
2024-10-11 10:29:59 +02:00
David Garske
ab59175427
Fix for nRF5340 `uart_write` issue with memchr args, which caused occasional corrupt characters to be printed. Improve core state description in logging. Enabled network core test app GPIO work on `LED2 P0.29`.
2024-10-11 10:29:59 +02:00
David Garske
2cf70f0dbd
Fix for the `set_trailer_at` with external flash to use 32-bit write using cached value (Many QSPI hardware peripherals do not support a single byte write). Fix delta build error with DISABLE_BACKUP. Added tests for updating both cores in build_flash.sh.
2024-10-11 10:29:59 +02:00
David Garske
8a9fbe5674
Improve network core firmware update.
2024-10-11 10:29:59 +02:00
David Garske
6db7de6a75
Support for the Nordic nRF5340 (application and network cores):
...
* Added nRF5340 driver support for Clock, Internal Flash (NVMC), GPIO, SPU, OTP, UART, SPI, QSPI and IPC.
* Added support for updating the network core (Sign using "--id 2")
* Cleanup the nRF52 port
* Improved external QSPI and internal Flash tests and logging.
* Improved internal printf support for formatter length.
2024-10-11 10:29:59 +02:00
Brett Nicholas
2d6308ec2c
- Infineon TC3xx support
...
- fix (existing) unused variable compiler warnings
- documentation updates
- add multi-sector erase option
2024-07-31 09:22:31 +02:00
Daniele Lacamera
d390873096
Fix padding in test
2024-07-18 10:15:50 +02:00
John Bland
6c3940fafc
refactor final step of powerfail safe update and add
...
emergency fallback test
2024-07-10 16:58:23 -04:00
Daniele Lacamera
32d6592e50
Fixed regression on powerfail resume
2024-07-04 18:19:02 +02:00
Daniele Lacamera
597ca3a406
Added test to reproduce "wrong delta base version" bug
2024-07-04 17:14:36 +02:00
David Garske
027c6847e5
Merge pull request #443 from wolfSSL/x86_fsp_backport
...
x86 fsp backport
2024-05-09 07:46:56 -07:00
jordan
12d0bb9b81
Cleanup renode ext_LMS and ext_XMSS tests.
2024-05-07 19:25:18 +02:00
jordan
6029ddbf07
Update renode tests for LMS, XMSS, ext_LMS, ext_XMSS.
2024-05-07 19:25:18 +02:00
Marco Oliverio
53d012f0b8
x86_fsp: test_qemu.sh: allow grep to return error when checking output
2024-04-29 10:01:20 +02:00
Marco Oliverio
943edf93e7
tools: move tools/x86_fsp in tools/scripts/x86_fsp
2024-04-29 09:53:49 +02:00
Marco Oliverio
ac1465ed20
x86_fsp: qemu: move fsp qemu script in tools/x86_fsp/qemu folder
2024-04-29 09:53:49 +02:00
Marco Oliverio
d072f447e6
x86_fsp: qemu: remove redundant and unused qemu launch scripts
2024-04-29 09:53:49 +02:00
Marco Oliverio
bb7d90cbcd
x86: qemu: improve test_qemu.sh script, add it to github action
2024-04-24 10:50:50 +02:00
Tesfa Mael
371c03e398
Enhance QEMU scripts
2024-04-24 10:50:50 +02:00
Daniele Lacamera
bfe9e4fdf9
Added update+powerfail test for DISABLE_BACKUP
2024-02-22 16:27:59 +01:00
jordan
c31a2138ee
XMSS wolfBoot support: add renode-nrf52 test case.
2023-11-06 14:31:05 +01:00
John Bland
f4ea7784bf
add double fallback to update powerfail test since
...
NVM_FLASH_WRITEONCE can powerfail after FLAGS_FINAL and TESTING partition states have been set
2023-10-13 14:30:04 +02:00
John Bland
43453d4d18
fix extra fallback due to non-triggered power fail
2023-10-13 14:30:04 +02:00
John Bland
ffc7a435e5
add powerfail during final sector erase, exposing
...
the problems of losing the encryption key when the power fails before the key can be written back, failing to select the correct NVM_FLASH_WRITEONCE sector when a sector is corrupt, and losing the testing state when the power fails before the partition state can be set. these issues are addressed in the next commit
2023-10-13 14:30:04 +02:00
Marco Oliverio
5191828a77
tools/scripts/qemu: start QEMU with gdb server when env DEBUG = 1
2023-09-28 13:12:26 +02:00
Marco Oliverio
e8907a7dc2
tools/script: use env variable for SING and HASH algos
2023-09-28 13:12:26 +02:00
Daniele Lacamera
0babaae04a
Stage1: allow signing with ecc384/sha384
2023-09-19 09:33:16 +00:00
jordan
e23d450e45
LMS wolfBoot support.
2023-09-06 07:57:10 +02:00
David Garske
712a543c9d
Fixes and improvements for iMXRT1050 QSPI.
2023-08-21 11:08:48 +02:00
John Bland
0361629ded
add first sector powerfail to the powerfail-resume
...
test, this will cause the test to fail since a power failure here means the fw_size of boot will be missing
2023-08-15 14:43:51 -04:00
John Bland
a774da4821
fix powerfail test to actually trigger, previously
...
the test has been doing nothing but trigger the update and then fallback over and over again
2023-08-15 14:03:33 -04:00
David Garske
db032d1461
Merge pull request #330 from danielinux/stage1_verify
...
x86 Stage1: add verification of components
2023-08-10 13:52:24 -07: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
Daniele Lacamera
2144057da8
Added option for authentication in stage1
2023-07-26 17:54:35 +02:00