-
Notifications
You must be signed in to change notification settings - Fork 2.1k
OTA: tracking issue #9342
Description
Tracking OTA progress
Tracking issue for the different parts required to enable over the air updates.
Overview
We are aiming at a simple OTA prototype in a first phase,
which can be extended in later phases.
The blueprint for the first prototype is the implementation we had working at the SUIT Hackathon in June 2018 (see slide 3 of this recap).
This combines a simplistic bootloader, 2 firmware slots and metadata that follows the SUIT specification.
A basic update module, embarked in each image, manages firmware transfer (via CoAP), verification (complying with SUIT) and storage in Flash within the non-running image slot.
Work breakdown
Current state of development
@cladmi is addressing the tooling for the bootloader and metadata
@kYc0o is addressing the bootloader
@OYTIS is working on support for RIOT, including OTA, for KEA128LEDLIGHTRD board (#9655)
See the GitHub Software Updates project for more details.
System diagrams
Both of the diagrams reflect the content of the working OTA update branch. This contains working examples for both a metadata-based update, and a SUIT manifest-based update. The areas not relevant to the example addressed in each section are greyed out.
Non-SUIT metadata based update mechanism
A description of the metadata is given here.
SUIT metadata based update mechanism
The process being followed is to merge the functionality required for OTA updates piecewise, instead of as a large monolithic PR.
Files for diagrams above
The diagrams were done using draw.io (https://www.draw.io/). Contact @danpetry for the project files.


