Commit Graph

444 Commits (2394c7424e678f94c5bfe587d6bee5e1619ee2aa)

Author SHA1 Message Date
David Garske 3f1a18f8a9 Fixed unused warning fixes and missing errno.h in keygen.c. Update tools/keytools Makefile to build keygen. Cleanup to support using C version of "sign" and "keygen" after "make keytools". 2020-04-07 18:27:05 +02:00
David Garske 5c6649244c Fix for intermediate directory naming conflict between two projects. 2020-04-07 18:12:56 +02:00
David Garske 2ce294974e
Merge pull request #43 from wolfSSL/uart-flash
External, emulated non-volatile memory over UART
2020-04-07 07:48:48 -07:00
Daniele Lacamera fbf4f727a6 Re-added missing includes in ufserver when compiling on linux 2020-04-07 16:41:38 +02:00
Daniele Lacamera aaa5f962e6 minor changes after code review 2020-04-07 16:39:37 +02:00
David Garske ec1b4b4d95 allow the ufserver to build on Mac 2020-04-07 16:35:20 +02:00
Daniele Lacamera 48405e0dcd Make clean: remove temporary file 2020-04-07 10:56:08 +02:00
Daniele Lacamera 352a57735c Removed absolute path in test-app linker script setting 2020-04-07 10:00:41 +02:00
Daniele Lacamera 963e25a4cc keygen: added conditional compile for algorithms 2020-04-07 09:54:47 +02:00
Daniele Lacamera 6020b4efdf keygen.c: fixed indentation 2020-04-07 09:07:34 +02:00
Daniele Lacamera 3a763ac19a Removed debug in keygen tool 2020-04-07 09:06:27 +02:00
Daniele Lacamera e968e6c4d3 Fixed compile error in previous commit 2020-04-06 17:41:51 +02:00
Daniele Lacamera 92e1f632c1 Removed magic numbers for bitrate 2020-04-03 20:24:13 +02:00
Daniele Lacamera f04aac6a9f Added missing include file 2020-04-03 20:19:45 +02:00
Daniele Lacamera ab629ba0dc
Merge pull request #42 from dgarske/install
Added basic instructions for getting started
2020-04-03 17:50:50 +02:00
Daniele Lacamera 7ffcdca098 External, emulated non-volatile memory over UART 2020-04-03 14:27:42 +02:00
David Garske 99a0ce8d66 Added basic instructions for getting started. 2020-03-31 10:12:09 -07:00
Daniele Lacamera 46058f0437
Merge pull request #39 from dgarske/aarch64_more
Fixes for Zynqmp with BL31 and C signing tool padding
2020-03-31 12:07:04 +02:00
Daniele Lacamera 8c6272df4a Completed Windows/IAR example, removed extra files 2020-03-31 11:54:58 +02:00
David Garske 85b7c4d52f Xilinx Zynq fixes and cleanups. Updated Xilinx SDK instructions for EL-1 / Hypervisor support. Updated the `zynq.ld` script to use 0x4000000 and only DDR0 region. Updated the example BIF files to use EL-1. Fix for cast warnings to `ext_flash_*` API's. 2020-03-30 07:52:07 -07:00
Daniele Lacamera 7e6452467b Added keygen C tool + vcproj for windows 2020-03-30 14:12:39 +02:00
Daniele Lacamera 486e633069 Example workspace/project to build under IAR 2020-03-27 14:34:20 +01:00
David Garske 1d2a3abd9a Fix for Zynqmp tap delay and non EL-3 use of cpufreq. 2020-03-25 08:19:42 -07:00
David Garske 94af71e9e9 Fix for signing tool and SHA3 padding at 8-bytes. 2020-03-25 08:19:11 -07:00
Daniele Lacamera 6af52adcb1
Merge pull request #37 from danielinux/aarch64
wolfBoot Aarch64 support (Xilinx Zynq and Raspberry Pi)
2020-03-23 17:44:26 +01:00
Daniele Lacamera cd209e9d3a Added --force option to keygen 2020-03-23 13:32:59 +01:00
Daniele Lacamera 5d80dcf512 Added 6 bytes to padding in manifest
(fixes SHA-3 misaligned access)
Spotted via test-81
2020-03-19 17:06:05 +01:00
Daniele Lacamera f72e48f1f1 Reverted modification to keygen.py (fixes regression in test-51) 2020-03-19 15:13:05 +01:00
Daniele Lacamera b82088f977 moved self-update code to update_flash module 2020-03-19 14:46:38 +01:00
Daniele Lacamera 9eb5f47168 Restored self-update code 2020-03-19 14:42:32 +01:00
Daniele Lacamera 988258099e Fixed regression in ed25519 mode 2020-03-19 13:28:31 +01:00
David Garske 99cf42b9a3 Added missing items from signing tool Visual Studio project. Updated signing documentation. 2020-03-11 12:25:51 -07:00
David Garske 2f3da0220c Visual Studio project for standalone C signing tool. 2020-03-11 11:47:53 -07:00
David Garske 1bdfb3200a Added `NO_QNX` option to force not using QNX driver (when using QNX compiler). 2020-03-10 13:19:09 -07:00
David Garske 897e63b68c Added wolfBoot QNX QSPI driver support (builds, not tested). 2020-03-10 11:37:27 -07:00
David Garske 6b6d5611a7 Added support for initializting the GICv2 interrupt controller. This is required for QNX kernel boot. 2020-03-10 11:30:22 -07:00
David Garske e7446c570f Fixes for Device Tree (DTS) handling. Updated documentation. 2020-03-06 15:33:41 -08:00
David Garske 2867025ae5 Fixes for handling U-Boot image and DTS. Moved the Xilinx SDK project target settings into target.h. 2020-03-05 15:39:22 -08:00
David Garske c0b534edd7 wolfBoot Aarch64 support (Xilinx Zynq and Raspberry Pi):
* Added Aarch64 boot/startup support
* Added configuration templates for Raspberry Pi 3 and Xilinx ZynqMP UltraScale+
* Added Xilinx Zynq QSPI bare-metal Driver
* Added `NO_XIP` option for full `ext_flash_*` API on all partitions
* Added Xilinx SDK Project Template
* Added support for DTS image partitions
* Added wolfBoot signing tool in Native C (`tools/keytools/sign.c`).
* Added libwolfboot functions `int wolfBoot_fallback_is_possible(void);` and `int wolfBoot_dualboot_candidate(void);`
* Performance improvement to only hash application firmware image once
2020-03-04 12:04:46 -08:00
David Garske 50c1cb7aae
Merge pull request #38 from danielinux/lpc54xxx
Support for Lpc54xxx
2020-03-04 09:14:19 -08:00
Daniele Lacamera 6ff8473c0e Option NVM_WRITEONCE not needed on LPC. (tested multi-write OK) 2020-03-04 16:21:50 +01:00
Daniele Lacamera a1a13c2318 LPC54xxx: fixed flash write 2020-03-04 16:17:49 +01:00
Daniele Lacamera 0518b68b1a Added Target.md documentation 2020-03-04 14:33:55 +01:00
Daniele Lacamera 78847dcef4 Added example configuration for lpc54606J512 2020-03-04 14:25:33 +01:00
Daniele Lacamera 10186cac09 Added support for LPC (tested on LPC54606) 2020-03-04 08:53:13 +01:00
Daniele Lacamera c32c5da6a1 Renamed KINETIS to MCUXPRESSO, added initial support for LPC family 2020-03-04 08:01:05 +01:00
David Garske 19f328cffd
Merge pull request #36 from wolfSSL/rsa-sha-fix
Link sha256.o module even if sha3 is selected, as it's needed by RSA
2020-01-09 09:21:03 -08:00
Daniele Lacamera 302f69b529 Link sha256.o module even if sha3 is selected, as it's needed by RSA 2020-01-09 16:04:29 +01:00
Daniele Lacamera f57a27d57c Fixed sign tool to accommodate all the options. Fixed tests. 2020-01-09 15:09:07 +01:00
David Garske 827362db52
Merge pull request #35 from wolfSSL/keccak
Added support for SHA-3-384 hash algorithm
2020-01-08 11:08:47 -08:00