Repository navigation
Releases
v1.17.2
-
Fixes
- Fix stack overflow on too many math operators (GHSA-m98x-m5jh-gwjh)
- Verify sparse maps for invalid sizes (GHSA-5xfr-cr9m-rwq9)
- Use
O_SYNCto further protect write ordering. This is in addition to
O_DIRECTwhich may not have been sufficient in all cases. No performance
degradation was seen in testing.
-
Third party software updates
- Monocypher 4.0.3
- libarchive 3.8.11 (static builds only)
- zlib 1.4 (static builds only)
�
v1.17.1
This release only fixes a macOS issue when using fwup in a sandbox and adds RPM
packages to the release artifacts. There's no need to update unless these affect
you.
- Changes
- Fix crash when running inside a sandboxed macOS environment due to code that
expected the DiskArbitration API to always be available. Thanks to @daeho-ro. - Add RPM packages back to the release artifacts
- Fix crash when running inside a sandboxed macOS environment due to code that
v1.17.0
-
Changes
- Increase default block cache size to 32 MB to avoid cache thrashing when
using deltas. This should be safe, but can be adjusted down to the old 8 MB
default by addingblock-cache-size-mb = 8to yourfwup.conffile. - Add
ubi_volume_writefor atomically updating Linux UBI volumes. This
action requires--unsafe. Thanks to @Hermanverschooten - Support delta updates with source partitions up to 2 TB
- Increase default block cache size to 32 MB to avoid cache thrashing when
-
Bug fixes
- Correct formatting of several error messages, including messages containing
large offsets and sizes.
- Correct formatting of several error messages, including messages containing
-
Packaging
- Publish a prebuilt Debian package for ARM64
- Prebuilt Windows executable now includes version and architecture in its
filename - Make Debian packages and source archives reproducible
- Update static builds to libarchive 3.8.9 and libconfuse 3.4
v1.16.0
This release makes it possible for firmware updates to request larger block
cache sizes. Earlier versions fixed the cache at 8 MB which is too small for
many delta firmware update use cases. The visible effect is that delta firmware
updates become extremely slow (sometimes >1 hour) due to thrashing when their
source window is set to values much larger than 8 MB.
-
New features
- Adjustable block cache specified in the fwup.conf. See
block-cache-size-mb. Thanks to @kybishop - Support dm-crypt aes-xts-plain64 encrypted partitions
- Adjustable block cache specified in the fwup.conf. See
-
Bug fixes
- Fix AES compilation on 32-bit ARMv8 like a Raspberry Pi 3 with a 32-bit OS
- Fix compilation on PowerPC Macs. Thanks to @barracuda156
v1.15.1
This release addresses some amazingly poor performance when updating encrypted
firmware partitions. It was most noticeable when using delta firmware updates
due to a combination of repeated decryption and a slow AES implementation.
v1.15.0
-
New features
- Added
require-executeto be able to run an arbitrary program to determine
whether or not to run a task. This requires the--unsafeflag to use. - Added firmware nicknames like
guitar-weatherso that it's easier to refer
to firmware files rather than by using UUIDs. Nicknames are computed from
the UUID and don't affect.fwfiles. They're not guaranteed unique, so
continue to use the UUIDs for uniqueness guarantees. See themeta-nickname
metadata. You can still refer to firmware versions. This handles the
development and debug cases where you're not regularly updating version numbers.
- Added
-
Bug fixes
- Fixed success message when creating public/private signing key pairs. It
previously printed out the wrong filename on some systems.
- Fixed success message when creating public/private signing key pairs. It
v1.14.0
NOTE: This release changes metadata stored in the .fw files in a way that
doesn't affect any functionality, but is visible in the firmware UUID
construction. In other words if you use the exact same inputs with this version
of fwup and an older version, you'll get different UUIDs. This was done to
prevent compatibility issues between fwup versions when parsing metadata that
needed to change from being an integer to a string for holding very large
numbers.
- Improvements
- U-Boot environment blocks can now be written to offsets beyond 2 GB. Prior
versions would likely silently fail - Don't unconditionally double quote strings in the metadata file. This allows
more flexibility in changing fields to strings when they go beyond what's
supported by libconfuse while not breaking backward compatibility.
- U-Boot environment blocks can now be written to offsets beyond 2 GB. Prior
v1.13.2
- Improvements
- Improve progress reporting for delta updates. Previously progress was
updated after processing xdelta3 window size chunks (default is 8 MB). Now
progress is updated every 128 KB regardless of window size to avoid the long
stalls.
- Improve progress reporting for delta updates. Previously progress was
v1.13.1
- Bug fixes
- Allow images to be expanded after initial creation if they're regular files.
Previously this resulted in an error. - Fix error handling triggered by a delta firmware update that resulted in a
hang. In theory, this should be possible to trigger without a delta
firmware, but I wasn't able to get it to happen. - Fix verification error on delta firmware image that had an empty entry.
- Allow images to be expanded after initial creation if they're regular files.
v1.13.0
-
New features
- Support applying firmware deltas that read directly from encrypted source
partitions. This addsdelta-source-raw-optionswhere you can add details,
but most likely add environment variables to allow secrets to be passed when
applying the update.
- Support applying firmware deltas that read directly from encrypted source
-
Package updates
- libarchive 3.7.9 (static builds only)