Commit Graph

2153 Commits (master)

Author SHA1 Message Date
David Garske 4103b8b5af Avoid redefinition when using USE_BUILTIN_STARTUP. 2025-01-20 16:39:18 +01:00
jordan 5a7a0cfc16 docs: small cleanup. 2025-01-20 16:38:24 +01:00
jordan e2db8d58c4 Remove external ext_lms, ext_xmss pq integrations. 2025-01-20 16:38:24 +01:00
Daniel Fedai Larsen 57d0f7bfe6 Remove unused variables in imx_rt.c
sysPllConfig_BOARD_BootClockRUN, usb1PllConfig_BOARD_BootClockRUN
and videoPllConfig_BOARD_BootClockRUN are unused, and were causing
'multiple definition' errors as the board code generated by
MCUXpresso Config Tools also contains definitions for these variables.
2025-01-16 07:07:58 +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
Brett Nicholas 57d224bf76 Updates to wolfBoot-tc3xx-wolfHSM and test-app-wolfHSM ADS projects for ADS 1.10.6. Adds same fixes from d1e24b639a 2025-01-08 11:50:16 -07:00
Brett Nicholas d1e24b639a Updates to wolfBoot-tc3xx and test-app ADS projects for ADS 1.10.6
This fix explicitly adds -mtc162 to compiler and linker flags in project
settings to fix a build error when opening projects in ADS 1.10.6.

Opening wolfBoot and test-app projects in ADS 1.10.6 resulted in compilation errors
on tricore asm in IfxCpu.c. Newly created projects in 1.10.6 have -mctc162
passed as a compiler option, but older projects don't. Dropdown menu to
set the CPU architecture is broken in IDE when trying to set in a
project created with older ADS version. Explicitly adding -mtc162 fixes
the issue.
2025-01-08 11:34:40 -07:00
David Garske 5fc2a5057e
Merge pull request #534 from danielinux/prepare-release-2.4.0
Prepare release 2.4.0
2025-01-07 12:19:27 -08:00
Daniele Lacamera 35daf2e9b8 Updated pre-compiled keytools 2025-01-07 19:34:34 +01:00
Daniele Lacamera ba8197fe3e Added missing Changelog entry. 2025-01-07 19:12:22 +01:00
Daniele Lacamera 892acfded8 Prepare release 2.4.0 2025-01-07 13:35:28 +01:00
philljj bffc095b09
Merge pull request #533 from danielinux/update-wolfssl-5.7.6
Update submodules to  wolfssl 5.7.6
2025-01-03 10:42:27 -06:00
David Garske 1468a9204e Force `WOLFSSL_AARCH64_PRIVILEGE_MODE` for AARCH64 to resolve cpuid.c issues. 2025-01-02 16:03:07 -08:00
Daniele Lacamera a171090a08 Update wolfTPM 2025-01-03 00:18:03 +01:00
David Garske d9b9388188 Fix for new armasm support of cpuid. 2025-01-02 15:16:48 -08:00
Daniele Lacamera 58ca84cea8 Include wolfPKCS11 PR42 2025-01-03 00:02:33 +01:00
Daniele Lacamera fe9eddbd67 wolfPKCS11: include PR 41 2025-01-02 23:37:34 +01:00
Daniele Lacamera 2989ec9628 Updated submodules to wolfSSL 5.7.6 2025-01-02 15:03:33 +01:00
David Garske 4a6d309d2a
Merge pull request #532 from danielinux/sign-delta-base-from-header
Sign tool: use manifest header to retrieve base version
2024-12-30 09:16:45 -08:00
Daniele Lacamera afcdefa733 Sign: use manifest header to retrieve base version 2024-12-30 16:36:00 +01:00
David Garske b8a23b1f81 Allow build-time adjustment of QSPI reference clock and divisor. Eliminate `ZCU102` macro (not needed). Add QSPI init message with ref clock, divisor, bus and IO mode (Poll or DMA). 2024-12-30 15:36:43 +01:00
David Garske fb08f0788c Make `flush_dcache_range` available even with `USE_BUILTIN_STARTUP`. Remove unused variable. 2024-12-30 15:36:43 +01:00
David Garske f729e419e6 Fixes for QSPI DMA mode. For example reduces QSPI->DDR load of 154MB from 18,228ms to 2,607ms. Changed QSPI to use DMA by default (can force IO mode using `GQSPI_MODE_IO`). 2024-12-30 15:36:43 +01:00
David Garske 7205820afa Added QSPI DMA support. 2024-12-30 15:36:43 +01:00
David Garske acb9d832eb Fixes for Xilinx Zynq UltraScale+ MPSoC:
* Fixes to support wolfBoot native make and gcc-arm cross compiler. ZD 18159
* Adjust wolfBoot linker script to not use 0 base, instead use end of DDR - 1MB.
* Fixed QSPI bare-metal driver for multi-sector and read return code.
* Fixed issue with Xilinx XMSS IMAGE_HEADER_SIZE in documentation. It should be 5000 bytes.
* Performance optimizations for QSPI:
  - Allow configuration of SPI clock.
  - Improve GSPI FIFO TX/RX fill.
