From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 16 Feb 2015 17:27:59 +0100 Subject: [U-Boot] [PATCH 1/2] gunzip: add gzwrite routine for extracting compresed images to block device In-Reply-To: <1424042167-27008-1-git-send-email-eric.nelson@boundarydevices.com> References: <1424042167-27008-1-git-send-email-eric.nelson@boundarydevices.com> Message-ID: <201502161727.59586.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday, February 16, 2015 at 12:16:06 AM, Eric Nelson wrote: > Initial filesystem images are generally highly compressible. > > Add a routine gzwrite that allows gzip-compressed images to be > written to block devices. > > Signed-off-by: Eric Nelson Hi! Stupid question -- can't you compress the thing in DRAM and then use fatwrite or ext4write to write it to FS? Or are you really after writing the data to a raw block device (in which case, you can use similar commands for raw block devices) ? Best regards, Marek Vasut