[U-Boot] [PATCH 1/2] gunzip: add gzwrite routine for extracting compresed images to block device

Tom Rini trini at ti.com
Mon Feb 16 18:03:54 CET 2015


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 <eric.nelson at boundarydevices.com>
> 
> 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: <http://lists.denx.de/pipermail/u-boot/attachments/20150216/30c3807c/attachment.sig>


More information about the U-Boot mailing list