Aidan Garske
3eaf2f03b7
Stop PSoC 6 UART output after the first TX timeout
2026-11-13 13:06:25 -08:00
Aidan Garske
3a3c11fc24
Add tests for the PSoC 6 UART and timer fail-safe paths
2026-11-12 15:55:54 -08:00
Aidan Garske
63592c28ee
Remove late setvbuf calls from the power-cut test fixtures
2026-11-12 15:55:54 -08:00
Aidan Garske
9e99523e17
Describe the small-sector unit test variant accurately
2026-11-12 15:23:57 -08:00
Aidan Garske
e0af8d0cd2
Add a 256-byte-sector unit test variant for the swap resume paths
2026-11-12 15:00:09 -08:00
Aidan Garske
e5275058e9
Clock the PSoC 6 QSPI interface from the PLL
2026-11-12 13:53:12 -08:00
Aidan Garske
cc091aa1ad
Add CY8CEVAL-062S2 support and bring the PSoC 6 port to parity
2026-11-12 13:53:12 -08:00
Aidan Garske
fe42b07813
Keep the FLAGS_HOME final swap resumable across a power cut
2026-11-12 13:52:41 -08:00
Aidan Garske
39b72f2616
Keep a rollback on the original image across a power cut
2026-11-12 13:52:41 -08:00
David Garske
16a0113abf
PolarFire SoC: keep the golden image encrypted across a zeroize
2026-11-11 03:10:16 +01:00
Dirk Van Haerenborgh
96cd40ba53
Use flash erase units for encryption key updates
...
Add FLASH_ERASE_UNIT / WOLFBOOT_FLASH_ERASE_UNIT independently of the
logical sector size, with a sector-sized fallback and a 128-byte default
for STM32L0.
Update non-write-once hal_set_key() to cache and rewrite only the erase
units touched by the key, nonce, and trailer magic. Preserve surrounding
data, handle fields spanning units and FLAGS_HOME, and validate geometry
and partition bounds before accessing flash.
Default NVM_CACHE_SIZE to the erase unit in non-write-once builds while
keeping write-once caches and redundant trailer copies sector-sized.
On STM32L0 with 4 KiB sectors, the cache shrinks to 128 bytes.
Add erase-geometry, data-preservation, error-handling, and cache-scrubbing
tests for ChaCha20, AES-256, straddling fields, FLAGS_HOME, and the sector
fallback. Document the configuration and HAL erase contract.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-10 11:19:28 +01:00
Hideki Miyazaki
226538aca0
imx8mm: move macros to headers, use the HAL UART in the test-app
2026-11-10 09:26:57 +01:00
Hideki Miyazaki
b0972c4a5d
imx8mm, imx8qm: share the uSDHC -> SDHCI shim
2026-11-10 09:26:57 +01:00
David Garske
3309e771a1
efi: use HDR_CMDLINE only from the signed part of the manifest
2026-11-06 01:57:48 +01:00
David Garske
767ef3de3c
Add compressed firmware updates installed into an execute-in-place slot
2026-11-04 14:35:53 +01:00
David Garske
80a186f5c5
Merge pull request #953 from bigbrett/tc3-port-tweaks
...
Monolithic self-update version check + TC3xx/wolfHSM changes
2026-10-30 10:47:03 -07:00
Mattia Moffa
24776f3b7a
Merge pull request #949 from dgarske/psoc_e8
...
Add wolfBoot target for Infineon PSOC Edge E8
2026-10-28 23:02:17 +01:00
David Garske
eca987ba9d
Merge pull request #952 from danielinux/signer-claimed-role-fix
...
boot: bind image partition claim to the booting core
2026-10-28 14:35:37 -07:00
David Garske
3681ea8996
Add wolfBoot target for Infineon PSOC Edge E8
2026-10-28 14:24:42 -07:00
twcook86
aa9685b03a
Merge pull request #950 from aidangarske/lpc55s69-port-update
...
Harden LPC55S69 TrustZone isolation and add tests, CI and docs
2026-10-28 15:12:27 -04:00
Daniele Lacamera
f462765545
unit-tests: stub part check in update-disk-failover
2026-10-28 14:48:44 +01:00
Daniele Lacamera
ea9c4c3120
unit-tests: stub part check in update-disk-fs, test disk partition mismatch
2026-10-28 14:37:09 +01:00
Daniele Lacamera
c51b353521
boot: bind image partition claim to the booting core
...
Add wolfBoot_image_part_matches(), which requires the image's claimed
partition id to match HDR_IMG_TYPE_APP.
2026-10-28 14:37:09 +01:00
Daniele Lacamera
97a87d3655
Custom trailer: record the rollback direction in the UPDATE state
2026-10-28 14:35:31 +01:00
Daniele Lacamera
1b9cb03aba
Make the custom-trailer final step power-fail safe
2026-10-28 14:35:31 +01:00
Daniele Lacamera
76a8b2b3ea
Refuse partitions too small for the trailer, add STM32F4 custom trailer ( #937 )
2026-10-28 14:35:31 +01:00
David Garske
5d02ce6811
lpc55s69: repair ECC-corrupt pages at boot, lock bus masters non-secure under TZ, set MSPLIM
2026-10-27 17:17:02 -07:00
Aidan Garske
3345f87fba
Harden LPC55S69 TrustZone isolation and add tests, CI and docs
2026-10-27 16:15:37 -07:00
David Garske
3b5bc1f064
PolarFire SoC: skip a watchdog refresh inside the forbidden window
2026-10-27 16:06:05 -07:00
David Garske
4f0948e11d
PolarFire SoC: a FIT ramdisk that must load, and failover actions before the golden boot
2026-10-27 16:06:05 -07:00
David Garske
a91c824e45
PolarFire SoC: sNVM/PUF key storage and disk image encryption
2026-10-27 16:06:04 -07:00
Brett Nicholas
3d484f46b5
split monolithic test into its own rule
2026-10-27 09:40:22 -07:00
Brett Nicholas
49313ec8da
self-update: check self-header version in monolithic mode
2026-10-27 09:09:21 -07:00
Brett Nicholas
213d7d75ce
bounds-check journal sector flags, test ECC self-update, fix doc typos
2026-10-27 16:46:40 +01:00
Brett Nicholas
8e705ae048
dont erase journal if marker write fails
2026-10-27 16:46:40 +01:00
Brett Nicholas
258c640459
Add journal marker sector to better detect cut erase
2026-10-27 16:46:40 +01:00
Brett Nicholas
9bf14d722a
rename for clarity
2026-10-27 16:46:40 +01:00
Brett Nicholas
1f6d07227d
add ELF_FLASH_SCATTER_PRESERVE_SECTORS and associated tests
2026-10-27 16:46:40 +01:00
Brett Nicholas
41fbe4b326
Improve support for ECC flash parts:
...
- Add NVM ECC mode, which introduces a new erase check HAL API to use
flash controller HW to blank check sectors instead of reading them
and comparing to an erased byte (which typically triggers an ECC
fault)
- Add NVM Journal mode as an alternative to NVM_FLASH_WRITE_ONCE that
does not require a sector-size RAM buffer and dramatically reduces
the number of erases and programs required to set individual flags,
while also being much more robust to power-cuts.
2026-10-27 16:46:40 +01:00
David Garske
2ab656528a
zynqmp: report the PUF control fuses and correct the regeneration API
2026-10-26 19:59:53 +01:00
Marco Oliverio
b240ee7aaa
Merge pull request #933 from dgarske/nai_68int6
...
Add wolfBoot target for the NAI 68INT6 (Intel Tiger Lake UP3) OpenVPX SBC
2026-10-26 10:04:12 +01:00
Zackery
8685a5a28c
Merge pull request #946 from dgarske/pl011_uart_rx
...
Add a non-blocking uart_rx() to the PL011 consoles
2026-10-23 15:55:28 -06:00
David Garske
d490e36d2e
fdt: boot a FIT with no kernel load/entry and no device tree
2026-10-23 11:49:49 -07:00
David Garske
8d34051e6e
uart: add a non-blocking uart_rx() to the PL011 consoles
2026-10-23 11:48:36 -07:00
David Garske
aef57a113d
versal: support the system watchdog timer (WWDT)
2026-10-22 18:11:12 +02:00
David Garske
08f20f8364
sdhci: clear BWR before refilling the PIO write buffer
2026-10-22 18:09:49 +02:00
David Garske
43655708c3
zynqmp: add the eFuse programming gate and a report-only write transport
2026-10-22 18:05:42 +02:00
David Garske
942f3b938c
zynqmp: add BBRAM AES key programming and an eFuse security state accessor
2026-10-22 18:05:42 +02:00
Brett Nicholas
0a3b0f7184
Add version check in SWAP copy of sector 0 to prevent rollbacks
2026-10-16 21:40:42 +02:00
Brett Nicholas
bd6a4a1e69
Extend powerfail swap fix to EXT_ENCRYPTED
2026-10-16 21:40:42 +02:00