Commit Graph

605 Commits (31819bd206e15487f42727014348e9c75f4e3dd3)

Author SHA1 Message Date
Dimitar Tomov 7f68f63bcf Added debug code for testing of the new measured boot feature
Signed-off-by: Dimitar Tomov <dimi@wolfssl.com>
2020-12-11 00:37:37 +02:00
Dimitar Tomov 9cf29c1abb Added note about the place of execution of the TPM measurement
Signed-off-by: Dimitar Tomov <dimi@wolfssl.com>
2020-12-10 17:46:53 +02:00
Dimitar Tomov a2ff8f1d8e Make sure wolfTPM support is included when measured boot is enabled
Signed-off-by: Dimitar Tomov <dimi@wolfssl.com>
2020-12-10 17:46:51 +02:00
Dimitar Tomov 259008d418 Add user option to select the PCR for measured boot
Define name is intentionally using PCR_X naming scheme to allow
multiple stage measured boot in the future.

Signed-off-by: Dimitar Tomov <dimi@wolfssl.com>
2020-12-10 00:22:11 +02:00
Dimitar Tomov 5d877bc912 Added measured boot
Signed-off-by: Dimitar Tomov <dimi@wolfssl.com>
2020-12-10 00:15:02 +02:00
David Garske 32a9300d09
Merge pull request #94 from danielinux/uart-stm32l0
Added UART driver for stm32l0
2020-12-08 06:48:57 -08:00
Daniele Lacamera 119954115f Added UART driver for stm32l0 2020-12-08 12:09:54 +01:00
David Garske 834806abd6
Merge pull request #92 from danielinux/stm32h7-hal-fixes
Stm32h7 hal fixes
2020-11-30 07:31:36 -08:00
David Garske 110a89a40f
Merge pull request #91 from danielinux/image-size-fix
Fixed check on FW image size in wolfBoot_open_image
2020-11-30 07:30:01 -08:00
Daniele Lacamera 6208f48bc8 Fix for issue #89: Workaround for ECC in STM32H7 driver. Fixed erase
function.
2020-11-26 17:43:21 +01:00
Daniele Lacamera 2394c7424e Fixed stm32h7.c hal write from app 2020-11-26 17:43:21 +01:00
Daniele Lacamera 95a75627ef Added call to wolfboot_update_trigger in app_stm32h7 for test purposes 2020-11-26 17:43:21 +01:00
Daniele Lacamera f8c577e291 Fixed offset alignment in STM32H7 hal_flash_write 2020-11-26 17:43:21 +01:00
Daniele Lacamera fa7099315c Fixed check on FW image size in wolfBoot_open_image 2020-11-26 17:37:43 +01:00
Liam e79f10be5c sector flags size fix 2020-11-24 08:45:33 +01:00
Liam 9f213e973a start flags offset should keep trailer in mind 2020-11-24 08:45:33 +01:00
Daniele Lacamera 19cc89b128 Fixed indentation in arch.mk 2020-11-20 08:09:18 +01:00
Glenn Ergeerts 4a84fd369e configure GPIO pull-down and speed settings for SPI CLK, MISO and MOSI for STM32L0 2020-11-19 13:51:28 +01:00
Glenn Ergeerts 4d251de3c7 removed not necessary EWSR SPI command 2020-11-19 13:51:28 +01:00
Glenn Ergeerts 3a9459cfe9 Macronix flash chips also support single byte write mode 2020-11-19 13:30:14 +01:00
Glenn Ergeerts 3682e66818 stm32l0: add support for external SPI flash 2020-11-19 13:30:14 +01:00
David Garske ad38bacfd8
Merge pull request #87 from danielinux/stm32h7-hal-fixes
Fixed hal_flash_write in stm32h7, added dualbank option
2020-11-17 10:37:58 -08:00
Daniele Lacamera c7998c817a Fixed hal_flash_write in stm32h7, added dualbank option 2020-11-17 10:27:03 +01:00
Daniele Lacamera 655cd254b6
Update firmware_update.md
Minor change to fix a function name in documentation
2020-11-17 09:06:42 +01:00
David Garske 4706d2f126 Peer review fixes. Fixes for SHA3 and RSA4096 in makefiles. Fixes for Xilinx SDK excludes. Cleanup of the printf to use the built-in facilities (`wolfBoot_printf`). 2020-11-12 10:47:32 +01:00
David Garske f77186b68b Fix for QSPI clock. 2020-11-12 10:47:32 +01:00
David Garske 35531e2ec6 Fix the exclude items in wolfBoot Xilinx SDK project. 2020-11-12 10:47:32 +01:00
David Garske 3719816795 Minor build fixes. 2020-11-12 10:47:32 +01:00
David Garske 9a4d1acfb3 Fixes for building spi_flash.c. 2020-11-12 10:47:32 +01:00
David Garske bd87099f10 eFuse reading. 2020-11-12 10:47:32 +01:00
David Garske f2fe944d8e Zynqmp updates to use xil_printf. Adds UART support for debugging. 2020-11-12 10:47:32 +01:00
David Garske 709ce000a7 Increase stack/heap for Zynq. Add additional Zynq debugging logs for update_ram.c. Pass return code from `wolfBoot_verify_signature` when calling `wolfBoot_verify_authenticity`. 2020-11-12 10:47:32 +01:00
David Garske 14b8dc2cd6
Merge pull request #86 from danielinux/RSA4096_fix
Fixed build with RSA4096 (tfm.o was missing)
2020-11-05 09:39:50 -08:00
Liam 4e823af012 surround faster speed in ifdef so it only gets used for STM32L0 platform 2020-11-05 14:07:24 +01:00
Liam 579871f72e increase spi speed 2020-11-05 14:07:24 +01:00
Daniele Lacamera 5562107ec8 Fixed build with RSA4096 (tfm.o was missing) 2020-11-05 10:16:51 +01:00
David Garske 2e440b7b24
Merge pull request #85 from danielinux/sector_flags_relocate
Sector flags relocate
2020-11-04 07:34:57 -08:00
David Garske da158af83a
Merge pull request #84 from danielinux/docs-update
Updated documentation to reflect latest design
2020-11-03 10:02:22 -08:00
Daniele Lacamera 4076a2aefb Updated documentation to reflect latest design 2020-11-03 17:59:46 +01:00
Daniele Lacamera 4e27d9197f Added compile-time option to invert FLAGS logic (FLAGS_INVERT=1) 2020-11-03 11:05:14 +01:00
Daniele Lacamera d13ec08941 Erase old partition/sector flags when triggering an update in FLAGS_HOME
mode.
2020-11-02 09:54:45 +01:00
Daniele Lacamera 72eb2c205b Relocate sector flags in FLAGS_HOME mode to a constant location 2020-10-16 10:29:19 +02:00
David Garske c5ec4e31d8
Merge pull request #81 from danielinux/imx-rt1060
i.MX-RT1060 support
2020-10-09 09:35:29 -07:00
Daniele Lacamera 8e1c76384c submodule updated to latest wolfSSL (fixes imx_rt PKA mode) 2020-10-09 18:32:08 +02:00
Daniele Lacamera a98bab9932 Submodule moved to wolfSSL master 2020-10-09 17:07:01 +02:00
Daniele Lacamera b8dd5d604d Updated documentation for RT1060 2020-10-09 17:03:46 +02:00
Daniele Lacamera f533c7c654 Cleanup test application + removed unused components 2020-10-09 16:53:07 +02:00
Daniele Lacamera cd9c92caa6 Added short documentation for imx-rt1060 2020-10-09 13:55:44 +02:00
Daniele Lacamera d6257fb62d RT1060: Added support for HW SHA acceleration via DCP 2020-10-09 13:44:06 +02:00
Daniele Lacamera bc4cdaa60e Added imx-rt1060 example configuration 2020-10-09 13:28:27 +02:00