User Tools

Site Tools


civilinfrastructureplatform:cip-sw-updates

This is an old revision of the document!


CIP Software Updates

Overview

The primary goal of the CIP project is to contribute to the long-term maintenance of an industrial-grade open source base layer (OSBL). The OSBL currently includes the source code of the CIP kernels, based on upstream LTS kernels (to which we also contribute); and the CIP Core, based on a subset of Debian LTS packages (which we sponsor).

The CIP project provides example operating system images and metadata for a set of reference boards to accelerate the adoption of the CIP open source base layer. These example images are created from the CIP open source base layer by using Linux image build or generation tools such as meta-debian or ISAR.

Having a long-term supported base layer makes little sense unless you have a software update mechanism in place. However, updating software is not an easy task. For example, random power outages can severely interfere with an update. Besides, update software can have bugs just like any other software.

The CIP Software Updates workgroup has been born to fill that gap by providing a robust software update mechanism suitable to the industrial-grade open source base layer. In particular, these are the goals of the workgroup:

  1. Design the architecture of the software update mechanism.
  2. Compare and select a software update tool suitable for the architecture.
  3. Integrate the chosen software into the Linux image build tools used by CIP Core.
  4. Implement the software update mechanism on the reference boards.
  5. Contribute to the maintenance of the chosen software update tool.

Roadmap Iteration #1

Here is an initial schedule with intended finish dates for the first iteration:

  1. Architecture milestone
    1. Finish date: 31st Jan 2019
    2. Deliverable: CIP Software Updates Architecture (survey, and a non-detailed architecture of the software update mechanism).
    3. Status: complete (open to discussion on the mailing list)
  2. Comparison milestone
    1. Finish date: 28th Feb 2019
    2. Deliverable: CIP Comparison report (compares multiple open source software update tools and their suitability for the chosen architecture).
    3. Status: complete (open to discussion on the mailing list)
  3. Integration milestone
    1. Finish date: 31st Apr 2019 15th Jul 2019
    2. Deliverable: metadata to build the selected software update tool (e.g., recipes for ISAR or meta-debian)
    3. Status: complete (needs refining in the next roadmap iteration)
  4. Prototype milestone
    1. Finish date: 31st Jun 2019 15th Jul 2019
    2. Deliverable: prototype implementation of the software update mechanism on a reference board (e.g., glue scripts and metadata)
    3. Status: complete (demo shown at OSSJ 2019)
  5. Contributions milestone
    1. Finish date: 31st Jun 2019 30th Jul 2019
    2. Deliverable: list of contributions including bug reports and code patches contributed so far.
    3. Status: completed

Roadmap Iteration #2

Here is the 2nd iteration work items:

  1. Integrate safe update features into the reference software update mechanism
  2. Make it easier to contribute to SW Updates WG
    • Clarify current SW Updates WG's tasks
    • Provide how to prepare an environment for developing and testing
  3. Work on remaining tasks for the reference software update mechanism
  4. Try to integrate the reference software update mechanism into CIP Core and CIP Testing properly
    • For CIP Core: add a recipe to build an update image
    • For CIP Testing: test the reference software update mechanism on several reference boards continuously

The period of this iteration will be from the beginning of Aug 2019 to the end of Jan 2020.

civilinfrastructureplatform/cip-sw-updates.1573449007.txt.gz · Last modified: 2019/11/11 05:10 by suzuki