Daniele Lacamera
fff5222e2d
hal: document flash protect API contract
2026-04-09 14:54:14 +02:00
Daniele Lacamera
fc9e7a3e8a
Use constant-time delta base hash compare
...
F/2253
2026-04-08 19:53:50 +02:00
Daniele Lacamera
f5d50d4257
enforce skip-verify prerequisites
...
F/2256
2026-04-08 19:53:50 +02:00
Daniele Lacamera
1528bc8d99
Use constant-time TPM secret checks
...
F/2248
2026-04-08 19:53:50 +02:00
Daniele Lacamera
44c5b4ab0a
Protect bootloader before application boot
...
F/2255
2026-04-08 19:53:50 +02:00
Daniele Lacamera
9715b4df26
Use constant-time RSA hash comparison
...
F/2247
2026-04-08 19:53:50 +02:00
Brett Nicholas
9debc4c559
Fix XMSS and ML_DSA keygen type mismatch between image headers and keystore by unifying AUTH_KEY_*/KEYGEN_* constants
2026-03-30 16:32:44 +02:00
Paul Adelsbach
3d2a555e1a
Update wolfHSM pointer, fix minor issues
2026-03-23 20:05:07 +01:00
Daniele Lacamera
5f919c1b2e
Updated submodules
2026-03-20 14:57:43 +01:00
David Garske
a56c70e90a
Support for NXP T1040 RDB
2026-03-20 14:51:15 +01:00
Mattia Moffa
b5fab30310
Enable NSC veneers when TZEN=1, even without WOLFCRYPT_TZ
2026-03-18 22:26:32 +01: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
3b1ef9d6bc
Address copilot pr comments.
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
Mattia Moffa
0656ff4afa
Nordic nrf54l port (with and without TrustZone)
2026-03-18 09:15:00 +01:00
Daniele Lacamera
180e53b186
Fix regression in WOLFBOOT_RAMBOOT_MAX_SIZE
2026-03-12 09:28:51 +01:00
Daniele Lacamera
4eca085b54
Added USE_CLANG option to Makefile
2026-03-10 15:49:45 +01:00
Daniele Lacamera
19d562dbde
Fixed build errors with cross-clang compiler
2026-03-10 15:49:39 +01:00
David Garske
4d2c7bb851
Fix CI build errors
2026-03-09 07:29:27 +01:00
David Garske
4a53bd1627
Added support for running test-app and benchmarks. Added example trace32 scripts.
2026-03-05 17:49:37 +01:00
David Garske
a5356b830a
NXP T2080 Port Refresh
...
* Initial port refresh for the NXP T2080 target
* IFC Flash driver and multi-core support on T2080
* Working wolfBoot test-app startup on T2080
* Support for NAII and Curtiss-Wright T2080 vendor boards
2026-03-05 17:49:37 +01:00
Brett Nicholas
3d5499f90a
address review feedback
2026-03-05 10:14:04 +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
David Garske
ff8bb8336c
Support for wolfBoot ZynqMP (UltraScale+ MPSoC) SD Card
2026-03-05 10:12:02 +01:00
David Garske
47256c8d6f
Reduce build size for wolfCrypt and fix Vorago documentation
2026-03-05 09:24:52 +01:00
David Garske
cbaa132588
Fix for tools/scripts/va416x0/build_test.sh portability (MacOS)
...
Added option to support wolfCrypt test/benchmark in test-app
Add some checking if partition size is too large
2026-03-03 12:29:09 +01:00
Daniele Lacamera
00bf88b69d
Added upper limit for NO_PARTITIONS builds
2026-03-02 14:18:23 +01:00
Marco Oliverio
cc6f0ff7ae
disk.h: minor: improve comment
2026-02-27 15:09:36 +01:00
Marco Oliverio
b0cc295b71
disk.c: fix silent sz truncation and explicitly bound disk IO
2026-02-27 15:09:36 +01:00
Brett Nicholas
4d31ef5502
Add self-header feature with support for sim and AURIX TC3xx
2026-02-27 11:39:51 +01:00
Marco Oliverio
e93aad1823
pci: fix: use correct offset for I/O bridge window
2026-02-25 13:20:09 +01:00
Marco Oliverio
e274532331
pci: fix: use int instead of uint32 as return error for pci_enum
2026-02-25 13:20:09 +01:00
Marco Oliverio
ea819534ce
pci: fix: remove unused functions
2026-02-25 13:20:09 +01:00
Daniele Lacamera
cd2b02e10b
Fixed wrong naming for HYBRID defines
...
+ longer DICE test timeout
2026-02-11 13:38:31 +01:00
Daniele Lacamera
47ad6c21ef
Updated benchmark to run on rpi + stm32h563
2026-02-09 18:48:47 +01:00
David Garske
5b43fcc49a
Merge pull request #668 from danielinux/dice
...
Add support for DICE attestation + PSA attestation
2026-02-06 14:11:02 -08:00
David Garske
3597384f12
Add image bounds checking on ELF parser
2026-02-06 22:01:40 +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
7511e2e467
Fix some compiler warnings and CI build test failures
2026-01-26 11:27:39 +01:00
David Garske
78bed07125
Update wolfssl submodule to include PR 9689 and 9698
2026-01-26 11:27:39 +01:00
David Garske
e1bef7ac70
PolarFire PQC (ML-DSA) testing
2026-01-26 11:27:39 +01:00
Daniele Lacamera
da35fd5a04
Made all cmp/flag checks more redundant in ARMORED
2026-01-13 16:19:06 +01:00
Daniele Lacamera
fdf241d21f
Addressed reviewer's comments.
2026-01-13 14:15:10 +01:00
Daniele Lacamera
50d8aedf8c
[ARMORED] Improved redundancy of verification
2026-01-12 09:44:44 +01:00
David Garske
4ff0e0ad7d
Merge pull request #662 from danielinux/zephyr-psa
...
zephyr integration as TEE.
2026-01-08 08:53:11 -08:00
Daniele Lacamera
af670811fe
zephyr integration as TEE.
...
- Integrates wolfPSA as psa_crypto/psa_store engine in TrustZone
- Provides interface to access APIs from non-secure mode
- Patches to enable wolfboot as TEE module in zephyr
- Patches to enable stm32h563-nucleo/ns as target in zephyr
- psa_crypto zephyr example using wolfboot/wolfPSA as secure engine
2026-01-07 08:27:58 +01:00
David Garske
12d7f0a153
Improved encryption constants between the bootloader and the signing tool. Allows the sign tool to properly use the correct block size for each encryption algorithm (64 for ChaCha, 16 for AES).
2026-01-05 20:37:04 +01:00
David Garske
46677d76e7
Refactor eMMC/SD code to reduce duplicate code. Moved SDHCI driver into generic module that can be used by other platforms.
2026-01-01 12:52:09 +01:00
Mattia Moffa
f12d2f06b4
Add PKCS11 backend for encrypted partitions
2025-12-30 11:15:41 +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
David Garske
963cdadeaf
Peer review fixes
2025-12-24 18:31:55 +01:00
David Garske
3317fba381
Cleanups and improvements
2025-12-24 18:31:55 +01:00
David Garske
0292da582b
Refactor disk.c for generic use. Wired up uSD read for MBR/GPT
2025-12-24 18:31:55 +01:00
David Garske
e055585942
Support for Microchip PolarFire SoC (MPFS250)
2025-12-24 18:31:55 +01:00
Mattia Moffa
5134eea96a
Support WOLFCRYPT_TZ and PKCS11 on nRF5340
2025-12-13 04:05:32 +01:00
gojimmypi
985e2f76c0
Improve image header default size, check for dupe hash def
2025-12-12 17:47:09 +01:00
Brett Nicholas
6a1120d0ab
-add wolfHSM RSA4096 configs for sim and AURIX
...
-various fixes for RSA4096
-remove erroneous coupling between SMALL_STACK and WOLFHSM_SERVER
2025-12-10 07:43:32 +01:00
Brett Nicholas
57b874be2d
Simplify use of user-supplied keys and certificates with test app via
...
new `USER_ variables`
2025-12-10 07:43:32 +01:00
Daniele Lacamera
3b3aa2e7c3
Updated ChangeLog & version number.
...
+ Updated wolfTPM submodule
2025-11-26 15:50:13 +01:00
David Garske
2546ebcaf9
Fixes for unused variables. Also repaired STM32WB55 build with PKA
2025-11-20 18:26:58 +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
8cb3d33339
Added STM32H5 SPI Driver and support for TPM
...
Cleanup STM32H5 HAL port.
Refactor `__ARM_FEATURE_CMSE` to `TZ_SECURE()`
Refactor attribute cmse_nonsecure_entry to use new macro `CSME_NSE_API`
Added TPM Non Secure Callable API's
Added TPM support to STM32H5 test application
2025-11-19 16:29:28 +01:00
David Garske
ecf1cb8a92
Peer review fixes. Added new WOLFBOOT_RESTORE_CLOCK option
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
David Garske
4d0106caee
Fixes for build warnings
2025-10-30 16:31:27 +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
177358e88d
Update H5 app to use new NSC API
...
- Make the update and swap partitions secure and inaccessible from the
app except via NSC API
- Add a couple of necessary new NSC functions
- Update the app to only use NSC API
- Fix hal_flash_erase to account for secure addresses
- Fix some bugs in xmodem implementation
2025-10-29 00:13:01 +01:00
Daniele Lacamera
18cbea59de
Refactoring of IV handling to prevent reusing IVs
...
During fallback operations, use a different encryption IV than the one
used to encrypt the backup during the update. This ensures that the same
IV is never reused to encrypt different sectors.
2025-10-17 09:44:46 +02:00
David Garske
68d28fc482
Merge pull request #609 from gojimmypi/pr-copyright
...
Update Copyright year to 2025
2025-10-16 15:09:03 -07:00
David Garske
301080adc4
Reverted change for H5 heap (not needed). Tracked issue down to a missing malloc fixed here: https://github.com/wolfSSL/wolfssl/pull/9305
2025-10-16 23:02:09 +02:00
David Garske
2df3768cce
Fixes to support latest wolfSSL (disable KDF/PRF)
2025-10-16 23:02:09 +02:00
gojimmypi
fbd8dcf8a2
Update Copyright year to 2025
2025-10-15 11:33:53 -07:00
David Garske
7f193af97d
Fixes for STM32H5 TrustZone and PKCS11 store
2025-10-10 19:42:20 +02:00
David Garske
8ef41994c7
Merge pull request #604 from bigbrett/tc3xx-wolf-startup-integration
...
TC3xx: Replace IDE/AURIX project with new HAL module
2025-10-09 10:16:16 -07:00
Brett Nicholas
42cf7e9b70
TC3xx: Replace IDE/AURIX project with new HAL module
2025-10-08 11:03:44 -06:00
David Garske
0ce77a4d27
Merge pull request #590 from danielinux/flash-write-as-nsc
...
NSC functions: add helper to facilitate updates as trustzone non-secure callable
2025-10-07 09:21:02 -07:00
Daniele Lacamera
568452552c
Fix corruption of last boot sector with encryption
...
As reported by @reza-hdd in #589 :
> When Firmware is large enough to consume all the allocated boot partition sectors, in the the final swap and erase operations (_wolfBoot_swap_and_final_erase_) the last sector of FW in Boot partition, which is used as a temporary sector for a copy operation, gets corrupted after being copied in external Swap partition and copied back. It looks like the contents are copied to the external Swap partition without being encrypted, but get decrypted when it is read back.
This was due to the function wolfBoot_copy_sector() assuming that all
copies having an external SWAP as destination would not need any
encryption, as the "normal" case during update is to copy already
encrypted sectors from UPDATE->SWAP.
In the final state, after the update is successfully applied, the
mechanism saves a copy of the last sector from BOOT->SWAP. In this case,
if the application is big enough, an extra function is needed to
encrypt the content of this last sector before writing it to SWAP.
Restoring the backup is OK (normal case SWAP->BOOT, decryption was
already there as also noted by the reporter).
2025-09-10 13:27:22 +02:00
Daniele Lacamera
cd347b5886
Fix visibility of new nsc declarations
2025-09-05 18:14:04 +02:00
Daniele Lacamera
82e4950b59
Added NSC functions to facilitate updates from NS application
2025-09-05 14:12:50 +02:00
Daniele Lacamera
68e688eeb6
Updated Changelog, version
2025-08-01 13:21:47 +02: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
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
79cef5f605
Peer review fixes (thank you Copilot).
2025-06-16 19:05:49 +02:00
David Garske
b79be86a56
Fix for `NO_SWAP_EXT=1` with encryption enabled. Peer review fixes.
2025-06-16 19:05:49 +02:00
David Garske
3d9beb2642
Cleanup the AES CTR IV.
2025-06-16 19:05:49 +02:00
David Garske
73fc193931
Portability fixes with include < vs ". Added `NO_SWAP_EXT` to allow support for onboard flash swap sector. Added `WOLFSSL_NO_CT_OPS` for ECDSA verify only. Added `WC_NO_DEFAULT_DEVID` to help with code size reduction.
2025-06-16 19:05:49 +02:00
David Garske
844196981b
Cleanup includes.
2025-06-16 19:05: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
9451b47628
Fix for Renesas TSIP key types. Fix for Renesas RX .keystore location in linker script. Fix for wolfBoot as library with Renesas to make sure crypto hardware is initialized and setup. Add forced alignment on additional buffers used for flash read/write.
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
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
16e5b94e9d
review comments
2025-05-09 19:06:33 -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
Daniele Lacamera
d587a793c0
Added WOLFSSL_PUBLIC_MP to user_settings when PKCS11 is enabled.
2025-04-30 13:45:08 +02:00
Daniele Lacamera
c4a3415e98
Updated bootloader version number
2025-04-30 11:49:15 +02:00
David Garske
b17ea82232
Fix to not include the fdt.h header unless MMU is defined. The fdt.h has a few structs with [0] size arrays that don't work with older GCC.
2025-04-29 11:50:29 +02:00
David Garske
271ae4c2f0
Improving matrix.
2025-04-29 11:50:29 +02:00
David Garske
b6179a2780
Fixing test-lib matrix.
2025-04-29 11:50:29 +02:00
Daniele Lacamera
ea0b4fb935
Added missing files + cosmetics as per review
...
- Added missing `test-app/app_sim_scattered.c`
- Added missing `test-app/sim_scattered.ld`
- Fixed comments at the end of define blocks for consistency
- Removed unused constants as indicated
2025-04-11 15:55:05 +02:00
Daniele Lacamera
386a172587
Fix regressions detected by github workflows
2025-04-07 17:10:37 +02:00
Daniele Lacamera
d9104ec151
Fix scatter-gather ELF
2025-04-07 12:19:04 +02:00
Daniele Lacamera
11091944d7
ELF_SCATTERED: added sha check (WIP)
2025-04-04 19:15:04 +02:00
Daniele Lacamera
e7cd340ebf
Moved elf parsing/scattering to elf.c, WIP sim
2025-04-03 17:12:42 +02:00
Brett Nicholas
fb6ca4378f
WIP: structure is there, but some major issues. See WOLFBOOT-ELF-LOADER-GAPS.md and video
2025-04-03 09:53:00 +02:00
Daniele Lacamera
076cd1d6c4
Fix for unit test failing
2025-03-04 18:20:46 +01:00
Daniele Lacamera
a195efe608
Avoid enforcing alignment on stack for IAR
2025-02-27 16:46:26 +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
jordan
e2db8d58c4
Remove external ext_lms, ext_xmss pq integrations.
2025-01-20 16:38:24 +01:00
Daniele Lacamera
892acfded8
Prepare release 2.4.0
2025-01-07 13:35:28 +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
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
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
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
David Garske
4991eabb18
Peer review fixes. Default to ML-DSA level 2.
2024-12-05 13:39:47 -08:00
David Garske
35b98e723b
Fix the Windows keytools artifact upload.
2024-12-05 11:32:22 -08:00
David Garske
4ac4de51ac
Fix ML-DSA level comment.
2024-12-05 10:29:00 -08:00
Daniele Lacamera
d5e402ebde
Removing compile-time parameters from keygen
2024-12-03 14:50:54 +01:00
David Garske
d007c9af08
Initial support for NXP LS1028A. Booting into OCRAM app. Updates to ARMv8 startup.
2024-12-02 19:41:26 +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
David Garske
bf4c8017dd
Test: adding action to build keytools on windows.
...
* Update key tools VS project to 2022.
* Fix a few warnings in sign.c
* Fix issues with windows already having min/max.
* Fix (workaround) issue with key tools needing WOLFBOOT_SECTOR_SIZE.
2024-11-25 14:38:29 -08:00
Daniele Lacamera
7347f334b3
Delta update: check sha digest of base image
...
Only allow delta update if the sha digest of the base image matches the
expected value. This is to prevent the delta update from being applied
to an image that is not the expected base image, even if the version
matches.
The mismatch should never happen in real-life scenarios, but it is to check
for false positives during integration, testing and development.
2024-11-21 14:28:40 +01:00
Brett Nicholas
78e4275f99
Initial wolfHSM support for simulator and AURIX TC3xx
2024-11-13 09:52:49 +01:00
Daniele Lacamera
7726b05ff7
Updated version, added changelog
2024-10-31 11:46:49 +01:00
David Garske
aec2809212
Cleanups after hybrid signing PR.
2024-10-31 11:23:52 +01:00
Daniele Lacamera
b218a33b60
Cosmetic changes
2024-10-30 13:17:09 +01:00
Daniele Lacamera
cc447ea879
Support for hybrid authentication (2 ciphers)
2024-10-30 13:17:06 +01:00
Daniele Lacamera
72a0aa3853
Added Benchmark script. Added ARMASM support.
2024-10-24 21:20:09 +02:00
Daniele Lacamera
07bdae680a
ARMASM. Macros for clocks+gpios. Set MAC pins.
2024-10-14 10:14:48 +02:00
jordan
b97abd4ace
Add ML-DSA support.
2024-10-14 10:13:52 +02:00
Daniele Lacamera
8386a503f8
Added NO_WOLFSSL_MALLOC
2024-10-11 20:48:34 +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
29a30a6efc
Enable backup for network core, so the last known image will still be in shared ram. Fixed bug with swap offset on network core external memory map and "erase" init.
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
322aa325b6
Consolidate duplicate TEST_FLASH code.
2024-10-11 10:29:59 +02:00
David Garske
e3b98f1d7d
Fixes for properly functioning network core updates.
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
jordan
42f92ebedb
user_settings: default to NO_ASN if NO_RSA defined.
2024-09-13 15:58:24 -05:00
David Garske
9e17315d49
Fixes for building wolfBoot with XMSS/LMS.
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