* Added support for FAST_MEMCPY that supports an aligned 32-bit.
* Added Flattened uImage Tree (FIT) image (FDT format).
* Added Aarch64 support for FDT fixups.
* Added Aarch64 startup to support EL2 with cache/MMU.
* Added documentation about exception levels
* Moved zynqmp registers to header.
* Fix printf uart_writenum "buf" len.
* Updated fdt-parser to support saving off larger data images.
2024-12-30 15:36:43 +01:00
John Bland a04f234b85 remove sector alignment check 2024-12-30 15:31:32 +01:00
John Bland c75101e999 stop the selSec from being applied twice to lastSector 2024-12-30 15:31:32 +01:00
Marco Oliverio 7008f68707 kontron-vx3060-s2: simplify example, add build test, improve docs 2024-12-19 20:12:16 +01:00
Marco Oliverio 1276e152b6 gpt: fix spelling error 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
Marco Oliverio 151de7fd0b fsp: minor: remove unused parameter from jump_into_wolfboot 2024-12-19 20:12:16 +01:00
Marco Oliverio dab560549a fsp: refactor out common fsp routines 2024-12-19 20:12:16 +01:00
Marco Oliverio b8a81de965 x86: add wrapper to run 32bit code in 64bit long mode 2024-12-19 20:12:16 +01:00
Marco Oliverio 6358153372 x86: add support for gdt table in C 2024-12-19 20:12:16 +01:00
John Bland aa01f6e41c move disable backup flag to correct spot 2024-12-17 14:46:24 +01:00
John Bland 3b0b025cb7 fix wrong conditional compile flag 2024-12-17 14:46:24 +01:00
John Bland e24a658c89 fix comments 2024-12-17 14:46:24 +01:00
John Bland f5e3e0c8a5 unlock flash when updating partition state 2024-12-17 14:46:24 +01:00
John Bland b518782a4b fix all cases where flash was written or erased while locked 2024-12-17 14:46:24 +01:00
John Bland 665641dc13 update tests to properly simulate flash locks
add hal_flash_unlock after setting the key since setting the key locks flash
2024-12-17 14:46:24 +01:00
John Bland b52c9387aa update footprint 2024-12-17 14:46:24 +01:00
John Bland 328b063467 properly unlock flash on re-entry of wolfBoot_swap_and_final_erase
and move it out of the lock logic of update and delta update
2024-12-17 14:46:24 +01:00
Brett Nicholas 497d42a080 Update wolfHSM.md 2024-12-16 19:14:24 +01:00
Brett Nicholas 0a63f0f4aa Update wolfHSM.md
add ML-DSA to list of supported algorithms for wolfHSM
2024-12-16 19:14:24 +01:00
Brett Nicholas 638787e296 cast malloc result 2024-12-16 19:12:23 +01:00
Brett Nicholas 0d18b25a2e fix keytools public key der export to use ml-dsa level passed as env var 2024-12-16 19:12:23 +01:00
Brett Nicholas 9454deb360 add test for wolfHSM ml-dsa to CI 2024-12-16 19:12:23 +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
Brett Nicholas 21a4082952
Merge pull request #521 from danielinux/build-keytools-windows
Remove compile-time dependencies from key tools
2024-12-05 16:56:42 -07:00