[coreboot] Broken VGA ROM init in QEMU

Stefan Reinauer stepan at coresystems.de
Thu Apr 24 22:30:31 CEST 2008


Myles Watson wrote:
> As of rev 657, the VGA ROM in QEMU doesn't get run.  Looking at the
> code that was changed in device/pci_rom.c it looks like the problem is
> that the VGA card is being treated like an onboard device, but the ROM
> is not in the LAR.
>   
Oops. The Qemu VGA adapter was hardcoded to be an onboard device. Also, 
reading PCI_ROM_ADDRESS does not seem to give a useful value for that 
device, so we need to leave the dev->rom_address entry intact.

See patch.


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qemu-vga-fix.diff
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080424/300bd787/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080424/300bd787/attachment.sig>


More information about the coreboot mailing list