Commit Graph

270 Commits (1adb2bcae0f4025317f0a4066d8d114f14d2023c)

Author SHA1 Message Date
Daniele Lacamera e016722e66 Added support for STM32L0X3
(firmware update successfully tested on STM32L073)
2019-07-15 08:55:15 -07:00
Daniele Lacamera 63eb744a62
Merge pull request #14 from wolfSSL/hifive1-hal
SiFive HiFive (FE310) RISC-V support
2019-07-15 17:51:23 +02:00
Daniele Lacamera 88d0e4dcfb HiFive1 eSPI driver: Fixed return-to-hwmode, refactoring hal_flash_write
for short write operations
2019-07-08 19:10:16 +02:00
Daniele Lacamera e8eb12076d test-app Makefile: change application source file names. 2019-07-08 19:08:58 +02:00
Daniele Lacamera cfa058c411 app_hifive1: improved debug (app RAM moved ahead to help debugging RAM
code + optional naked version of write_page()
2019-07-08 19:04:20 +02:00
Daniele Lacamera b5cf09d418 hifive1 app: Added long jump to wolfBoot_update_trigger() + minor fixes 2019-07-08 18:53:02 +02:00
Daniele Lacamera 02e1017fb2 Moved more trailer functions to RAM to reduce long jumps 2019-07-08 18:49:17 +02:00
Daniele Lacamera d9d9573185 Fixed update server checksum function 2019-07-08 18:48:11 +02:00
Daniele Lacamera 93fdc4a848 [hifive1] Flash Frequency set back to 50MHz 2019-06-27 13:11:32 +02:00
Daniele Lacamera 9cc558b7a2 [hifive1] fixed hal_flash_write 2019-06-27 12:40:40 +02:00
Daniele Lacamera e08d282879 [Hifive1 SPI] Changed order of SPI operations/direction changes 2019-06-26 19:24:39 +02:00
David Garske 68b5f67f23 Fix for `hal_flash_write` to use incremented data pointer for page. 2019-06-24 11:11:07 -07:00
David Garske 0a0e8f6a22 Fix for compile warning with operators and parens. 2019-06-24 10:54:47 -07:00
Daniele Lacamera 5c8bad047c Moved hifive1_write_page to separate module 2019-06-20 15:46:47 +02:00
Daniele Lacamera 637ffa9801 hifive hal: switch back to "hw mode" after erase/write operations 2019-06-19 15:56:39 +02:00
David Garske c46cf51156 Added some more useful standard library functions. 2019-06-18 10:54:34 -07:00
David Garske 4b2a5f94c5 Update test-app linker script flash size to match configured partition size in target.h 2019-06-13 13:23:20 +02:00
David Garske 92ed57832f Fixes for long jump. Targets.md fix for RAM_CODE typo. 2019-06-12 17:25:38 +02:00
David Garske 7a28c9efa4 Resolved peer review items. Thanks Daniele. Documentation improvements. Added open() check for update server example. 2019-06-10 21:21:32 +02:00
David Garske 33e3607e21 Updates to documentation for RISC-V addresses. Added link to wolfBoot-examples repo. Revert target.h changes. 2019-06-10 17:58:31 +02:00
David Garske 1b68506fdc Added unused function pruning to RISCV build. Updated debugging commands. 2019-06-08 17:46:47 -07:00
David Garske 317bca179c Fix for `ARCH_FLASH_OFFSET` when make script is gathering `.wolfboot-offset` and `.wolfboot-partition-size` files. Updates to Target.md. Cleanups to test tools. 2019-06-07 14:17:15 -07:00
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