[SeaBIOS] [PATCH 0/7] vgabios runtime hardware detection

Gerd Hoffmann kraxel at redhat.com
Tue Feb 7 11:20:27 CET 2012


On 02/07/12 01:38, Kevin O'Connor wrote:
> On Mon, Feb 06, 2012 at 03:51:36PM +0100, Gerd Hoffmann wrote:
>>   Hi,
>>
>> Here is the runtime vga hardware detection patch series,
>> rebased and adapted to latest master.
> 
> Thinking about this further, if multiple drivers are compiled in, I'm
> not sure what we'd set the vendorid/deviceid in the PCI header to.
> This isn't an issue for qemu as it modifies the rom to match the ids
> when deploying it.  However, on coreboot, seabios wont run the rom
> unless the ids match.  So, should a geode user select both geode
> types, it wont actually work.  I'm not sure how to fix that.

We could keep the kconfig select, so only one item is selectable, and
introduce a CONFIG_VGA_QEMU as option which builds a vgabios with
cirrus+bochs support & runtime hardware detection.

One wouldn't be able to build a pure cirrus / bochs bios then.  I don't
think this is an issue as I don't think they are used outside qemu.
bochs is sort-of paravirtual anyway, and I doubt anyone runs a cirrus
bios on non-virtual hardware ...

cheers,
  Gerd



More information about the SeaBIOS mailing list