Brett Nicholas
340d9df74b
imxrt: add FLEXSPI instance to ROM API calls, fixing 1064 update hang
2024-08-26 09:19:41 -06:00
Daniel Fedai Larsen
8cf988fa26
Fix return code for hal_flash_write
2024-08-26 06:01:50 +00:00
Daniel Fedai Larsen
5761f94916
Add DSB barrier in hal_flash_init/write/erase
2024-08-23 06:15:11 +00:00
Daniel Fedai Larsen
da4f0a6ee6
Add RAMFUNCTION to hal_flash_init
2024-08-23 06:05:15 +00:00
Daniel Fedai Larsen
ef4c3bbd35
Move DCACHE_InvalidateByRange to outside the loop in hal_flash_write
2024-08-23 05:59:49 +00:00
Daniel Fedai Larsen
9cf1e3a962
Add USE_GET_CONFIG to all i.MX RT targets except 1052
2024-08-22 10:41:37 +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
161f06e046
fix variable name typo
2024-07-31 12:32:13 -06:00
Brett Nicholas
214964642b
review comments re: style and variable init
2024-07-31 09:22:31 +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
53530c466b
Added hal_led_on/hal_led_off API's enabled with `ENABLE_LED` for testing.
2024-07-25 06:17:38 +02:00
David Garske
6078d58ace
Fix Renesas RX for internal flash write when != 128 bytes. Improved internal flash test case.
2024-07-25 06:17:38 +02:00
David Garske
3f3a3ec47a
Fix for Renesas RX hal_flash_write where length is < 128.
2024-07-25 06:17:38 +02:00
David Garske
d747afb780
Move interrupt disable to do_boot.
2024-07-23 18:37:06 +02:00
David Garske
f7fed89f27
Fix to make sure wolfBoot leaves IRQ's disabled. The TSIP driver will leave IRQ's on which could cause customer issues. Added new `spi_flash_chip_erase` API for the SPI flash driver.
2024-07-23 18:37:06 +02:00
Daniel Fedai Larsen
e0126ff4e8
Add support for building for HAB for i.MX RT targets
2024-07-22 08:14:33 +02:00
David Garske
f4935268fa
Merge pull request #460 from danielinux/stm32u5_spi
...
[QSPI] Fixed registers and pin config on STM32U5
2024-07-19 07:33:01 -07:00
Daniele Lacamera
04111a67b4
Added unit tests for FLAGS_HOME + fix NVM election
...
Taking into account the additional offset for PART_UPDATE_FLAGS at the
end of each flags sector when comparing two redundant flag sectors in
NVM_FLASH_WRITEONCE + FLAGS_HOME
2024-07-17 11:28:40 +02: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
John Bland
6c3940fafc
refactor final step of powerfail safe update and add
...
emergency fallback test
2024-07-10 16:58:23 -04:00
David Garske
ace95cc2dc
Added instructions for STM32H5 demo to `docs/flash-OTP.md`.
2024-07-09 10:27:52 -07:00
Daniele Lacamera
11ce50f6c1
Removed debug print, added PKCS11_SMALL, fixes
2024-07-09 10:22:43 -07:00
David Garske
16bdc19914
Fixes for building STM32H5 without PKCS11.
2024-07-09 10:22:43 -07:00
David Garske
4e6e81c509
Don't hide the bank swap registers behind `DUALBANK_SWAP`.
2024-07-09 10:22:43 -07:00
Daniele Lacamera
9b61f8923b
Fixed update + write to the right bank
2024-07-09 10:22:42 -07:00
Daniele Lacamera
4f50f423a8
Take into account bank swapping on erase.
...
Fixes update demo.
2024-07-09 10:22:42 -07:00
Daniele Lacamera
9d563ae60f
Added XMODEM update
2024-07-09 10:22:42 -07:00
Daniele Lacamera
aff2072694
Demo app: added test, benchmark, other gadgets
2024-07-09 10:22:42 -07:00
Daniele Lacamera
34d5ec15ea
Fixed UART devices in NS-mode, fixed H5 clock
2024-07-09 10:22:42 -07:00
Daniele Lacamera
059868ec45
STM32H5 uart support, work in progress
2024-07-09 10:22:42 -07:00
David Garske
7b5012b374
Cleanups from testing.
2024-07-05 09:44:59 -07:00
David Garske
83359a2b1e
Added RT1062 EVKB support and tested on real hardware. Updated documentation.
2024-07-03 14:58:04 -07:00
Daniel Fedai Larsen
9526fbb680
Fix compile error and clean up
2024-07-03 07:33:31 +02:00
Daniel Fedai Larsen
b7fc25c0a3
Invalidate cache after flash_write/erase and disable+enable IRQs
2024-07-01 12:55:27 +02:00
Daniele Lacamera
52e62688e0
[QSPI] Fixed OCTOSPI base address on stm32u5
2024-06-26 12:01:46 +02:00
Daniele Lacamera
24fdeb54d4
[QSPI] Fixed registers and pin config on STM32U5
2024-06-26 11:52:05 +02:00
David Garske
1967cc2670
STM32U5: Only try and invalidate cache if enabled.
2024-06-25 21:57:54 +02:00
David Garske
a92c1b9ad9
STM32U5 cache support. Including cache invalidate on `nvm_select_fresh_sector`. ZD 18210
2024-06-25 18:12:47 +02:00
Marco Oliverio
dbdb08b3eb
x86: misc fixes
...
fix various issues found by clangd-static-analyzer
2024-06-19 09:47:06 +02:00
David Garske
971cbe0ecc
Merge pull request #449 from danielinux/stm32h7_otp
...
Support for OTP Flash as trust anchor for keystore
2024-05-24 16:34:29 -07:00
Daniele Lacamera
df4dd3dadc
Fixed size for memcmp/copy used in fork_bootloader
2024-05-24 13:02:51 +02:00
David Garske
f0b340068a
Documentation for T1024 DDR4 registers.
2024-05-20 18:51:21 +02:00
Daniele Lacamera
307e3b426c
otp_keystore_primer: fixed provisioning + readonly
2024-05-20 10:58:43 +02:00
Daniele Lacamera
8b62697f6c
Fixed FLASH range config for SAU in TZ+DUALBANK
...
+ added non-secure area at boot for OTP to read trust anchor if OTP
feature is enabled.
2024-05-16 16:17:48 +02:00
Daniele Lacamera
9dd8b7cf97
Renamed FLASH_OTP_ROT to FLASH_OTP_KEYSTORE
2024-05-15 10:55:47 +02:00
Daniele Lacamera
34652ffebf
Reverted hal_flash_ functions moved to static
2024-05-15 10:55:47 +02:00