Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sbabic/swupdate
Software Update for Embedded Systems
https://github.com/sbabic/swupdate
embedded embedded-systems emmc firmware-update flashes fota hawkbit industrial-linux iot linux lua ota ota-firmware-updates ota-updater software-update swupdate
Last synced: 7 days ago
JSON representation
Software Update for Embedded Systems
- Host: GitHub
- URL: https://github.com/sbabic/swupdate
- Owner: sbabic
- License: gpl-2.0
- Created: 2013-11-17T12:52:31.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-11-21T14:06:21.000Z (21 days ago)
- Last Synced: 2024-11-28T11:04:13.036Z (14 days ago)
- Topics: embedded, embedded-systems, emmc, firmware-update, flashes, fota, hawkbit, industrial-linux, iot, linux, lua, ota, ota-firmware-updates, ota-updater, software-update, swupdate
- Language: C
- Size: 15.5 MB
- Stars: 1,451
- Watchers: 95
- Forks: 401
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: COPYING
Awesome Lists containing this project
- awesome-repositories - sbabic/swupdate - Software Update for Embedded Systems (C)
README
SWUpdate - Software Update for Embedded Linux Devices
=====================================================[![pipeline status](https://source.denx.de/swupdate/swupdate/badges/master/pipeline.svg?ignore_skipped=true)](https://source.denx.de/swupdate/swupdate/-/commits/master)
[![Coverity Scan Build Status](https://scan.coverity.com/projects/20753/badge.svg)](https://scan.coverity.com/projects/20753)
![License](https://img.shields.io/github/license/sbabic/swupdate)
[![REUSE status](https://api.reuse.software/badge/github.com/sbabic/swupdate)](https://api.reuse.software/info/github.com/sbabic/swupdate)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/6506/badge)](https://bestpractices.coreinfrastructure.org/projects/6506)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate/?hosted_button_id=R7Y5JDQB7E3YU)[SWUpdate](https://swupdate.org) 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](https://projects.eclipse.org/projects/iot.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](https://swupdate.org/features).
## Technical documentation
Documentation is part of the project and can be generated, or you access
to the [Online Documentation](https://sbabic.github.io/swupdate/swupdate.html).## Building
SWUpdate is well integrated in the [Yocto](https://www.yoctoproject.org) build system by adding
the [meta-swupdate](https://layers.openembedded.org/layerindex/branch/master/layer/meta-swupdate/) layer.
It is also integrated in [Buildroot](https://github.com/buildroot/buildroot/blob/master/package/swupdate/swupdate.config).
Debian (and Debian-like distributions) has merged a [package](https://packages.debian.org/unstable/swupdate).Examples using meta-swupdate with evaluation boards (Beaglebone, RPI3) are provided in
[meta-swupdate-boards](https://layers.openembedded.org/layerindex/branch/master/layer/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:
Please subscribe to the list to post.
A web-interface is available [here](https://groups.google.com/g/swupdate).
## Open Source Compliance
SWUpdate was analyzed to be Open Source compliant. See [Open Source Compliance](https://github.com/Open-Source-Compliance/package-analysis/tree/main/analysed-packages/swupdate)
for details.## 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](http://sbabic.github.io/swupdate/contributing.html)
chapter in the documentation how to contribute to the project.Patches are collected by [Patchwork](https://patchwork.ozlabs.org/project/swupdate/list)