[U-Boot] [PATCH 1/2] doc: FIT image: clarify usage of "compression" property

Tom Rini trini at konsulko.com
Mon Jul 30 11:23:13 UTC 2018


On Mon, Jul 30, 2018 at 01:19:16PM +0200, Wolfgang Denk wrote:

> Dear Simon,
> 
> In message <20180730105319.79424-1-sgoldschmidt at de.pepperl-fuchs.com> you wrote:
> > Compressed images should have their compression property
> > set to "none" if U-Boot should leave them compressed.
> > 
> > This is especially the case for compressed ramdisks that
> > should be uncompressed by the kernel only.
> 
> Is this not self-explaining as is?  When you use "none", U-boot wil
> do nothing to the data - it passes it on unchanged as binay blob.
> 
> I donrt see the need for this additional explanation of what seems
> obvious to me.

Ah, but it's not spelled out.  And also given that currently we don't
decompress say a ramdisk that spells out compression = "gzip" (is that a
regression from initial FIT behavior?) it helps to be clear that putting
none here for "don't touch the data" is valid and that the compression
property isn't just a descriptive one, U-Boot may decompress the data.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180730/f735c856/attachment.sig>


More information about the U-Boot mailing list