Skip to content

Commit

Permalink
v1.10.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
fhunleth committed Apr 2, 2023
1 parent 81608ac commit a713b55
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 6 deletions.
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,46 @@
# Changelog

## v1.10.0

This is a substantial release with improvements to delta updates and destination
write handling.

There's support for writing a final block that's not a multiple of 128KB now.
The 128KB write size was a previous limitation of fwup's caching mechanism.
The limitation was mostly invisible. GPT secondary headers were adjusted rather
than being in the final blocks. If the destination wasn't a multiple of 128KB,
it wasn't possible to use the last partial block of bytes. This release changes
that. Especially if you are using GPT partitions, you may notice this change if
you are comparing disk images.

* New features
* Support delta firmware updates of files on FAT file systems. See the
`delta-source-fat-offset` and `delta-source-fat-path` and the unit test for
details. Thanks to Jean Parpaillon for this feature.
* Support writing to destinations that are not multiples of 128KB. Fwup's
internal caching used to only write 128KB blocks. It now supports writing a
partial final block.
* Support writing to `/dev/null` (e.g., `fwup -d /dev/null ...`). This is useful for
firmware updates that only use `path_write` and `pipe_write` since they
don't need a destination. Thanks to Edoardo Rossi for the suggestion and
patch.
* Add `--minimize-writes` option. When enabled, it will check the destination
media to see if a block really changed before writing it. This can be a
performance improvement and remove some accidental corruption risk.
* Support a backwards compatible shorthand for writing files to FAT
partitions. The filename will default to the resource name. See `fat_write`.
* Add `--max-size` option for specifying the max number of 512-blocks that
fwup can write. Use this to force a max size when writing to a regular file
(expandable partitions will obey this) or to reduce the allowed size on real
media.

* Bug fixes
* Handle out of bounds reads by xdelta3. Thanks to Arthur Crepin-Leblond for
fixing this.

* Package updates
* FatFS R0.15

## v1.9.1

* Bug fixes
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ brew install fwup

On Linux, download and install the appropriate package for your platform:

* [Debian/Ubuntu AMD64 .deb](https://github.com/fwup-home/fwup/releases/download/v1.9.1/fwup_1.9.1_amd64.deb)
* [Raspbian armhf .deb](https://github.com/fwup-home/fwup/releases/download/v1.9.1/fwup_1.9.1_armhf.deb)
* [Debian/Ubuntu AMD64 .deb](https://github.com/fwup-home/fwup/releases/download/v1.10.0/fwup_1.10.0_amd64.deb)
* [Raspbian armhf .deb](https://github.com/fwup-home/fwup/releases/download/v1.10.0/fwup_1.10.0_armhf.deb)
* Alpine Linux - Install official [apk](https://pkgs.alpinelinux.org/packages?name=fwup&branch=edge)
* [RedHat/CentOS x86\_64 .rpm](https://github.com/fwup-home/fwup/releases/download/v1.9.1/fwup-1.9.1-1.x86_64.rpm)
* [RedHat/CentOS x86\_64 .rpm](https://github.com/fwup-home/fwup/releases/download/v1.10.0/fwup-1.10.0-1.x86_64.rpm)
* Arch Linux - See [fwup-git package](https://aur.archlinux.org/packages/fwup-git/) on AUR
* Buildroot - Support is included upstream since the 2016.05 release
* Yocto - See [meta-fwup](https://github.com/fwup-home/meta-fwup)
Expand All @@ -82,11 +82,11 @@ On Windows, `fwup` can be installed from [chocolatey](http://chocolatey.org)

choco install fwup

Alternatively, download the [fwup executable](https://github.com/fwup-home/fwup/releases/download/v1.9.1/fwup.exe)
Alternatively, download the [fwup executable](https://github.com/fwup-home/fwup/releases/download/v1.10.0/fwup.exe)
and place it in your path.

If you're using another platform or prefer to build it yourself, download the
latest [source code release](https://github.com/fwup-home/fwup/releases/download/v1.9.1/fwup-1.9.1.tar.gz)
latest [source code release](https://github.com/fwup-home/fwup/releases/download/v1.10.0/fwup-1.10.0.tar.gz)
or clone this repository. Then read one of the following files:

* [Linux build instructions](docs/build_linux.md)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.1
1.10.0

0 comments on commit a713b55

Please sign in to comment.