[LinuxBIOS] New Target for LinuxBios MB1030 / 3036 Success!!!???

Stefan Reinauer stepan at coresystems.de
Mon Apr 24 13:11:10 CEST 2006


* Stefan Reinauer <stepan at coresystems.de> [060424 12:49]:
> > the debug should be output the vga_onboard Variable,
> > but the output is vga.
> 
> good spot. 
> LinuxBIOS does not detect the vga device as an onboard vga device. 

Can you apply the attached patch and try again?

Stefan

-- 
coresystems GmbH · Brahmsstr. 16 · D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 · Fax: +49 761 7664613
Email: info at coresystems.de  · http://www.coresystems.de/
-------------- next part --------------
Index: src/northbridge/amd/gx1/northbridge.c
===================================================================
--- src/northbridge/amd/gx1/northbridge.c	(revision 2273)
+++ src/northbridge/amd/gx1/northbridge.c	(working copy)
@@ -211,3 +211,32 @@
 	CHIP_NAME("AMD GX1 Northbridge")
 	.enable_dev = enable_dev, 
 };
+
+// This is currently only activated for the 
+// Cyrix Corporation 5530 Video [Kahlua]
+// Question: Are other GX1 systems equipped 
+// with other VGA chips (or do they have other
+// PCI IDs?)
+
+static void vga_read_resources(device_t dev)
+{
+	// dev->rom_address = (void *)0xfffc0000;
+	dev->on_mainboard=1;
+	pci_dev_read_resources(dev);
+}
+
+static struct device_operations vga_operations = {
+	.read_resources   = vga_read_resources,
+	.set_resources    = pci_dev_set_resources,
+	.enable_resources = pci_dev_enable_resources,
+	.init             = pci_dev_init,
+	.ops_pci          = 0,
+};
+
+static struct pci_driver vga_driver __pci_driver = {
+	.ops = &vga_operations,
+	.vendor = 0x1078,
+	.device = 0x0104,
+};
+
+


More information about the coreboot mailing list