Commit Graph

904 Commits (ac6f5207c702ea5e809134d41ce73263b372e291)

Author SHA1 Message Date
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
Daniele Lacamera 88a48e5332 Fixed bug in encrypted-delta update 2022-10-21 14:09:12 +02:00
David Garske 96903270bd
Merge pull request #240 from danielinux/submodules-update-5.5.1
Updated wolfSSL and wolfTPM submodules
2022-10-14 06:47:39 -07:00
Daniele Lacamera 5114e308ae Updated wolfSSL and wolfTPM submodules 2022-10-14 12:48:47 +02:00
David Garske 1591ea9ef1
Merge pull request #243 from danielinux/add-cflags
Add -fomit-frame-pointer to CFLAGS
2022-10-13 09:18:29 -07:00
Daniele Lacamera ba88748b38 Add -fomit-frame-pointer to CFLAGS 2022-10-13 14:22:55 +02:00
David Garske 62c7cd296a Fixes for wolfBoot Xilinx QSPI support. 2022-10-10 11:58:57 +02:00
David Garske c346fab41b Support for NAII 68PPC2 with NXP T2080 on DEOS 2022-09-23 15:44:49 +02:00
David Garske 3e3d61cf5f
Merge pull request #238 from danielinux/encrypted-selfupdate
Encrypted self-update
2022-09-21 10:35:05 -07:00
Daniele Lacamera a6fdec3901 self-encrypt prototype; tested on stm32l0 2022-09-21 18:49:52 +02:00
David Garske 1a3195a63b Fix the IAR sign script (broken with the key store PR 212 and wasn't properly fixed in PR 230). 2022-08-16 09:04:31 +02:00
David Garske e1d986a9f0
Merge pull request #231 from danielinux/prepare-v1.12
Preparing release v1.12
2022-07-26 08:34:25 -07:00
Daniele Lacamera 829fd1c3c9 Updated memory pool size to wolfSSL v5.4.0 2022-07-26 12:55:53 +02:00
Daniele Lacamera f6eeb8dd5d Preparing release v1.12 2022-07-26 09:57:32 +02:00
David Garske 3c2c26bf3a Fixes for IAR. Switch to new `src/keystore.c` for keys. Fixes for building keytools in Visual Studio. 2022-07-26 09:34:53 +02:00
Marco Oliverio ef0b760d51
Merge pull request #229 from danielinux/test-fix-delta-ext
Fix delta-update-ext test
2022-07-25 17:09:06 +02:00
Daniele Lacamera 7f9711aad5 Fix delta-update-ext test 2022-07-25 16:39:54 +02:00
Marco Oliverio 9334946a82
Merge pull request #228 from danielinux/sign-py-fix-encryption
Sign.py: fixed output file name when encrypt=1
2022-07-25 11:04:16 +02:00