Reliable and secure software updates for embedded Linux and IoT
SWUpdate is an update agent for embedded Linux and IoT devices. It installs new software from a USB stick, from a web browser or from a fleet management server, and it adapts to your project instead of the other way round.
- 100% open source
- No vendor lock-in
- Local and over-the-air updates

Atomic and fail-safe
New software is installed completely, or not at all. Together with the bootloader, SWUpdate falls back to the previous version if the new one does not start. A power cut or a lost connection does not brick the device.
Secure
Update packages are signed and verified, with RSA, RSA-PSS, PKCS#7/CMS or GPG, and they can be encrypted. Everything is checked before it is used, also when the update is streamed.
Small footprint
SWUpdate can stream an update directly to the storage, without temporary copies. Decompression, decryption and verification are done in memory, chunk by chunk.
Updates everything
Bootloader, kernel, root filesystem, single files, containers, FPGAs and the firmware of other microcontrollers: on eMMC, NAND, NOR, UBI or files.
Delta updates
Only the parts of an image that changed are downloaded. SWUpdate finds them by comparing the new image with the software already on the device.
Extensible
An integrated Lua interpreter lets you add your own handlers, checks and connections to your own server, also inside the update package itself.
Why SWUpdate?
Adapts to your project
You do not change your project for SWUpdate: SWUpdate adapts to it. It does not impose a partitioning, a bootloader or a server, and you configure only the features you need.
From the first board to the fleet
The same updater for every step of the device’s life, from the early development of the BSP to the factory and to large rollouts in the field: from a USB stick on the lab bench, from a web browser in production, from a server for the fleet.
Fewer recalls
A failed or interrupted update does not brick the device, and broken software is rolled back. Devices are updated in the field instead of being sent back.
Quality through public review
Every change is reviewed in public on the mailing list, by developers from many companies using SWUpdate in their products.
No vendor lock-in
100% open source, with no enterprise edition and no runtime licenses. Commercial support is available if you need it, never required.
What’s new in SWUpdate
SWUpdate is released twice a year, in May and in December, with security fixes in between when needed. Since 2024:
- Security first. A new crypto subsystem with OpenSSL, mbedTLS and wolfSSL, update images encrypted for each device, RSA-PSS and PKCS#7 signatures.
- Less to download. Delta updates, also with Eclipse hawkBit: only the changed chunks of an image are transferred.
- Every kind of storage. Streaming to NAND and raw NAND, btrfs snapshots, UBI, eMMC boot partitions, filesystem labels.
- Application and OS updates. Update types with their own rules for versions and downgrades, Docker containers with volumes and networks.
- Extend it in the field. Lua handlers delivered inside the update, Lua functions before and after each artifact, Lua modules that connect SWUpdate to your own server.
Tools
swugenerator creates, signs and encrypts update packages on any build system. meta-swupdate uses it for Yocto.
pip install swugenerator













