[coreboot] [RESEND] Some questions about SeaBIOS's native VGA drivers.

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Thu Feb 21 15:35:37 CET 2013

On Thu, 21 Feb 2013 08:49:23 -0500
Kevin O'Connor <kevin at koconnor.net> wrote:

> Hi,

> > I've created stub in SeaBIOS(there is an attached patch for that)
> > for the i915 driver(it will be filled in later), however I don't
> > know how to run the code:
> > * I guess it creates an option rom that is in out/vgabios.bin and
> > that I've to include it trough one of the various ways(let seabios
> > pick it, run it in coreboot, run it in coreboot trough YABEL for
> >   debugging etc...)? right? romheaders seem to think that the option
> >   rom is valid(more on it later). I guess YABEL also thinks it's
> > valid. I guess SeaBIOS out/bios.bin.elf doesn't link that option
> > rom inside SeaBIOS...
> All correct.
Thanks a lot
> > * it doesn't print a thing, I've CONFIG_DEBUG_LEVEL=2 and there is
> > the following in the driver stub:
> >   dprintf(1, "i915vga_setup: VGA init...\n");
I've corrected the code... it lacked a header...
> Kconfig?
> The code you sent calls stdvga_setup() - that touches a bunch of
> legacy VGA IO ports - are you sure the i915 has those ports?
I'm not sure, I'm just getting started

I've made my option rom loaded by seabios instead of coreboot(which is
safer because I use a fallback mecanism in coreboot) and it printed on
$ tail -f seriallog-20130221_153155.log | grep
i915 00.485: i915vga_setup: VGA init...

Thanks a lot for the pointers...


More information about the coreboot mailing list