Commit Graph

444 Commits (2394c7424e678f94c5bfe587d6bee5e1619ee2aa)

Author SHA1 Message Date
Daniele Lacamera 75898806eb Added option FLAGS_HOME to store UPDATE flags in the BOOT partition 2020-09-11 11:25:51 +02:00
Daniele Lacamera 9f04c6242e Fixed DUALBANK_SWAP mode in STM32L5
- Added proper unlock procedure for FLASH_OPTKEYR
- fork bootloader when running with non-swapped banks
2020-09-09 14:26:30 -07:00
Daniele Lacamera f8d1779ef2 Added description for non-secure (dual-bank) mode on L5.
Minor fixes for L5: added missing linker sections, disabled MPU.
2020-09-09 14:26:30 -07:00
Daniele Lacamera fd0b13079a Added support for dual bank swap in stm32l5 2020-09-09 14:26:30 -07:00
Daniele Lacamera d184381eec Added SECBB support to write on non-secure pages 2020-09-09 14:26:30 -07:00
Daniele Lacamera 5614c75f1e Fixed address alignment, TZEN=0 mode not yet working 2020-09-09 14:26:30 -07:00
Daniele Lacamera d642231344 Disable TZEN by default on all platforms 2020-09-09 14:26:30 -07:00
Daniele Lacamera 28b275d3f5 Fixed partition size in stm32l5 config 2020-09-09 14:26:30 -07:00
Daniele Lacamera 61890b0bdb Fixed stm32l5 artifacts 2020-09-09 14:26:30 -07:00
Daniele Lacamera 81acc3fc6d Moved target-specific initialization to hal/ 2020-09-09 14:26:30 -07:00
Daniele Lacamera 12ea412029 Cosmetic fixes (whitespaces) 2020-09-09 14:26:30 -07:00
Daniele Lacamera 313ed1f9d7 Cortex-M33: simplified boot code, unused isr in vector 2020-09-09 14:26:30 -07:00
Daniele Lacamera f8d1f1d28a Don't create contiguous factory.bin on STM32L5 2020-09-09 14:26:30 -07:00
Daniele Lacamera db12405f13 Fixed "comparison always true" warning 2020-09-09 14:26:30 -07:00
David Garske 43c2e3dd79 Experimental support for STM32L5 2020-09-09 14:26:30 -07:00
David Garske cfb408c6d8
Merge pull request #78 from wolfSSL/bugfix-encryption-flags
Fix bug in encryption - account for flags offset
2020-09-04 08:15:37 -07:00
Daniele Lacamera 0482cba74d Fix bug in encryption - account for flags offset 2020-09-04 15:57:59 +02:00
David Garske 64d0e0f605
Merge pull request #76 from wolfSSL/prepare-release-1.6
Prepare release 1.6
2020-08-25 07:58:51 -07:00
Daniele Lacamera feb7522a58 Updated changelog for release 1.6 2020-08-25 09:51:32 +02:00
Daniele Lacamera c8785b07c0 Update wolfTPM submodule to latest master 2020-08-25 09:51:32 +02:00
Daniele Lacamera c690334584 Update wolfssl submodule to latest master 2020-08-25 09:51:23 +02:00
Daniele Lacamera 00361ee322 fixed warning with explicit type cast 2020-08-25 09:47:24 +02:00
David Garske f1033f126a
Merge pull request #70 from wolfSSL/parser_boundaries
Fixed manifest header boundary checks
2020-08-13 13:04:52 -07:00
David Garske c30d675e38 Fix for building on Mac. Added README.md. 2020-08-13 13:02:59 -07:00
Daniele Lacamera 5ad13dbac0 unit-parser.c: Added (c) and short description 2020-08-13 14:01:18 +02:00
Daniele Lacamera 4d93c68542 Added unit test for wolfBoot_find_header 2020-08-13 13:57:32 +02:00
Daniele Lacamera 944f816f05 Improved boundary checks in wolfBoot_find_header 2020-08-13 13:56:47 +02:00
Daniele Lacamera 7c8636f16b Fixed manifest header boundary checks
Added sanity check against address-space wrap-around

