[LinuxBIOS] problem with compressed rom stream

Ronald G Minnich rminnich at lanl.gov
Thu May 18 04:33:54 CEST 2006


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!

thanks

ron




More information about the coreboot mailing list