[SeaBIOS] [coreboot] SeaVGABIOS with native vga init (Need testers)

Kevin O'Connor kevin at koconnor.net
Sun Feb 16 20:51:47 CET 2014

On Sun, Feb 16, 2014 at 07:30:30PM +0100, Denis 'GNUtoo' Carikli wrote:
> Then seabios started, and I saw the press F12 on the screen which
> overwrote the previous already-there and not-cleared grub stuff (that's
> why I used clear before).

Yeah, the clearing can probably be fixed up in the vgabios (see
below).  There's also no cursor, which can probably be enhanced as

> Since I had etc/ps2-keyboard-spinup, the keyboard worked and the AHCI
> disk was listed after pressing F12

I'm surprised you need ps2-keyboard-spinup if you chain load seabios.

> Then I told it to boot on it, and it loaded the older grub that was in
> it
> The version should be that one from parabola (a 100% free software
> GNU/Linux distribution based on arch):
> > libre/grub 1:2.02.beta2-1.1 [installed]
> That displayed me a prompt, since I didn't setup a grub.cfg, and I
> could interact with it too.

Thats great!  Thanks for testing.


--- a/vgasrc/cbvga.c
+++ b/vgasrc/cbvga.c
@@ -162,8 +162,8 @@ cbvga_setup(void)
     SET_VGA(CBmode.height, ylines);
     SET_VGA(CBmode.depth, bpp);
-    // Setup BDA
-    vga_set_mode(CBMODENUM, MF_NOCLEARMEM);
+    // Setup BDA and clear screen.
+    vga_set_mode(CBMODENUM, 0);
     return 0;

More information about the SeaBIOS mailing list