Commit Graph

1748 Commits (2ec2bcdf7938fb54029ff477de7c938cb6d0cd6c)

Author SHA1 Message Date
David Garske 0f00f8e700 SiFive HiFive (FE310) RISC-V support
* HiFive1 HAL Support for PLL Clock, UART, RTC and Flash QSPI Erase/Write.
* HiFive1 update demo application for accepting firmware updates over UART.
* Added test-update-server application for pushing firmware image over UART.
* Fixes for building with `make SIGN=ECC256`.
* Improvements to wolfCrypt `user_settings.h`.
* General library cleanup (license headers and formatting)
* Updated the wolfSSL submodule to latest.
* Documentation updates including new `Targets.md` section for hardare instructions.
2019-06-07 13:08:15 -07:00
David Garske 11dd4f184e
Merge pull request #13 from wolfSSL/quickfix-wsl
Minor makefile fix partition offset during build
2019-05-29 08:48:34 -07:00
Daniele Lacamera 0c14005e14 Fixed retrieving partition offset during build
fix for #12
2019-05-29 15:43:22 +02:00
David Garske e6723ec831
Merge pull request #7 from wolfSSL/ramcode
Ramcode
2019-04-29 11:54:40 -07:00
David Garske b75f6bbdc2 Added missing macro on Mac for `B115200`. 2019-04-29 11:54:08 -07:00
Daniele Lacamera 558441650c Added ECC self-update test code 2019-04-29 20:32:04 +02:00
Daniele Lacamera 2ef5e47d61 Added test for bootloader update 2019-04-29 20:32:04 +02:00
Daniele Lacamera 738730c982 Making python3 a requirement for keytools + fixes for MacOS 2019-04-29 20:32:04 +02:00
Daniele Lacamera fc547e4a25 wolfBoot can update itself when compiled with RAM_CODE=1
- Added wolfBoot version
- Added extra 16bit header tag to identify the image type and authentication
- Implemented optional in-ram self-update of the bootloader, with version control
and authentication mechanism (not fail-safe)
2019-04-29 20:32:04 +02:00
Daniele Lacamera 937e9d46fb Introducing RAMCODE tag to transfer functions to RAM
- Moved functions in the flash write path to RAM, so their execution
does not depend on flash access

