[LinuxBIOS] selection of compression algorithm
yinghai.lu at amd.com
Mon May 22 22:04:42 CEST 2006
Copy_and_run is used by CAR and included in cache_as_ram_auto.c and
compiled with gcc. That should be changed to use lzma easily.
CONFIG_COMPRESSED_ROM_STREAM is used for pay load. --- stream_init will
do the uncompressed. ( stream_init is in ram)
CONFIG_COMPRESS is for linuxbios_ram.rom --- copy_and_run will do the
uncompress. ( copy_and_run is ROM, and used ram as stack and local
You may create one file only that is corresponding to lib/nrv2b.c...
From: linuxbios-bounces at linuxbios.org
[mailto:linuxbios-bounces at linuxbios.org] On Behalf Of Carl-Daniel
Sent: Monday, May 22, 2006 12:29 PM
Cc: Stefan Reinauer; LinuxBIOS
Subject: Re: [LinuxBIOS] selection of compression algorithm
> On 5/22/06, Stefan Reinauer <stepan at coresystems.de> wrote:
>> We never actually compile nrv2b with romcc, do we? At the point we
>> nrv2b ram has to be enabled anyways - we uncompress the code
>> So our limits are far bigger than that.
> in crt0.s, and it is used to uncompress linuxbios_ram when using
You mean copy_and_run() is compiled with romcc? Can we change that?
What's the difference between CONFIG_COMPRESSED_ROM_STREAM and
CONFIG_COMPRESS? Can we use lzma compression for both?
linuxbios mailing list
linuxbios at linuxbios.org
More information about the coreboot