]> git.sur5r.net Git - u-boot/commit
unzip: add gzwrite command to write compressed image to block device
authorEric Nelson <eric.nelson@boundarydevices.com>
Sun, 15 Feb 2015 23:16:07 +0000 (16:16 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 22 Apr 2015 16:14:55 +0000 (12:14 -0400)
commit5d27223ea5424fc157c8ac0afb236bc8cfcd1772
treeb1b32fa4e73442ac5eaf7c37b5a90f52647d5fba
parent918e9ebb45a12342c3d65df12ccc78431d6d0b72
unzip: add gzwrite command to write compressed image to block device

Add gzwrite command to write gzip-compressed images to block devices.

Input must be gzip-compressed according to RFC1952, since the crc
and file size in the trailer will be confirmed during operation.
The decompressed file size must be specified on the command line
for images with decompressed sizes >= 4GiB because the trailer
only contains the low 32 bits of the original file size.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
common/cmd_unzip.c