From: Tom Rini Date: Mon, 16 Feb 2015 12:03:54 -0500 Subject: [U-Boot] [PATCH 1/2] gunzip: add gzwrite routine for extracting compresed images to block device In-Reply-To: <201502161727.59586.marex@denx.de> References: <1424042167-27008-1-git-send-email-eric.nelson@boundarydevices.com> <201502161727.59586.marex@denx.de> Message-ID: <20150216170354.GM7086@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Feb 16, 2015 at 05:27:59PM +0100, Marek Vasut wrote: > 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) ? I _think_ (and I really hope so otherwise yes, this series needs more expanation) that was this adds is the ability to {de,}compress on the fly rather than need to duplicate in DDR which could be hard-to-impossible depending on the size of the data in question. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: