[LinuxBIOS] selection of compression algorithm

Ronald G Minnich rminnich at lanl.gov
Mon May 22 07:23:33 CEST 2006


Carl-Daniel Hailfinger wrote:
> yhlu wrote:
> 
>>then how about the lines for 7z uncompress code?
>>
>>YH
> 
> 
> Working on it. 7z decompressor is really small (8 kb compiled on
> i386) and written in ISO C (1884 lines of code), but compressor is
> big and written in C++.
> 
> Does it still make sense to try to use 7z?

yes, this is the perfect tradeoff. Highly complex, compute-intensive 
compressor and simple, small decompressor. Exactly what we want.


> 
> How much RAM is the decompressor allowed to use?

for the romcc section, you have about 6 32-bit words (or so). for the 
gcc section, you have all of memory more or less.

ron




More information about the coreboot mailing list