[coreboot] Qemu and SeaBios.

2009-11-17 Thread Knut Kujat
Hi,
since I want to use SeaBios on my real MoBo I wanted to try it out first
using Qemu so I compiled coreboot v2 with the emulation MoBo and using
the latest seabios-0.4.2. Now the problem is that qemu is booting all
the time without getting seabios fully loaded:
Got a
payload 


Loading segment from rom address
0xfffc6878   
  data
(compression=1) 
   

malloc Enter, size 36, free_mem_ptr
00119130  
malloc
00119130
   

  New segment dstaddr 0xef000 memsize 0x11000 srcaddr 0xfffc68b0
filesize 0x8612  
  (cleaned up) New segment addr 0xef000 size 0x11000 offset 0xfffc68b0
filesize 0x8612
Loading segment from rom address 0xfffc6894
  Entry Point 0x000fc1ec
Loading Segment: addr: 0x000ef000 memsz: 0x00011000
filesz: 0x8612
lb: [0x0010, 0x0011c000)
Post relocation: addr: 0x000ef000 memsz: 0x00011000
filesz: 0x8612
using LZMA
lzma: Decoding error = 1
[ 0x000ef000, 000ef000, 0x0010) <-
fffc68b0
Clearing Segment: addr: 0x000ef000 memsz: 0x00011000
dest 000ef000, end 0010, bouncebuffer 3fc8000
Loaded segments
Jumping to boot code at fc1ec
entry= 0x000fc1ec
lb_start = 0x0010
lb_size  = 0x0001c000
adjust   = 0x03ee4000
buffer   = 0x03fc8000
 elf_boot_notes = 0x0010c25c
adjusted_boot_notes = 0x03ff025c
-->> reboots

Now I'm concerned that this could be happening on the real board,too. I
already tried to compile seabios from the source same result.
I tried to use it with a linux.img to see if it boots but nothing! I'm
having the same problem with the "ready to use" coreboot v2 + SeaBios
from the coreboot wiki.

any suggestions? I have a coreboot + seabios compiled and ready to flash
it to the real board but I'm now scared like hell it just will boot and
boot.

thx,

Knut Kujat

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] Qemu and SeaBios.

2009-11-17 Thread Myles Watson


> Hi,
> since I want to use SeaBios on my real MoBo I wanted to try it out first
> using Qemu so I compiled coreboot v2 with the emulation MoBo and using
> the latest seabios-0.4.2. Now the problem is that qemu is booting all
> the time without getting seabios fully loaded:
> Got a
> payload

> Loading Segment: addr: 0x000ef000 memsz: 0x00011000
> filesz: 0x8612
> lb: [0x0010, 0x0011c000)
> Post relocation: addr: 0x000ef000 memsz: 0x00011000
> filesz: 0x8612
> using LZMA
> lzma: Decoding error = 1
> [ 0x000ef000, 000ef000, 0x0010) <-
> fffc68b0
> Clearing Segment: addr: 0x000ef000 memsz: 0x00011000
> dest 000ef000, end 0010, bouncebuffer 3fc8000
> Loaded segments
> Jumping to boot code at fc1ec

Last time I checked, some versions of qemu don't allow the f segment (BIOS
area) to be written.  I use 0.9.1 (included with my Ubuntu distribution.)

I'm not sure that that's your problem, but it's a likely candidate.

Thanks,
Myles


-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot