[PATCH v2] gunzip: Implement chunked decompression

Tom Rini trini at konsulko.com
Thu Apr 23 00:48:56 CEST 2026


On Thu, 19 Feb 2026 01:33:25 +0100, Marek Vasut wrote:

> The current gzwrite() implementation is limited to 4 GiB compressed
> input buffer size due to struct z_stream_s { uInt avail_in } member,
> which is of type unsigned int. Current gzwrite() implementation sets
> the entire input buffer size as avail_in and performs decompression
> of the whole compressed input buffer in one round, which limits the
> size of input buffer to 4 GiB.
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] gunzip: Implement chunked decompression
      commit: 58e523fedf48a304b54c4e42e46fd88d072f8751
-- 
Tom




More information about the U-Boot mailing list