Commit Graph

921 Commits (022b8d3c13cf81091dec8d0f75f34235b8fd8640)

Author SHA1 Message Date
David Garske 022b8d3c13 Progress on adding NXP QorIQ P1021 support. 2022-12-29 18:27:40 +01:00
David Garske e88a7dcae3 Progress on DDR support for QorIQ. Refactor the platform to use "nxp_". 2022-12-29 18:27:40 +01:00
David Garske 0791005a6f
Merge pull request #268 from danielinux/fix-tpm-regressions
Fixed regressions on TPM SPI communication
2022-12-29 08:20:10 -08:00
Daniele Lacamera 74a26d20c8 Fixed regressions on TPM SPI communication
that were introduced in #265
2022-12-29 16:11:34 +01:00
David Garske 4c4fab7612 Expand build tests for aarch64 and ppc. Fixes for some minor build errors uncovered. 2022-12-28 22:47:27 +01:00
David Garske 005df0949d Disabled builds that have requirements not supported yet. Fixed L0 build. 2022-12-28 19:15:50 +01:00
David Garske 8662f2539a Adding build tests for all ARM based example configs. 2022-12-28 19:15:50 +01:00
David Garske e746c3f65a Fix for wolfBoot with wolfTPM. Tested with `cp ./config/examples/stm32wb-tpm.config .config && make clean && make`. 2022-12-28 19:15:50 +01:00
Anthony Tatowicz Jr 1d035cd6cc
Merge pull request #264 from danielinux/stm32h7_qspi.pr254.gpiofix
STM32H7 QSPI flash support
2022-12-27 15:38:40 -06:00
David Garske a93eacf510 Improve QSPI driver performance. 2022-12-22 15:29:24 -08:00
David Garske 8d7d4d4f74 Fixes for QSPI read. Adds alternate byte support. Cleanup of simple QSPI read/write. 2022-12-22 15:02:31 -08:00
David Garske c3cf21a81f STM32 QSPI cleanups. 2022-12-21 14:06:31 -08:00
David Garske 5331f5ee23 QSPI Flash tests passing in single SPI mode (working on Quad mode).
```
wolfBoot Init
Flash ID (ret 0): 0x1870EF, status 0
Erase Sector: Ret 0
Flash Write: Ret 0, Address 0x200000, Page 0, Len 256
Write Page: Ret 0
Flash Read: Ret 0, Address 0x200000, Len 256, Cmd 0xB
Read Page: Ret 0
Checking...
Flash Test Passed
```
2022-12-20 16:44:53 -08:00
David Garske 26bed3e893 Fixes for QSPI driver (CS is controller by QSPI). Fix little endian byte ordering for UART printf feature. 2022-12-20 15:00:26 -08:00
Daniele Lacamera bf62ebe3fd Fix GPIO mode for SPI CS pins 2022-12-20 13:54:17 +01:00
David Garske 1766864a6b Fixes for STM32 QSPI and cleanups. Added build-option for QSPI clock (`QSPI_CLOCK_MHZ`). 2022-12-20 13:31:28 +01:00
David Garske a9526bab8f STM32 QSPI Flash support. Refactor SPI to allow different GPIO base/AF for each pin. Adds `DEBUG_UART` support for H7. 2022-12-20 13:31:28 +01:00
David Garske ac6f5207c7 Update documentation. 2022-12-19 11:38:00 +01:00
David Garske f283929161 Improvements to gap fill. The default gap filling byte is `0xFF`. If using `FLAGS_INVERT=1` uses `0x00`. Can be overridden at build-time using `FILL_BYTE`. Fixes ZD 15356. 2022-12-19 11:38:00 +01:00
David Garske da6d364f1e Fixes for encrypt/decrypt with unaligned address. Fix issue with byte count result on Mac. Cleanups for uart-flash-server. 2022-12-16 17:50:02 +01:00
Daniele Lacamera 4ee867b2dd Fixes for stm32wb test
- added img->hdr_ok flag when opening external flash image
- correct return value for uart_flash ext_flash functions
- correct image size in prepare_encrypte_update.sh
2022-12-16 17:49:46 +01:00
David Garske b1d7c43043 Fix for external SPI broken with cd6597e2a0 2022-12-14 23:07:38 +01:00
David Garske 95d5ed6c01
Merge pull request #258 from danielinux/docker-test-2022.12
Github workflows: new test scripts
2022-12-13 11:10:31 -08:00
David Garske 510e4ab4b0
Merge pull request #259 from danielinux/fix.ecc384.smallstack.tfm
Fix ecc_point size for ECC384 with SMALL_STACK/TFM
2022-12-13 09:19:38 -08:00
Daniele Lacamera 34b7b4c0a7 Fix ecc_point size for ECC384 with SMALL_STACK/TFM 2022-12-13 17:30:03 +01:00
Daniele Lacamera 186027b122 Github workflows: new test scripts
Moved most of the commands inside the renode container.

