[SeaBIOS] [PATCH] vgabios: Make the qemu vgabioses selectable when building for coreboot.

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Wed Sep 10 23:18:38 CEST 2014

On Tue, 26 Aug 2014 15:44:57 -0400
Kevin O'Connor <kevin at koconnor.net> wrote:
> > Here's an example of my test configuration:
> > There is a lot of possible variations for such setup:
> > 
> > Coreboot:
> > 
> > SeaBIOS:
> > - --------
> > * Hardware specific VGA helpers(VGAHOOKS) enabled or disabled.
> > * Then there is the choice of building no option
> >   rom(CONFIG_NO_VGABIOS), or building the "coreboot linear
> >   framebuffer" one (CONFIG_VGA_COREBOOT).
> I think you may be confusing SeaBIOS with SeaVGABIOS.  Although
> SeaVGABIOS is in the SeaBIOS git repo, it builds a totally separate
> ROM.  The choices under the "VGA ROM" menu only impact the creation of
> SeaVGABIOS (which results in out/vgabios.rom).  The options in that
> menu have no impact on the main SeaBIOS rom (out/bios.bin.elf).
I was aware of it, but the way I phrased it is misleading indeed, sorry
for the confusion.

> By default, QEMU now uses SeaVGABIOS ROMS.  So, I don't see why you'd
> want to recompile them.  But, if you do, then select CONFIG_QEMU,
> select CONFIG_VGA_CIRRUS (or CONFIG_VGA_BOCHS), then run make, and
> then copy the vgarom to your qemu area (cp out/vgabios.bin
> /path/to/somewhere/).  You can then change SeaBIOS back to build for
> coreboot (select CONFIG_COREBOOT) and build the SeaBIOS rom for
> coreboot.
Yes, the idea was to make it easy for everybody, and not to have to
change configuration for building the option rom: some options
in .config might have been lost because of that (since Kconfig do select
some options based on what the current configuration is).

> I think you can by adding "-device cirrus-vga,romfile=" to the QEMU
> command line.  It may need additional tweaks though.
Thanks a lot for the tip, I'll try when I find the time.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://www.seabios.org/pipermail/seabios/attachments/20140910/6f3d63d3/attachment.asc>

More information about the SeaBIOS mailing list