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.
YH
On 5/17/06, Ronald G Minnich rminnich@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!
thanks
ron
-- linuxbios mailing list linuxbios@linuxbios.org http://www.openbios.org/mailman/listinfo/linuxbios