[coreboot] F2A85-V PRO as good target? - VGA ROMs?

Denis 'GNUtoo' Carikli gnutoo at no-log.org
Thu Oct 25 15:02:40 CEST 2012


On Thu, 25 Oct 2012 08:59:04 +0200
Rudolf Marek <r.marek at assembler.cz> 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.




More information about the coreboot mailing list