[LinuxBIOS] MB1030 / 3036 I like 13 :D

Christian Sühs chris at suehsi.de
Wed Apr 26 16:56:15 CEST 2006


> PCI: 00:09.0 init
> rom address for PCI: 00:09.0 = fffc0000
> copying VGA ROM Image from 0xfffc0000 to 0xc0000, 0x8000 bytes
			     ^^^^^^	   ^^^^^    ^^^^^^
remember my Image is located at first of my 256K flash part
and is 32K big, are these values correct.

0xfffc0000 i don't know
0xc0000 should be correct
0x8000 yes

Mmmh, the pci_rom_run detected the right signatur on 0xfffc0000
also this should be correct to.

> entering emulator
> halt_sys: file /root/src/LinuxBIOSv2/src/devices/emulator/x86emu/ops.c, line 4956
> halted
> 	AX=0048  BX=0000  CX=0000  DX=0080  SP=fff8  BP=0000  SI=0000  DI=0000
> 	DS=0040  ES=0000  SS=c000  CS=c000  IP=0005   NV UP DI PL NZ NA PO NC 
> c000:0005 ff                  ILLEGAL DECODING OF OPCODE FF	PCI: 00:12.0 init
> PNP: 002e.0 init
> PNP: 002e.1 init
> PNP: 002e.2 init


Waaah. Ok, how can I verify, that the vga.bios image is proper copied to 
0xc0000. I think the emulator reads from this adress, right?

Now, where the emu is stopping with halt_sys. I'm able to read out 
0xc0000 with dd and voila, there is definitivly not the vga.bios.

$ dd if=/dev/mem of=vga.bios bs=1 count=32768 skip=786432

I get garbage :D

chris









More information about the coreboot mailing list