Updated docker image to compile and run all tools, wolfboot and test
image within the renode container.
2022-12-13 16:45:57 +01:00
David Garske bc4c6d0f0c
Merge pull request #250 from lealem47/wolfboot_cmake
wolfBoot cmake support.
2022-12-07 14:52:35 -08:00
Lealem Amedie 18bfcecd6b wolfBoot cmake support 2022-12-07 13:00:10 -08:00
David Garske d5063aa4c9
Merge pull request #255 from lealem47/workflow
github test: Specify image version so GLIB_C 2.34 is available
2022-12-07 12:47:15 -08:00
Lealem Amedie 8f0e4d23aa github test: Specify image version so GLIB_C 2.34 is available 2022-12-07 11:16:36 -08:00
David Garske 4c92552fc7 Progress on DDR support. 2022-12-06 06:20:48 +01:00
David Garske 6d45564112 Test size increases. Improve user_settings.h ECC options. 2022-12-06 06:20:48 +01:00
David Garske 7cb8d3a66f Fix bug with fixed partitions not setting `hdr` and `trailer` correctly. 2022-12-06 06:20:48 +01:00
David Garske 2a481af879 Fix bug with update_ram.c when using fixed partitions. Support for MMU setup on e6500. Progress on DDR support. 2022-12-06 06:20:48 +01:00
David Garske bc89cb6594 Added minimalistic printf UART support (enabled with `DEBUG_UART`). 2022-12-06 06:20:48 +01:00
David Garske bfed41889b Improvements to the NXP T2080 support. Adds NOR Flash and IFC configuration. Adds CPLD support. Make `DEBUG_UART` a configure option. 2022-12-06 06:20:48 +01:00
David Garske 2fc899254f Cleanups for NXP T2080 DEOS support:
* Expanded the NXP QorIQ T2080 documentation in `docs/Targets.md`.
* T2080 fixes for boot code placement and generation of .bin.
* T2080 UART driver cleanup.
* Improve bin-assemble fill speed and report items added.
* Make portability fixes to enable building in `mingw32-make`.
* Cleanup the `docs/Targets.md` sections and links.
* Cleanup execute bits on code files.
2022-12-06 06:20:48 +01:00
David Garske 082e068b6f
Merge pull request #251 from danielinux/volatile-blob-fields
Make variables volatile in get_blob_* functions
2022-11-28 08:39:09 -08:00
Daniele Lacamera de686b5760 Make variables volatile in get_blob_* functions
Compiler optimizations will cause some values to be optimized out, when
reading parameters from the flash.

Using 'volatile' in these functions results in values being correctly
updated.

This should fix the issue reported in #249.
2022-11-28 16:16:15 +01:00
David Garske c3b5ac156b Experimental STM32U5 external flash support. 2022-11-23 18:13:03 +01:00
Marco Oliverio 746e3f436b
Merge pull request #248 from danielinux/prepare_v1.13
Update Changelog and prepare for release
2022-11-08 13:21:24 +01:00
Daniele Lacamera 2ca022b2fd Update Changelog 2022-11-08 12:32:09 +01:00
Marco Oliverio 0e1a5807d2
Merge pull request #247 from danielinux/enc-deltat-test-timeout
Increase timeout value in incremental tests
2022-11-07 17:14:40 +01:00
Daniele Lacamera 02d3dd67f0 Increase timeout value in incremental tests 2022-11-07 16:04:30 +01:00
JacobBarthelmeh 9a3b6d1b15
Merge pull request #246 from danielinux/latest-wolfssl-test
Update to wolfSSL master
2022-11-03 08:15:36 -06:00
Daniele Lacamera 3522780c7d Updated lib/wolfssl to v5.5.3-stable 2022-11-03 14:13:01 +01:00
Daniele Lacamera c41f84d356 lib/wolfssl updated to v5.5.2-stable 2022-11-03 08:37:30 +01:00
Daniele Lacamera 24faa4f091 Update to wolfSSL master 2022-10-25 17:56:18 +02:00
Marco Oliverio 83dc546a21
Merge pull request #245 from danielinux/fix-encrypted-delta
Fixed bug in encrypted-delta update
2022-10-24 11:34:04 +02:00
Daniele Lacamera 95b35e6789 Fix ext API usage in uart/spi flash drivers 2022-10-24 10:54:17 +02:00