[LinuxBIOS] problem with compressed rom stream
yinghailu at gmail.com
Thu May 18 05:40:49 CEST 2006
need to share nrv2b with CAR copy_and_run.c to uncompress
linuxbios_ram.nrb from rom to ram.
I also use that to uncompress code from rom to cache in AP.
You need to print out ilen, in case someone try to compress zelf. that
will produce one more big output instead.
On 5/17/06, Ronald G Minnich <rminnich at lanl.gov> wrote:
> ron minnich wrote:
> > I have an nrv compressed filo.elf that on linux I can uncompress and
> > have work.
> > ~/src/LinuxBIOSv2/util/nrv2b/nrv2b d /tmp/filo.elf.nrv /tmp/xyz
> > 39496
> > in linuxbios, the uncompress is too short:
> > rom_stream: 0xfff90000 - 0xffff7fff
> > Uncompressing to RAM 0x00200000 olen = 0x000062fc done.
> > Cannot Load ELF Image
> > print/x 39496
> > $1 = 0x9a48
> > Any idea what to look for?
> > ron
> I know what I need to look for. If I can find a spare brain, I won't
> make mistakes like this. I assumed I had to nrv2b the payload myself,
> but Stefan cleverly put it in the makefile. COOL.
> I"m booting linux out of flash on the rumba! in 512k ...
> I have fixed some minor nits with the implementation that resolve some
> error messages and a compilation failure if printk_debug was enabled. I
> will commit.
> i want to fix the larger error of the include of ../lib/nrv2b.c, eeek!
> We should not include .c files in the gcc half!
> linuxbios mailing list
> linuxbios at linuxbios.org
More information about the coreboot