Commit Graph

316 Commits (2546ebcaf91da62a40a4db7ada21bbc7f09b444e)

Author SHA1 Message Date
David Garske 2546ebcaf9 Fixes for unused variables. Also repaired STM32WB55 build with PKA 2025-11-20 18:26:58 +01: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 ecf1cb8a92 Peer review fixes. Added new WOLFBOOT_RESTORE_CLOCK option 2025-11-19 11:11:28 +01:00
David Garske 3a85a27fb9 Unify the hdr_cpy (we don't need two) 2025-11-19 11:11:28 +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 d513adc3b7 Introduce keygen --no-overwrite to avoid prompt 2025-11-13 17:59: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
Mattia Moffa 70d25f457a Fix docs link 2025-10-29 15:10:53 +01:00
Mattia Moffa ea9484f6a4 Add docs for NSC APIs and update H5 option bytes 2025-10-29 15:02:58 +01:00
David Garske e0e9217161 Fix some issues with documentation for STM32H5 and include steps to test update using STM32 programmer. 2025-10-24 09:25:41 -07:00
Mattia Moffa 70f12a2a5e Update docs 2025-10-24 18:09:03 +02:00
David Garske b1ff1e36eb Minor improvements. STM32H5 non-secure flash watermark. Fixing layout of linker script. Still getting fault on calls to smse functions like `wcs_get_random`. 2025-10-10 19:42:20 +02:00
David Garske 7f193af97d Fixes for STM32H5 TrustZone and PKCS11 store 2025-10-10 19:42:20 +02:00
Brett Nicholas 42cf7e9b70 TC3xx: Replace IDE/AURIX project with new HAL module 2025-10-08 11:03:44 -06:00
Brett Nicholas 004e91db9f remove path override disclaimer from docs 2025-10-02 15:16:27 +02:00
Brett Nicholas 2e06a5fafe Refactor Makefiles to allow overriding library dependency paths 2025-10-02 15:16:27 +02:00
Daniele Lacamera 6030e15561 Fixed misaligned documentation:
return value of ext_flash_read is `len` in case of success, not 0.

ZD #20548
2025-09-23 05:54:41 +02:00
Mattia Moffa b897746d30 Add note about image header size in signing tool 2025-07-09 17:09:14 +02:00
Mattia Moffa 6fc2ad5803 Document IMAGE_HEADER_SIZE changes 2025-07-09 17:09:14 +02:00
David Garske 4b93736525 Fix for documented option bytes on STM32H5 with TrustZone enabled. Flash bank 2 watermark (SECWM2_STRT=0x0 and SECWM2_END=0x1F). ZD 20037 2025-06-26 17:20:15 +02:00
Brett Nicholas 1febfd906e unify global HAL names between server/client, update docs 2025-06-25 12:17:39 +02:00
David Garske 1712edc136 Add support for PowerPC 32-bit SHA256 assembly speedups. Minor fix for ELF loading to set entry point before copying sections (resolves issue with loading on top of current location). Rename elf_load_image_mmu argument `entry` to `pentry` to avoid confusion with GET_H64 macro's use of header member "entry". 2025-06-24 19:02:49 +02:00
David Garske 8e6b0af105 Added Renesas RX TSIP encrypted updates support using AES CTR. Requires https://github.com/wolfSSL/wolfssl/pull/8854 2025-06-16 19:05:49 +02:00
David Garske 476d1c834b Gramar fix `partitions` -> `partition`. 2025-06-16 19:05:49 +02:00
David Garske 487efc606d Improvements for portability using older gcc 4.8.2. Make sure wolfboot.h includes the `wolfBoot_verify_*` API's. Fixed issue with parsing headers when `#include` is `# include`. 2025-06-16 19:05:49 +02:00
David Garske 77ede65739 Fixes for grammar. 2025-06-09 16:29:31 +02:00
David Garske 28bf060488 Fixed PIC32 CI test branches. Update Targets.md with space between CK and CZ targets. Added note about power cycle after programming. 2025-06-09 16:29:31 +02:00
Marco Oliverio b62ec9da33 fix grammar errors 2025-06-09 16:29:31 +02:00
Marco Oliverio 6e8870156e address reviewer comments 2025-06-09 16:29:31 +02:00
Marco Oliverio 2d6cf95c20 add support for PIC32CZ and PIC32CK 2025-06-09 16:29:31 +02:00
Brett Nicholas 38d1441627 copilot review feedback 2025-05-28 09:37:14 -06:00
Brett Nicholas 7660bf66f8 Add wolfHSM cert chain verification for ECC and RSA 2025-05-27 15:42:59 -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 b86d7fc308 Renesas RX minor fixes and documentation updates. Fix for malformed GNUC macro causing clock to not be setup properly when building with RX-GCC compiler. Fix warnings with using `%zu` on older GCC. 2025-04-29 11:50:29 +02:00
David Garske 574f68b984
Merge pull request #548 from danielinux/encrypt_cache_in_stack
Move encrypt cache to stack
2025-03-27 11:07:13 -07:00
David Garske d13f3260ab Documentation cleanups. Renamed zynqmp CSU `PKA` to `HW_SHA3`. Disabled CSU PUF code, since it is only supported with eFuses (it cannot be used adhoc). 2025-03-26 09:14:57 +01:00
Patrik Dahlström 6a661d77bf stm32f1: add short description to Targets.md
Signed-off-by: Patrik Dahlström <risca@dalakolonin.se>
2025-02-21 18:41:04 +01:00
Daniele Lacamera c00fe36fc0 Fixed LED mapping for mcxw71 in Targets.md 2025-02-20 13:14:39 +01:00
Daniele Lacamera 57ce4a4248 Fixed Linkserver instructions 2025-02-20 13:07:27 +01:00
Daniele Lacamera f4d1c02730 Fixed flash driver, added documentation, tested 2025-02-18 14:43:47 +01:00
Daniele Lacamera 3dc152cf1d Added ENCRYPT_CACHE= config option 2025-02-12 10:48:23 +01:00
Daniele Lacamera 359c59fa47 Added IDE/pico-sdk dir to build wolfboot+blink app 2025-01-24 13:06:36 +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
Marco Oliverio 7008f68707 kontron-vx3060-s2: simplify example, add build test, improve docs 2024-12-19 20:12:16 +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 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