Revert "Added sanity check against address-space wrap-around"

This reverts commit cf81b32f38008723aa41a260a6c46920a9d3fb40.
2020-08-13 13:56:45 +02:00
David Garske d897a8b40b
Merge pull request #75 from wolfSSL/encrypt-slot-relocate
Relocate encryption key slot to the end of the flash partition
2020-08-12 09:01:17 -07:00
Daniele Lacamera 24538d19d9 Relocate temporary key slot to the end of the partition 2020-08-11 15:32:47 +02:00
David Garske b97f79499a
Merge pull request #74 from wolfSSL/spi-fix
Added RAMFUNCTION to spi_wait_busy
2020-08-10 09:14:27 -07:00
dan e10e3e3505 Added RAMFUNCTION to spi_wait_busy 2020-08-10 17:57:53 +02:00
Daniele Lacamera 9e421ff946
Merge pull request #69 from wolfSSL/manifest-aligned-fields
Sanity check for aligned fields in manifest header

Fix confirmed (thanks @guidovranken !)
2020-07-27 23:39:28 +02:00
Daniele Lacamera 12294df164
Merge pull request #73 from dgarske/vs_keytools
Fix for building C tools with Visual Studio
2020-07-27 17:53:36 +02:00
David Garske a11a3a3bc1 Fix for building C tools with Visual Studio. 2020-07-24 10:59:26 -07:00
David Garske 97c3180e2f Updated submodule to https://github.com/wolfSSL/wolfssl/pull/3027 for Cypress PSOC6. 2020-07-21 09:11:54 -07:00
Daniele Lacamera 0bd4026b6a
Update encrypted_partitions.md 2020-07-21 18:06:12 +02:00
David Garske 5fc7321032
Merge pull request #72 from wolfSSL/encrypted-update-fix
Fixed bug in encrypted update, removed swap_counter.
2020-07-15 10:30:00 -07:00
Daniele Lacamera b2beb49370 Fixed bug in encrypted update, removed swap_counter. 2020-07-15 17:36:38 +02:00
David Garske d31bfc2032
Merge pull request #71 from wolfSSL/lpc_fix
LPC: Fix aligned page address write
2020-07-14 15:28:27 -07:00
Daniele Lacamera 8187f9f159 LPC: Fix aligned page address write 2020-07-15 00:04:31 +02:00
Daniele Lacamera b3f471bff1 Sanity check for aligned fields in manifest header 2020-07-13 13:43:16 +02:00
David Garske 9ea5002122
Merge pull request #68 from wolfSSL/fix-lastresort-update
Fix last-resort update
2020-07-09 09:46:39 -07:00
David Garske e8e3c25de4
Merge pull request #67 from wolfSSL/self-update-from-spi
Allow bootloader update from SPI flash
2020-07-07 09:10:56 -07:00
Daniele Lacamera 5915d40904 Fix logic in emergency update 2020-07-06 14:04:15 +02:00
Daniele Lacamera 533fa9b4a2 Added RAMFUNCTION tag to SPI flash functions 2020-07-06 10:13:52 +02:00
David Garske 836a13a097
Merge pull request #65 from danielinux/jenkins-fixes-tpm
[Jenkins] fixed SPI CS pin config on test-bench
2020-06-29 11:31:11 -07:00
Daniele Lacamera 26ebbc53c5 [Jenkins] fixed SPI CS pin config on test-bench 2020-06-29 17:55:43 +02:00
Daniele Lacamera d50057344e
Merge pull request #64 from dgarske/keytools
Improvements to the key tools documentation
2020-06-24 18:27:28 +02:00
David Garske c473a53ebe Improvements to the key tools documentation. 2020-06-24 09:04:24 -07:00