Commit Graph

23 Commits (06b6c0103e079c902348eea8e18e2d6d29e2ecae)

Author SHA1 Message Date
Daniele Lacamera 2144057da8 Added option for authentication in stage1 2023-07-26 17:54:35 +02:00
Marco Oliverio c4ec5eef35 x86: support Intel FSP (TigerLake and QEMU) 2023-07-24 18:12:32 +00:00
Daniele Lacamera bc5831747c Added extra clean round at the end of the powerfail test 2023-05-15 11:42:22 +02:00
John Bland b94249f8f7 correctly identify a forward powerfail vs a revert
powerfail and add an exception to wolfBoot_delta_update when a revert gets
interrupted since the version will change in the middle of the update process
2023-04-22 06:13:53 +02:00
John Bland 14ec346e1c before calling wolfBoot_delta_update, check if the
0th sector has been changed with the update partition still being in
IMG_STATE_UPDATING state. the state still being IMG_STATE_UPDATING means that a
delta update started and that the version may have been switched over, in which
case wolfBoot_current_firmware_version() >= wolfBoot_update_firmware_version()
no longer tells us if we need to perform an inverse operation on it's own.

also removes part of the update powerfail test that does checks for the
previous version without triggering a rollback
2023-04-21 20:31:58 +02:00
Daniele Lacamera 57a8fb30f1 Added test scripts 2023-03-21 18:03:38 +01:00
John Bland 92bd8b6757 update flashing documentation and update scripts for the stm32u5 2023-01-31 09:26:20 -08:00
Daniele Lacamera 4ee867b2dd Fixes for stm32wb test
- added img->hdr_ok flag when opening external flash image
- correct return value for uart_flash ext_flash functions
- correct image size in prepare_encrypte_update.sh
2022-12-16 17:49:46 +01:00
Daniele Lacamera 186027b122 Github workflows: new test scripts
Moved most of the commands inside the renode container.

Updated docker image to compile and run all tools, wolfboot and test
image within the renode container.
2022-12-13 16:45:57 +01:00
Daniele Lacamera a6fdec3901 self-encrypt prototype; tested on stm32l0 2022-09-21 18:49:52 +02:00
Daniele Lacamera 957b9d3c8c Initial support for delta-encrypted updates 2022-05-23 12:00:57 +02:00
Daniele Lacamera 3815067fa0 Fixed SIGN=NONE. Improved tests 2022-04-08 13:04:26 +02:00
Daniele Lacamera 3f2eec8299 Add github actions for renode tests on docker 2022-03-03 16:40:46 +01:00
Daniele Lacamera 7b4054ab2c Adjusted after review 2022-02-11 12:51:55 +01:00
Daniele Lacamera d2482d97fa Added script renode-test-all 2022-02-11 10:48:47 +01:00
David Garske 5463105eab Adds STM32U5 support. Thank you ST. 2022-01-24 00:07:03 -08:00
Daniele Lacamera 8ffdf1997b Fixed scripts by adding explicit "--ecc256" argument 2021-10-07 12:25:20 +02:00
David Garske 9d3f763354 Fix for scripts to detect and use C version of signing tool if available. Updated instructions to use correct address. Minor cleanups. 2020-09-30 11:45:53 -07:00
Daniele Lacamera fd0b13079a Added support for dual bank swap in stm32l5 2020-09-09 14:26:30 -07:00
Daniele Lacamera 5614c75f1e Fixed address alignment, TZEN=0 mode not yet working 2020-09-09 14:26:30 -07:00
Daniele Lacamera 24538d19d9 Relocate temporary key slot to the end of the partition 2020-08-11 15:32:47 +02:00
Daniele Lacamera f3f27ae2cb Fixed ChaCha20 IV usage/setting. Test/docs updated. 2020-06-18 11:12:01 +02:00
Daniele Lacamera b3fad42f05 Added helper scripts to create test update images, config for enc-uart
use case
2020-06-16 17:52:50 +02:00