Commit Graph

995 Commits (371ff3bb9e932a47624b8c0b170f8538acee7f8c)

Author SHA1 Message Date
David Garske 13741831ba Fixes for building with Xilinx Zynq UltraScale. Note: Had to add `WOLFBOOT_DUALBOOT` to the preprocessors when building in Xilinx SDK. 2022-07-21 13:19:28 -07:00
Daniele Lacamera 5252ac2f68 Added default sector size to raspi3.config
(mandatory to compile sign.c)
2022-07-21 21:28:17 +02:00
Daniele Lacamera 1f1b6200d5 Fixed RAM size for rpi example in docs 2022-07-21 21:13:28 +02:00
Daniele Lacamera ec88e96037 Fixed regression compiling test-app 2022-07-21 21:05:13 +02:00
Daniele Lacamera 16dc1628af Fixed target 'simulator' 2022-07-21 20:23:13 +02:00
Daniele Lacamera 40afaaffe2 Fixed UEFI example too 2022-07-21 20:18:34 +02:00
Daniele Lacamera 93dd53ac0f Fixed support for raspberry-pi 2022-07-21 20:18:34 +02:00
Daniele Lacamera b6465dc0b2 WIP raspi fix 2022-07-21 20:18:34 +02:00
Daniele Lacamera c4ca592f43 Fixed rpi load address, do_boot jump 2022-07-21 20:18:34 +02:00
David Garske c55b571b91
Merge pull request #222 from danielinux/update-docs
Update docs with new keygen syntax. Minor fixes in key tools.
2022-07-20 12:41:42 -07:00
Daniele Lacamera 1d0eea8c6a Fix uninitialized pointers + segfault in test-lib 2022-07-20 20:18:16 +02:00
Daniele Lacamera 30b9d5b6f8 Fixed keygen.py case with no '-g' arguments 2022-07-20 20:17:55 +02:00
Daniele Lacamera dd9c19a1f3 Fixed typo in argument parsing 2022-07-20 20:17:39 +02:00
Daniele Lacamera c9a7c2bc8d Updated documentation with new keygen syntax 2022-07-20 20:17:22 +02:00
Marco Oliverio 370daf4fe5
Merge pull request #221 from danielinux/fix-delta-tests
delta-enc: Fix delay after reboot in between tests
2022-07-20 14:38:21 +02:00
Daniele Lacamera c33fa449cb delta-enc: Fix delay after reboot in between tests 2022-07-20 13:43:05 +02:00
Marco Oliverio 7c86921513
Merge pull request #220 from danielinux/fix-delta-tests
Fix errors in delta tests
2022-07-20 12:18:32 +02:00
Daniele Lacamera 4a16372140 Delta test: remove unnecessary reboots 2022-07-20 11:51:58 +02:00
Daniele Lacamera 5ec00f9565 [sign.py] Fixed image path in delta + encrypt 2022-07-20 11:51:18 +02:00
David Garske a86a54f3d4
Merge pull request #219 from danielinux/library-doc
Updated/extended documentation for library mode
2022-07-19 08:57:00 -07:00
David Garske d42820a0c3
Merge pull request #212 from danielinux/keystore
Support array of public keys for authentication
2022-07-19 08:56:33 -07:00
Daniele Lacamera 9605dd283f Fixes for test cases using keystore 2022-07-19 15:33:29 +02:00
Daniele Lacamera 513163a77b Added "ARMORED" check for part id flags mask 2022-07-19 15:32:28 +02:00
Daniele Lacamera 5e1a96969e Updated footprint sizes 2022-07-19 15:32:28 +02:00
Daniele Lacamera 1e11f3081b keygen.c : exporting keystore also in binary format 2022-07-19 15:32:28 +02:00
Daniele Lacamera 4066c57951 Fixed hash for public key in sha384 2022-07-19 15:32:28 +02:00
Daniele Lacamera 8cc0735237 Fix namefile parser in sign.py 2022-07-19 15:32:28 +02:00
Daniele Lacamera 1542a15c90 Keystore: array of public keys generated by keygen 2022-07-19 15:32:28 +02:00
David Garske b19eef5b06 Fix aarch64 to not initialize gicv2 unless QNX. 2022-07-19 15:30:31 +02:00
David Garske cb5b39c79e Updates to documentation for using wolfBoot on Raspberry Pi and QEMU. 2022-07-19 15:30:31 +02:00
Daniele Lacamera 365e82628b Updated/extended documentation for library mode 2022-07-19 15:23:46 +02:00
Marco Oliverio fd1b890410
Merge pull request #218 from danielinux/test-typo
Fixed typo in RSA3072 test name
2022-07-19 14:06:15 +02:00
Daniele Lacamera 49ed0a33e0 Fixed typo in RSA3072 test name 2022-07-19 13:26:11 +02:00
David Garske fd167e1afc For signing with HSM add step for putting the right public key into bootloader for root of trust. 2022-07-15 18:53:13 +02:00
David Garske 2790986844
Merge pull request #215 from danielinux/jenkins-node-update
Adjusted automated test after jenkins node update
2022-07-15 08:36:59 -07:00
Daniele Lacamera 8558f2b1d9 Adjusted automated test after jenkins node update 2022-07-15 17:15:00 +02:00
Marco Oliverio d398f6708f tests: add test for update and rollback using simulated target 2022-07-12 10:13:10 +02:00
Marco Oliverio c077207b01 feature: simulated target
This commit introduces a simulated target where the internal and optionally the
external flash can be simulated and backed by files. Using this target will
produce an executable wolfBoot ELF image.
2022-07-12 10:13:10 +02:00
Marco Oliverio 5c13a526bd libwolfboot.c: abide compilers on 64bit architectures 2022-07-12 10:13:10 +02:00
David Garske ccc06d7d5a
Merge pull request #213 from danielinux/update-submodules-5.4
Updated submodules wolfSSL + wolfTPM. Updated footprint size.
2022-07-07 08:55:46 -07:00
Daniele Lacamera be3a02c577 Fixed allocator for ECC curve-spec size in SMALL_STACK 2022-07-07 16:30:13 +02:00
Daniele Lacamera 711cdae42e Updated submodules wolfSSL + wolfTPM. Updated footprint size. 2022-07-07 16:09:05 +02:00
David Garske 9c59244726 Make sure the cipher global is zero initialized (since it is not a static, the compiler may not zero initialize). 2022-06-02 09:12:30 +02:00
David Garske 5c5f147ca1
Merge pull request #205 from danielinux/rsa3072
New signature algorithm: RSA 3072
2022-05-31 09:55:39 -07:00
Daniele Lacamera acfdd1f676 Added support for RSA3072 2022-05-31 12:13:34 +02:00
David Garske 5aa8e979a2
Merge pull request #204 from danielinux/multipart
Support for partition ID in the manifest header
2022-05-24 10:07:57 -07:00
Daniele Lacamera a9ffb3c98a Fixed typos. Removed verbose command line help. 2022-05-24 17:24:31 +02:00
Daniele Lacamera 063c21430c Added partition ID. Extended sign manual 2022-05-24 13:31:50 +02:00
David Garske 7801c4b283
Merge pull request #200 from danielinux/delta-encrypt
Support for delta-encrypted updates
2022-05-23 16:47:35 -07:00
Daniele Lacamera b47b9cef9b Corrected style (indentation, line wrap) 2022-05-23 20:39:57 +02:00