Commit Graph

115 Commits (master)

Author SHA1 Message Date
Brett Nicholas d689656a71 Add support for wolfHSM cert chain verification on TC3xx 2025-05-30 11:15:56 -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
David Garske 0c9fa8e0ae Various minor: Xilinx instructions. Expect RX_TSIP_SRC=1 to enable. TPM support in update_ram.c. 2025-04-29 11:50:29 +02:00
David Garske 5e9cc8c603 Minor documentation fixes. 2025-03-26 09:14:57 +01:00
David Garske 64c74b8233 Progress on RoT. Creation of PUF, Regeneration and use of it for AES Key wrapping. 2025-03-26 09:14:57 +01:00
David Garske 79437e5865 Fixes for PUF ROT 2025-03-26 09:14:57 +01:00
David Garske 851130293c Added Xilinx UltraScale+ MPSoC CSU Support CSU support.
Enabled support for offloading SHA3 hashing to CSU hardware using PKA=1.
Added support for enabling JTAG at runtime if CSU_DEBUG is set. Requires patching PMUFW to enable register access. See: https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/2587197506/Zynq+UltraScale+MPSoC+JTAG+Enable+in+U-Boot
2025-03-26 09:14:57 +01:00
Brett Nicholas f3957d0b58 quick fixes for AURIX IDE 2025-03-13 09:57:00 -06:00
David Garske 71346b8b81 Tested on STM32F439ZI successfully. Instructions updated. 2025-02-05 16:06:18 +01:00
David Garske 4c2d2b7e6e Add support for Armored mode with IAR. Currently only supports ECDSA and Cortex-M. ZD19190 2025-02-05 16:06:18 +01:00
Brett Nicholas 2ee572a7cf manually exclude new files from ADS build 2025-01-29 14:06:06 -07:00
Andrew Hutchings 6f350ffc63 Update RP2350 README
Add additional instructions on how to use the `picotool` instead of a
JLink.
2025-01-28 12:05:03 +00:00
Daniele Lacamera 48252aa891 Updated copyright in rp2350 test-app 2025-01-27 17:36:59 +01:00
Daniele Lacamera a14c92f151 Added draft build test. 2025-01-27 17:00:58 +01:00
Daniele Lacamera b6ed896086 Cleanup initialization code for rp2350.
+ TZEN=1 in config
+ Changed SRAM settings (allocated 256KB to the secure supervisor)
+ Updated documentation
+ Added FLASH_NSC area for sg stubs
2025-01-27 12:36:19 +01:00
Daniele Lacamera 6681e54a6a Working TZ supervisor 2025-01-27 10:29:28 +01:00
Daniele Lacamera ae82a60a88 rp2350: custom ldscript + TZEN work in progress 2025-01-24 13:06:38 +01:00
Daniele Lacamera b19d9d6b39 Fixed IMAGE_HEADER_SIZE in rp2350 test-app 2025-01-24 13:06:38 +01:00
Daniele Lacamera 343053b6af [pico-sdk/rp2350] Added README.md, .gdbinit 2025-01-24 13:06:38 +01:00
Daniele Lacamera d8372b000c Removed old README.md 2025-01-24 13:06:38 +01:00
Daniele Lacamera dedfce9440 Test application distributed off-tree 2025-01-24 13:06:38 +01:00
Daniele Lacamera a0cbbbf597 Renamed directory 2025-01-24 13:06:38 +01:00
Daniele Lacamera 359c59fa47 Added IDE/pico-sdk dir to build wolfboot+blink app 2025-01-24 13:06:36 +01:00
Daniele Lacamera 628fbe5524 Using CMake from IDE directory 2025-01-24 13:06:08 +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
Daniele Lacamera 35daf2e9b8 Updated pre-compiled keytools 2025-01-07 19:34:34 +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
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 78e4275f99 Initial wolfHSM support for simulator and AURIX TC3xx 2024-11-13 09:52:49 +01:00
Hideki Miyazaki 03675979a4 addressed review comments 2024-09-20 20:20:55 +02:00
Hideki Miyazaki 44d3201cc9 fix ccrx use case for rx72n 2024-09-20 20:20:55 +02:00
Brett Nicholas 79cd6e74f0 tc3xx: remove bmhd input sections from linker script 2024-08-20 11:41:31 -06:00
David Garske 13fc3c069c Fix for XMSS `WOLFBOOT_XMSS_PARAMS` for Xilinx Vitis symbol with string. Fix stack size for LMS. 2024-08-14 18:06:12 +02:00
David Garske 9e17315d49 Fixes for building wolfBoot with XMSS/LMS. 2024-08-14 18:06:12 +02:00
David Garske be169145e2 Fixes for Zynqmp QSPI sizes on ZCU102. Fix for XMSS/LMS on Windows mingw with fopen binary mode. 2024-08-14 18:06:12 +02:00
David Garske 8a7f5e5baa Refactor to eliminate PLATFORM_ -> TARGET_. Fix CI errors. 2024-08-14 18:06:12 +02:00
David Garske cf936dffa2 Fixes for Xilinx zynqmp. 2024-08-14 18:06:12 +02:00
David Garske 3687851f75 Xilinx zynqmp documentation cleanups. Fixes for building with Eclipse wildcard .c include pains. 2024-08-14 18:06:12 +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
David Garske 82094c92e1 Cleanup "tail" to "trailer" 2024-07-18 14:18:51 -07:00
David Garske 3444c47fdb * Added support for RX65N and RX72N with native Makefile and RX ELF GCC compiler.
* Added initialization of the clocks and UART driver.
   - wolfBoot uses on chip high speed oscillator (HOCO) at (120MHz RX65N and 240Mhz for RX72N).
* Added RX RSPI and QSPI driver support with external SPI flash
* Improve documentation and fix spelling errors.
* Added .srec (s-record) format support
* Added RX TSIP support for ECDSA (requires https://github.com/wolfSSL/wolfssl/pull/7685).
* Allow custom implementation of `get_trailer_at`, `set_trailer_at` and `set_partition_magic` using `CUSTOM_PARTITION_TRAILER`
2024-07-17 06:08:31 +02:00
David Garske 0ddde6f074
Merge pull request #444 from miyazakh/renesas_rz_rsip
Add  RSIP use to Renesas RZ support
2024-05-10 11:52:12 -07:00
Hideki Miyazaki 21ce30f8e5 address review comments 2024-05-09 08:11:56 +09:00
David Garske cafef6be55 Update the KeyTools for Windows. 2024-05-02 14:14:25 +02:00
Hideki Miyazaki 7b99e7b598 fix link to the figure in Readme 2024-04-26 07:40:35 +09:00
Hideki Miyazaki 7725cc1a8b initial support Renesas RZ with RSIP 2024-04-26 07:28:07 +09:00
Daniele Lacamera fce6149cf8 Update license GPL2 -> GPL3 2024-04-16 16:46:15 +02:00