- RAMCODE can be enabled via "make RAM_CODE=1"
2019-04-29 20:32:04 +02:00
David Garske 043bc2798f
Merge pull request #6 from wolfSSL/python-keytools
Python keytools
2019-04-24 11:24:03 -07:00
Daniele Lacamera 905e6a049a Should fix 'make clean' on MacOS 2019-04-24 20:14:52 +02:00
Daniele Lacamera 94af1b74cb Fixed MacOS compatibility + python3 requirement 2019-04-24 20:14:06 +02:00
Daniele Lacamera 75fc9cc59a C Host key tools rewritten in python (fix for #4) 2019-04-17 07:15:59 +02:00
Daniele Lacamera 17f382b995 Fixed ECC in keygen.py (requires latest wolfcrypt-py) 2019-04-17 07:05:48 +02:00
Daniele Lacamera 91cacce82a Added python keygen tool 2019-04-17 07:05:48 +02:00
David Garske 8852c01bf4
Merge pull request #5 from wolfSSL/multi-arch
Support for multiple architectures, new build system
2019-04-08 10:02:29 -07:00
Daniele Lacamera aaa0d064bb Removed SiFive demo app 2019-04-08 17:26:42 +02:00
Daniele Lacamera 97a88ff76c Added sifive-hifive test application with external bsp 2019-04-04 16:33:24 +02:00
Daniele Lacamera b918014203 Multi-platform test application, added K82 to Kinetis port 2019-04-04 16:31:45 +02:00
Daniele Lacamera b5fd49a82a Initial experimental support for RISC-V
- New Makefile to support multiple architectures
- Separate architecture-specific start-up files
- Stub for a hifive1 HAL port
2019-04-01 14:01:14 +02:00
Daniele Lacamera e7863ca95f Updated README, v1.1 release notes 2019-03-27 07:22:26 +01:00
Daniele Lacamera 2cb57e9326 wolfSSL submodule: to commit b528997d30 2019-03-22 08:38:21 +01:00
Daniele Lacamera 7718f4c5e0 Added documentation for compile-time options 2019-03-21 23:35:22 +01:00
Daniele Lacamera 821287fe7c Submodule wolfSSL to v4.0.0 2019-03-21 22:29:01 +01:00
Daniele Lacamera a42da3b0ec Fixed minor check-after-dereference 2019-03-21 22:27:28 +01:00
Daniele Lacamera 9a92d06509 Added new ports to HAL documentation 2019-03-20 10:17:52 +01:00
Daniele Lacamera 6324e8fe37 [CI] SPI tests fixed 2019-03-18 12:21:44 +01:00
Daniele Lacamera da8175b856 stm32f4 SPI-flash: Remove unnecessary delay after CS-off 2019-03-18 12:10:40 +01:00
Daniele Lacamera fcf1985978 STM32F4 Hal: support internal flash up to 1MB 2019-03-18 12:10:03 +01:00
Daniele Lacamera 630a10eafa Automated tests for EXT_FLASH/SPI_FLASH 2019-03-15 11:16:34 +01:00
Daniele Lacamera c989a13d94 [CI] test automation on target 2019-03-13 18:25:45 +01:00
Daniele Lacamera fd501b976d [CI] Added test-expect-version tool 2019-03-13 14:59:56 +01:00
Daniele Lacamera ccf794cf4c Added test makefile targets for test automation 2019-03-13 14:56:33 +01:00
Daniele Lacamera d8c9c15e12 Fixed stack overflow accessing ecc_key structures in ecc signing tool 2019-03-13 14:43:31 +01:00
Daniele Lacamera 1b03e3d8ac Test-app: now using USART1 to report current version 2019-03-13 13:41:58 +01:00
Daniele Lacamera a27f33de70 Fixed fall-back mechanism on platforms with large flash blocks (STM32) 2019-03-13 13:40:03 +01:00
Daniele Lacamera d3d938d087 Kinetis SDK path: fixed command line variable 2019-03-10 14:09:38 +01:00
Daniele Lacamera 8eb8374795 Added NVM_FLASH_WRITEONCE compile option. Optimized write in kinetis HAL. 2019-03-10 12:40:21 +01:00
Daniele Lacamera 472cdd07b3 Kinetis hal: removed clock settings from libwolfboot 2019-03-10 09:49:14 +01:00
Daniele Lacamera 7f60f68474 Faster sector copy 2019-03-10 09:48:06 +01:00
Daniele Lacamera 8a8875fc05 Added support for Kinetis SDK 2019-03-05 20:35:04 +01:00
Daniele Lacamera d46e8fdbc6 STM32 test application: enable update-over-USART 2019-03-01 19:40:12 +01:00
Daniele Lacamera 2193dcf5b1 Removed dead code 2019-03-01 19:34:09 +01:00
Daniele Lacamera 6b5b1ed854 Added support for Texas Instrument cc26x2 2019-02-25 09:20:33 +01:00
Daniele Lacamera e4f0b8dee5 Added new wolfBoot_get_image_version() API 2019-02-15 15:36:44 +01:00
Daniele Lacamera 27a306b7f5 Prevent downgrade attacks by default, unless compiled with
ALLOW_DOWNGRADE=1
2019-02-15 15:16:07 +01:00
Daniele Lacamera 3812dc9ac7 Added ext_flash_* function to the HAL description 2019-02-15 15:00:01 +01:00
Daniele Lacamera bfa3f50a60 Restored target.h for default test 2019-02-15 14:45:27 +01:00
Daniele Lacamera 503b008cf5 New feature: allow swapping from external memory (e.g. SPI flash) 2019-02-15 13:41:06 +01:00