[coreboot] v2 + qemu + yabel

Pattrick Hueper phueper at hueper.net
Mon Mar 9 15:19:19 CET 2009


i debugged into the VGA init code... it seems that the device (PCI:
00:02.0) is not assigned a ROM address.
Further debugging into pci_get_rom_resource and pci_moving_config32
shows that pci_read_config32 _always_ reads a 0 from the ROM BAR, even
if 0xffffffff is written just before reading...

Any ideas? I will try to find out what v3 does for the qemu VGA device...


On Fri, Mar 6, 2009 at 3:40 PM, Myles Watson <mylesgw at gmail.com> wrote:
> On Fri, Mar 6, 2009 at 7:26 AM, Pattrick Hueper <phueper at hueper.net> wrote:
>> Hi,
>> i am trying to get Stefans merged yabel working with v2 under qemu...
>> but it doesnt work.
>> As far as i see, the VGA device is not assigned a ROM address and thus
>> run_bios is never called... i dont quite understand why this happens.
>> I also tried to use pci_dev_init instead of vga_init as the init
>> function, but it still wont work :-(
>> Anybody any idea, what i am doing wrong?
> Look in /emulation/qemu-x86/mainboard.c and /emulation/qemu-x86/vgabios.c
> In v2 qemu has its own VGA init code.  I'd bet you need to bypass that.
> Thanks,
> Myles

More information about the coreboot mailing list