IT lexicon › Infra & Ops › SWUpdate

SWUpdate

Infra & Ops På svenska → Updated: 2026-11-04
More info
Creator
Stefano Babic
Type
Update framework
License
GPL 2.0
Source
github.com/sbabic/swupdate

An update framework for embedded Linux in which one signed file both describes and carries everything that needs writing to the device.

Stefano Babic at DENX wrote it in the mid-2010s, when every project had its own homegrown update script and most of them bricked the device if the power went at the wrong moment. An update is a .swu file, a CPIO archive holding the images plus a manifest called sw-description that says where each piece goes. Handlers exist for raw flash, UBI volumes, partitions, files and U-Boot environment variables, and custom ones can be written in Lua.

The framework deliberately takes no position on strategy. You can run dual copies with a switchover, or a single copy plus a rescue system for devices short on flash. That freedom is the reason to pick it, and also the reason it demands more thought up front than RAUC.

← Back to the lexicon