On Thu, 25 Oct 2012 08:59:04 +0200
Rudolf Marek <[email protected]> wrote:

> I think we either need VGA BIOS blob or implement the atomBIOS
> interpreter into Seabios...
I've done a little experiment with SeaBIOS and an ATI card:
The following "patch" resulted in the display beeing black until the
radeon driver was loaded by Xorg:
diff --git a/src/optionroms.c b/src/optionroms.c
index 00697b2..dec7a37 100644
--- a/src/optionroms.c
+++ b/src/optionroms.c
@@ -25,6 +25,10 @@ static void
 __callrom(struct rom_header *rom, u16 offset, u16 bdf)
 {
     u16 seg = FLATPTR_TO_SEG(rom);
+#if 1
+    dprintf(1, "Skipping option rom at %04x:%04x\n", seg, offset);
+    return;
+#else
     dprintf(1, "Running option rom at %04x:%04x\n", seg, offset);
 
     struct bregs br;
@@ -40,6 +44,7 @@ __callrom(struct rom_header *rom, u16 offset, u16 bdf)
     farcall16big(&br);
     finish_preempt();
 
+#endif
     debug_serial_setup();
 }

Denis.

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to