]> code.ossystems Code Review - bsp/u-boot.git/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)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 23 Apr 2015 19:23:08 +0000 (16:23 -0300)
commitf5e23aad9a1f4a9a9a211173f23bfdbe7990e3b9
treedc0ac70cddc44c193c03dcbef7d36028b932e5dc
parent5b9f6a3249085233dba0334579423fdf7c50b37f
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