[coreboot] v2 + qemu + yabel

Myles Watson mylesgw at gmail.com
Mon Mar 9 16:41:09 CET 2009


On Mon, Mar 9, 2009 at 7:19 AM, Pattrick Hueper <phueper at hueper.net> wrote:
> Hi,
>
> 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...

In v3 it's hardcoded too.  The VGA BIOS is always mapped to 0xc0000 in
qemu, so v3 just sets the value.  In device/pci_rom.c it checks to see
if dev->rom_address is set.  In /mainboard/emulation/qemu-x86/vga.c it
sets it to 0xc0000.

Thanks,
Myles




More information about the coreboot mailing list