Teufelchen1
4d467bf3be
sys/suit: Remove deprecated suit_coap_run function
2024-04-02 12:58:57 +02:00
Benjamin Valentin
7c9345f53a
sys/suit: introduce suit_worker_done_cb()
2024-01-08 20:39:12 +01:00
chrysn
763474b485
sys/suit: Introduce functions to provide a manifest in memory
...
This adds the suit_worker_try_prepare / suit_worker_trigger_prepared
pair for using the SUIT worker, and breaks suit_handle_manifest_buf out
of suit_handle_url (where the latter now calls the former).
As part of factoring out reaping of the zombie worker thread, a locking
error that deadlocks the SUIT worker in case the race between the mutex
being unlocked and the thread being reaped hits the necessary handling
code is fixed (and mutex_unlock is called in the error path).
2023-05-27 21:01:18 +02:00
Benjamin Valentin
15a43f28f2
suit: start worker thread on demand
2022-09-05 07:46:56 +02:00
Benjamin Valentin
db701de094
suit: clean up worker thread, make suit_handle_url() public
2022-09-05 07:46:56 +02:00
Benjamin Valentin
0b6e344d4f
suit: rename worker thread functions (they are not CoAP only)
2022-09-03 23:25:01 +02:00
benpicco
6019925c75
Merge pull request #17943 from fjmolinas/pr_suit_vfs_storage
...
sys/suit/storage/vfs: initial import
2022-06-07 09:33:37 +02:00
Francisco Molina
f485e9b0d9
sys/storage/vfs: initial import
2022-06-03 08:49:44 +02:00
Benjamin Valentin
dd4a578ef3
suit/transport/vfs: add VFS as source for firmware updates
2022-06-01 13:00:50 +02:00
Benjamin Valentin
ad7d974183
nanocoap: define default block size
2022-05-24 09:32:09 +02:00
677871d717
suit/transport/coap: Use generic subtree handler
...
The SUIT CoAP code can make use of the generic subtree handler. This
commit removes the obsolete code to make use of the more generic
nanocoap subtree handlers.
2022-04-23 10:21:37 +02:00
Benjamin Valentin
2682848a29
suit/transport/coap: move suit_coap_get_blockwise() to nanocoap
2022-01-27 14:42:49 +01:00
Benjamin Valentin
88d0b5753c
suit/transport/coap: let caller allocate blockwise work buffer
2022-01-27 14:42:49 +01:00
cb9a1fcc8e
suit/storage/ram: Make prefix and separator configurable
2021-07-08 10:22:14 +02:00
Benjamin Valentin
191c91ce18
suit/transport/coap: make blocksize configurable
...
When using SUIT over a link-layer that supports larger PDU, a larger
CoAP blocksize is desirable to speed up firmware downloads.
To support this, make the CoAP blocksize used by SUIT configurable.
2020-12-03 10:51:42 +01:00
b72d510690
suit/transport/mock: Use common storage backend
2020-09-30 14:32:27 +02:00
a29eaf557f
suit/storage/flashwrite: Add riotboot flashwrite storage backend
2020-09-30 13:32:39 +02:00
9ce2ba1c55
suit/storage/ram: Introduce RAM storage backend for SUIT
2020-09-30 13:32:38 +02:00
7742750abd
suit: Introduce generic storage backend
...
This commit introduces a common storage backend for SUIT manifest
payloads. Different backends can be compiled into a single firmware.
Degending on the component name in the SUIT manifest, a storage backend
is selected by the parser.
2020-09-30 13:32:38 +02:00
ea007ada05
suit: Mark conversion function arguments as const
...
Small cleanup to mark arguments of the conversion functions for param to
cbor and vice versa as const where possible
2020-09-29 15:18:57 +02:00
c8ecc9c3ca
suit: Upgrade manifest parser to IETF-v9 compliance
2020-09-24 21:15:08 +02:00
e12defd5a0
suit/transport/coap: Use nanocoap coap_tree_handler
2020-03-24 09:38:24 +01:00
1d1d5b6f0d
examples/suit: Refactor to draft ietf-v3
...
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-19 22:56:01 +01:00
413b91326f
tests/suit_v3_manifest: Add draft-ietf-v3 manifest parser test
...
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-19 22:56:01 +01:00
14bdf8f46b
sys/suit: Add SUIT draft ietf-v3 firmware upgrade module
...
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-18 14:13:12 +01:00
ef8daaf7be
suit: remove moran-v4 version of the parser
...
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-02-26 14:54:16 +01:00
8c7ebbdc4f
suit: cleanup of TinyCBOR to NanoCBOR refactor
2020-02-18 11:26:40 +01:00
b0d6f5743b
suit/v4: display a progress bar while fetching the image
2020-01-09 11:31:24 +01:00
2ff3d4cd8d
sys/shell: add suit shell command
...
This command allows for triggering an update from the device itself
2019-11-28 19:15:34 +01:00
560ee3bac9
suit: add helper function for triggering updates
2019-11-28 19:08:28 +01:00
61db4d9724
sys/include: fix typos
2019-11-23 22:39:37 +01:00
4ccb4e5995
sys/suit/v4: switch to nanocbor
...
Co-authored-by: Francisco <femolina@uc.cl>
2019-10-24 16:48:00 +02:00
fb12c4aa8d
sys/suit: add SUIT draft v4 firmware upgrade module
...
This commit adds a sys module implementing SUIT draft v4 compatible
firmware updates.
Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
Co-authored-by: Koen Zandberg <koen@bergzand.net>
Co-authored-by: Francisco Molina <femolina@uc.cl>
2019-10-09 11:05:01 +02:00