[coreboot] [PATCH]es: fix cbfs payload compression, and activate it

Patrick Georgi patrick at georgi-clan.de
Fri Apr 24 21:32:27 CEST 2009

again two patches.

20090424-3-selfboot-shuffle.patch moves decompression further down the code 
flow, so that - where possible - code is decompressed directly to the right 
place (instead of copying around, as before). 
The downside of this approach is that it's not possible (without API changes 
to the decompressors) to put partial segments into bounce buffers. So if a 
segment collides with coreboot _and_ is compressed, it's bounced entirely.
But, this only brings back the copy we already had before, so the new worst 
case is better than the average before.

It also fixes handling of compressed segments, but I'm too tired to split them 
into separate patches, sorry.

20090424-4-activate-cbfs-payload-compression.patch enables cbfs payload 
compression (the "l" flag) if payloads are supposed to be compressed (with 
lzma only, as cbfstool lacks nrv2b compression support)

as usual,
Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20090424-3-selfboot-shuffle.patch
Type: text/x-patch
Size: 4654 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090424/91daead8/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20090424-4-activate-cbfs-payload-compression.patch
Type: text/x-patch
Size: 952 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090424/91daead8/attachment-0001.patch>

More information about the coreboot mailing list