1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

86 Commits

Author SHA1 Message Date
Bas Stottelaar
80d9da90df sys/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
Bas Stottelaar
47d376c5c3 sys/*: add explicit include of timex.h 2020-10-21 21:47:31 +02:00
d87a5af7c6
suit/storage/flashwrite: Add flashpage_raw capability
Updates the suit flashwrite storage module to include compatibility with
the riotboot flashwrite raw capability.
2020-10-20 11:22:56 +02:00
a7656a51b7
suit: Move common storage.c to module directory 2020-10-01 19:40:14 +02:00
b72d510690
suit/transport/mock: Use common storage backend 2020-09-30 14:32:27 +02:00
edeffdcd54
suit: Adapt manifest handling to 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
fc794d9a21
Merge pull request #15092 from bergzand/pr/suit/per_component_flags
suit: Introduce per-component flags
2020-09-29 15:03:06 +02:00
72ef2086b5
suit: Group the HAVE_COMPONENTS flag with the others 2020-09-29 13:09:32 +02:00
d9cf10c109
suit: Introduce per-component flags 2020-09-29 13:09:32 +02:00
Francisco
bfb8fc52b1
Merge pull request #15094 from bergzand/pr/suit/secure_fetch
SUIT: fail fetch if the image size doesn't match expected
2020-09-28 14:11:26 +02:00
ab0cc57997
suit: Only finish the flashwrite when mock is not active
This can be removed as soon as the SUIT module has a proper storage
abstraction
2020-09-28 13:03:40 +02:00
91df9cae87
suit: Finalize image after digest verification 2020-09-26 14:40:14 +02:00
791155d3dd
suit/coap: fail fetch if the image size doesn't match expected 2020-09-26 13:34:50 +02:00
cdf45f9798
suit: Move policy check to before fetch
This prevents the whole payload fetch if the manifest fails the policy
check
2020-09-26 12:48:53 +02:00
c8ecc9c3ca
suit: Upgrade manifest parser to IETF-v9 compliance 2020-09-24 21:15:08 +02:00
Leandro Lanzieri
9e427e1584
net/coap: Move COAP_MAX_RETRANSMIT to 'CONFIG' namespace
COAP_MAX_RETRANSMIT is moved to the compile time configuration macro
namespace.
2020-04-24 10:06:43 +02:00
Leandro Lanzieri
072a0d8563
net/coap: Move COAP_ACK_TIMEOUT to 'CONFIG' namespace
COAP_ACK_TIMEOUT is moved to the compile time configuration macro
namespace.
2020-04-24 10:06:40 +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
9ede06fbbb sys/suit: make use of riotboot_slot_offset() 2020-02-19 10:08:47 +01:00
8c7ebbdc4f
suit: cleanup of TinyCBOR to NanoCBOR refactor 2020-02-18 11:26:40 +01:00
e1e43118da
suit: Remove non-standard hello handler 2020-02-14 21:38:52 +01:00
Francisco Molina
1a9deef303
sys/suit/coap: fix unused vars 2020-02-12 14:58:56 +01:00
b0d6f5743b
suit/v4: display a progress bar while fetching the image 2020-01-09 11:31:24 +01:00
Leandro Lanzieri
c74fa5367c net/sock/util: Move configuration macros to 'CONFIG_' namespace
Macros that changed:
SOCK_SCHEME_MAXLEN -> CONFIG_SOCK_SCHEME_MAXLEN
SOCK_HOSTPORT_MAXLEN -> CONFIG_SOCK_HOSTPORT_MAXLEN
SOCK_URLPATH_MAXLEN -> CONFIG_SOCK_URLPATH_MAXLEN
2019-12-13 12:04:54 +01:00
560ee3bac9
suit: add helper function for triggering updates 2019-11-28 19:08:28 +01:00
4ccb4e5995 sys/suit/v4: switch to nanocbor
Co-authored-by: Francisco <femolina@uc.cl>
2019-10-24 16:48:00 +02:00
b899a9f362 examples/suit_update: add SUIT draft v4 example & test
This commit adds an example application showcasing SUIT draft v4
firmware updates.

It includes a test script suitable for local or CI testing.

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 13:51:29 +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