]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:43:50 +0000 (14:43 +0200)
commit6bf0ee587fb92afef452c56461d64ea54a51a643
treeee5339651fa973e243b063c2bf6c3dac5be47aee
parent58ba4b45fc6320a5a56a13d9d1b15758a8e73953
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