Skip to content
forked from sbabic/swupdate

Software Update for Embedded Systems

License

Notifications You must be signed in to change notification settings

bdx-iot/swupdate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SWUpdate - Software Update for Embedded Linux Devices

pipeline status Coverity Scan Build Status License REUSE status CII Best Practices Donate

SWUpdate is a Linux Update agent with the goal to provide an efficient and safe way to update an embedded Linux system in field. SWUpdate supports local and OTA updates, multiple update strategies and it is designed with security in mind.

Getting started

To start with SWUpdate, it is suggested you look at the documentation and build for one evaluation board (or you run SWUpdate on your host for a first overview).

Features

SWUpdate is a framework with a lot of configurable options:

  • Update of all components of device (rootfs, kernel, bootloader, microcontroller FW)
  • Install on embedded media (eMMC, SD, Raw NAND, UBIFS, NOR and SPI-NOR flashes)
  • Partitioner for GPT and MBR partition table
  • Allow single image delivery on multiple devices
  • Streaming mode without temporary copies of artifacts
  • Multiple interfaces (local and OTA) for getting software
    • local storage (USB, etc.)
    • integrated web server
    • integrated REST client connector to hawkBit for fleet updates.
    • remote server download
  • Software delivered as images, gzipped tarball, etc.
  • Allow custom handlers for installing FPGA firmware, microcontroller firmware via custom protocols.
  • Delta updates based on librsync.
  • Fail safe and atomic update
  • Lua interpreter to extend the update rules on your needs
  • Hardware / Software compatibility.
  • Small footprint to generate a rescue system to restore the device.
  • Cryptographic sign and verification of updates
    • support for OpenSSL
    • support for mbedTLS
    • support for WolfSSL
  • Encryption of artifacts via symmetric AES key.
  • pre and post update scripts
  • small resources required.
  • controllable via library
  • progress interface to report update status to an application / HMI.
  • ...and many others.

Take a look at features.

Technical documentation

Documentation is part of the project and can be generated, or you access to the Online Documentation.

Building

SWUpdate is well integrated in the Yocto build system by adding the meta-swupdate layer. It is also integrated in Buildroot. Debian (and Debian-like distributions) has merged a package.

Examples using meta-swupdate with evaluation boards (Beaglebone, RPI3) are provided in meta-swupdate-boards layer.

License

SWUpdate is released under GPLv2. A library to control SWUpdate is part of the project and it is released under LGPLv2.1. License information for any file is either explicitly stated or defaults to GPL version 2.0. Extension written in Lua are subjected to Lua license (MIT).

Community support

A community support takes place on the SWUpdate's Mailing List:

swupdate@googlegroups.com

The Mailing List is open without need to be registered.

A web-interface is available here.

Contributing to the project

Contributions are welcome ! You can submit your patches (or post questions regarding the project) to the Mailing List.

Please read the contributing chapter in the documentation how to contribute to the project.

Patches are collected by Patchwork

About

Software Update for Embedded Systems

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 79.1%
  • Perl 10.4%
  • C++ 4.2%
  • Makefile 2.1%
  • Lua 1.5%
  • Shell 0.9%
  • Other 1.8%