wolfBoot/hal
Daniele Lacamera 32e41f0f40 F-6399: fix imx_rt DCACHE invalidation to include down-alignment offset
hal_flash_write() and hal_flash_erase() aligned the invalidation start
address down to a 32-byte cache line but rounded the length up from
"len" alone, omitting the (address - aligned_address) offset. Whenever
(address % 32) + (len % 32) > 32, the invalidated range fell short of
address + len, leaving the last cache line stale after a write/erase.

Extract the range computation into hal_flash_cache_align_range()
(hal/imx_rt.h, dependency-free so it's unit-testable without the
NXP SDK) and include the down-alignment offset before rounding the
length up, so the invalidated range always covers [address, address+len).
2026-07-02 15:13:28 +02:00
..
boards Add DEBUG_UART build test for stm32wba. Fix stm32wba clock init 2026-07-02 08:44:45 +02:00
spi Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
uart Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
vorago Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
armv8m_tz.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
aurix_tc3xx.c make wolfHSM client ID parameterizable and settable via Makefiles 2026-06-16 22:03:28 -06:00
aurix_tc3xx.ld
…
aurix_tc3xx_hsm.ld
…
cc26x2.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
cc26x2.ld
…
filesystem.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
hal.c Add wolfBoot FIT support for loading bitstream 2026-06-09 15:30:27 +02:00
hifive1.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
hifive1.ld
…
imx_rt.c F-6399: fix imx_rt DCACHE invalidation to include down-alignment offset 2026-07-02 15:13:28 +02:00
imx_rt.h F-6399: fix imx_rt DCACHE invalidation to include down-alignment offset 2026-07-02 15:13:28 +02:00
imx_rt.ld
…
imx_rt_hab.ld
…
kinetis.c F-5963: fix over-advance of address/len in unaligned hal_flash_write (kinetis.c, mcxa.c, mcxw.c) 2026-07-02 14:47:38 +02:00
kinetis.ld
…
kinetis_kl26.c Address Copilot comments 2026-05-07 21:39:34 +02:00
kinetis_kl26.ld Kinetis KL26 port 2026-05-07 21:39:34 +02:00
kontron_vx3060_s2.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
kontron_vx3060_s2_loader.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
library.c Handle library image malloc failure 2026-04-29 11:24:44 +02:00
library_fs.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
lpc.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
lpc.ld
…
lpc55s69-ns.ld
…
lpc55s69.c Fix lingering lpc55s69 issues 2026-05-07 17:06:35 -04:00
lpc55s69.ld
…
mcxa.c F-5963: fix over-advance of address/len in unaligned hal_flash_write (kinetis.c, mcxa.c, mcxw.c) 2026-07-02 14:47:38 +02:00
mcxa.ld
…
mcxn-ns.ld
…
mcxn.c Guard mcxn UDS zeroize helper 2026-06-10 21:01:16 +02:00
mcxn.ld
…
mcxw-ns.ld
…
mcxw.c F-5963: fix over-advance of address/len in unaligned hal_flash_write (kinetis.c, mcxa.c, mcxw.c) 2026-07-02 14:47:38 +02:00
mcxw.ld
…
mpfs-l2lim.yaml
…
mpfs.dts
…
mpfs.yaml
…
mpfs250-hss.ld
…
mpfs250-m.ld Peer review fixes 2026-04-22 19:08:00 +02:00
mpfs250.c Polarfire: prevent integer overflow in address bounds check 2026-06-09 15:50:14 +02:00
mpfs250.h Peer review fixes 2026-04-22 19:08:00 +02:00
mpfs250.its
…
mpfs250.ld
…
nrf52.c Addressed copilot's comments 2026-04-28 15:22:41 +02:00
nrf52.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nrf52.ld
…
nrf54l-ns.ld
…
nrf54l.c
…
nrf54l.h
…
nrf54l.ld
…
nrf5340-ns.ld
…
nrf5340.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nrf5340.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nrf5340.ld
…
nrf5340_net.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nrf5340_net.ld
…
nxp_lpc54s0xx.c Peer review fixes 2026-04-22 14:10:55 +02:00
nxp_lpc54s0xx.ld Rename LPC54S018M to LPC54S0XX 2026-04-22 14:10:55 +02:00
nxp_ls1028a-ocram.ld
…
nxp_ls1028a.c Layerscape 1028a flash erase: reset status to 0 at each iteration 2026-06-09 15:50:14 +02:00
nxp_ls1028a.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nxp_ls1028a.ld
…
nxp_p1021.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nxp_p1021.ld
…
nxp_p1021_stage1.bin
…
nxp_p1021_stage1.ld
…
nxp_ppc.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nxp_ppc.h Peer review fixes (thanks Copilot) 2026-06-15 06:13:28 +02:00
nxp_t10xx.c F-4966: fix nwords=0 truncation on sub-word write to 16-bit NOR flash 2026-06-10 21:01:16 +02:00
nxp_t1024.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nxp_t1024.ld
…
nxp_t1024_stage1.ld
…
nxp_t1040.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nxp_t1040.ld
…
nxp_t1040_stage1.ld
…
nxp_t2080.c Peer review fixes (thanks copilot and customer) 2026-06-15 06:13:28 +02:00
nxp_t2080.h NXP T2080 / CW VPX3-152: VxWorks 7 64-bit boot support 2026-06-15 06:13:28 +02:00
nxp_t2080.ld NXP T2080 / CW VPX3-152: VxWorks 7 64-bit boot support 2026-06-15 06:13:28 +02:00
pic32c.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
pic32c.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
pic32ck.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
pic32ck.ld
…
pic32ck_registers.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
pic32cz.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
pic32cz.ld
…
pic32cz_registers.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
psoc6.c
…
psoc6.ld
…
raspi3.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
raspi3.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
raspi3.ld
…
renesas-ra.c
…
renesas-ra.h
…
renesas-rx.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
renesas-rx.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
renesas-rz.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
riscv.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
rp2350-app.ld
…
rp2350.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
rp2350.ld
…
rx65n.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
rx65n.ld
…
rx72n.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
rx72n.ld
…
s32k1xx.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
s32k1xx.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
s32k1xx.ld
…
sama5d3.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
sama5d3.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
sama5d3.ld Peer review fixes 2026-04-22 19:08:00 +02:00
same51.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
same51.ld
…
samr21.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
samr21.ld
…
sim.c make wolfHSM client ID parameterizable and settable via Makefiles 2026-06-16 22:03:28 -06:00
sim.ld
…
skeleton.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32_tz.c Improve SRAM partitioning for Ethernet DMA 2026-06-03 10:54:20 +02:00
stm32c0.c F-3963: fix hal_flash_erase loop bound in stm32c0.c skipping final partial page 2026-06-11 18:16:48 +02:00
stm32c0.ld
…
stm32c5.c Add STM32C5 target (NUCLEO-C5A3ZG) 2026-05-06 19:02:58 +02:00
stm32c5.h Add STM32C5 target (NUCLEO-C5A3ZG) 2026-05-06 19:02:58 +02:00
stm32c5.ld Add STM32C5 target (NUCLEO-C5A3ZG) 2026-05-06 19:02:58 +02:00
stm32f1.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32f1.ld
…
stm32f4.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32f4.ld
…
stm32f7.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32f7.ld
…
stm32g0.c F-3964: fix hal_flash_erase loop bound in stm32g0.c skipping final partial page 2026-06-11 18:13:30 +02:00
stm32g0.ld
…
stm32g4.c Peer review fixes (thanks Copilot) 2026-05-29 13:10:15 +02:00
stm32g4.h Peer review fixes (thanks Copilot) 2026-05-29 13:10:15 +02:00
stm32g4.ld Peer review fixes (thanks Copilot) 2026-05-29 13:10:15 +02:00
stm32h5-ns.ld
…
stm32h5.c F-3741: zeroize digest and hash in uds_from_uid for stm32l5/stm32h5 2026-06-11 18:26:20 +02:00
stm32h5.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32h5.ld
…
stm32h7.c F-5745: fix off-by-one in hal_flash_erase skipping last page when len%PAGE_SIZE!=0 2026-06-10 21:01:16 +02:00
stm32h7.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32h7.ld
…
stm32l0.c F-3965: fix hal_flash_erase loop bound in stm32l0.c skipping final partial page 2026-06-11 18:08:22 +02:00
stm32l0.ld
…
stm32l0_chacha_ram.ld
…
stm32l4.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32l4.ld
…
stm32l4xx_hal_conf.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32l5-ns.ld
…
stm32l5.c F-3741: zeroize digest and hash in uds_from_uid for stm32l5/stm32h5 2026-06-11 18:26:20 +02:00
stm32l5.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32l5.ld
…
stm32n6.c Add wolfBoot port for STM32N6 (NUCLEO-N657X0-Q) 2026-05-28 16:49:57 +02:00
stm32n6.h Add wolfBoot port for STM32N6 (NUCLEO-N657X0-Q) 2026-05-28 16:49:57 +02:00
stm32n6.ld Add wolfBoot port for STM32N6 (NUCLEO-N657X0-Q) 2026-05-28 16:49:57 +02:00
stm32u3.c F-3962: fix hal_flash_erase loop bound in stm32u3.c skipping final partial page 2026-06-11 18:23:51 +02:00
stm32u3.h F-3962: fix hal_flash_erase loop bound in stm32u3.c skipping final partial page 2026-06-11 18:23:51 +02:00
stm32u3.ld Add wolfBoot port for STM32U3 (NUCLEO-U385RG-Q) 2026-04-27 17:00:41 +02:00
stm32u5-ns.ld
…
stm32u5.c STM32H5, STM32U5, STM32L5: fix off-by-one error in hal_flash_erase 2026-05-06 19:03:12 +02:00
stm32u5.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32u5.ld
…
stm32u5_partition.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32wb.c F-3966: fix hal_flash_erase loop bound in stm32wb.c skipping final partial page 2026-06-11 18:02:03 +02:00
stm32wb.ld Create STM32WB wolfHAL example. GC sections on all test apps 2026-06-10 17:12:25 +02:00
stm32wba.ld Implement port for STM32WBA. Bump wolfHAL lib to latest 2026-07-02 08:44:45 +02:00
stm32wbxx_hal_conf.h
…
tc3_cfg.h
…
ti_hercules.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
ti_hercules.ld
…
va416x0.c Fix two regressions after the fenrir changes 2026-06-11 19:54:52 +02:00
va416x0.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
va416x0.ld
…
versal.c Add wolfBoot FIT support for loading bitstream 2026-06-09 15:30:27 +02:00
versal.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
versal.its Add wolfBoot FIT support for loading bitstream 2026-06-09 15:30:27 +02:00
versal.ld Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
wolfhal.c Create STM32WB wolfHAL example. GC sections on all test apps 2026-06-10 17:12:25 +02:00
x86_64_efi.c F-3735: fix EndingAddress uint32_t* arithmetic in x86_64_efi_do_boot 2026-06-11 18:43:02 +02:00
x86_64_efi.ld
…
x86_fsp_qemu.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
x86_fsp_qemu.ld.in
…
x86_fsp_qemu_loader.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
x86_fsp_qemu_stage1.ld.in
…
x86_fsp_tgl.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
x86_fsp_tgl.ld.in
…
x86_fsp_tgl_stage1.ld.in
…
x86_uart.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
zynq.c Peer review feedback (thanks Daniele) 2026-06-09 15:30:27 +02:00
zynq.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
zynq.ld ZynqMP: revert WOLFBOOT_ORIGIN to 0x8000000 2026-04-28 14:55:06 +02:00
zynq7000.c Peer review feedback (thanks Daniele) 2026-06-09 15:30:27 +02:00
zynq7000.h Add wolfBoot FIT support for loading bitstream 2026-06-09 15:30:27 +02:00
zynq7000.ld Add Xilinx Zynq-7000 (ZC702) wolfBoot port 2026-05-12 12:06:05 +02:00