Commit Graph

605 Commits (31819bd206e15487f42727014348e9c75f4e3dd3)

Author SHA1 Message Date
Daniele Lacamera 9186c263a2 Fixed IMX-RT-1060 flash driver, working update 2020-10-09 13:26:28 +02:00
Daniele Lacamera c26d2c0517 Fixed bootloader link step; added stub for nor flash driver 2020-10-07 18:41:02 +02:00
David Garske 6a8b2ae3d6
Merge pull request #50 from dgarske/stm32l5
Support for STM32L5
2020-09-30 11:46:55 -07:00
David Garske 9d3f763354 Fix for scripts to detect and use C version of signing tool if available. Updated instructions to use correct address. Minor cleanups. 2020-09-30 11:45:53 -07:00
Daniele Lacamera f649685ee6 Fixed address base for Block-based write access in secure mode 2020-09-30 18:35:28 +02:00
Daniele Lacamera 7e1773199d Minor fixes to block-based claim procedure 2020-09-30 17:45:39 +02:00
Daniele Lacamera 9d09f61b40 Integration of support for DISABLE_BACKUP in stm32l5 (TZEN=1 case) 2020-09-28 18:50:47 +02:00
Daniele Lacamera cbe002fad7 Merge branch 'update-flags-in-boot-partition' into stm32l5 2020-09-28 17:10:28 +02:00
Daniele Lacamera 4e5517d0d9 Added makefile options + test application for i.mx-RT1060
(work in progress)
2020-09-28 14:45:15 +02:00
Daniele Lacamera b0fbafe014 Added DISABLE_BACKUP option 2020-09-14 16:31:07 +02:00
Daniele Lacamera f6252917d4 Updated documentation of compile-time options 2020-09-11 12:01:06 +02:00
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