On Jan 14, 2008 5:14 PM, Uwe Hermann uwe@hermann-uwe.de wrote:
Hi,
here's a repost of a patch from last year which has not yet been comitted. See discussion starting at http://www.coreboot.org/pipermail/coreboot/2007-December/028076.html for details.
The code works well enough to be committed IMO, some issue remain to be fixed though.
I tested it with recent coreboot + filo-0.5 and I confirm that it works. BUT I had to change 'linuxbios' -> 'coreboot' everywhere. The fixed patch is attached. Please, commit it. And big thanks to those who was taking time to help me with my old motherboard, especially Uwe!
The following issues have been found. Regardless of which, I think, the patch should be committed.
0. filo-0.5 can't find hda HDD: 'No drive detected on IDE channel 0'. That is, I believe, because of bug in filo-0.5. The patch is attached which fixes the problem for me. I've already posted it, and it got some critique. Please reconsider it. If it may cause problems, explain them to me.
1. PS/2 keyboard doesn't work. (USB keyboard does.) I'll try to investigate it myself.
2. flashrom outputs: 'No EEPROM/flash device found'. It is probably because of a locked flash device. People on IRC gave me some tips, so I'll try to investigate it myself.
3. I have a PCI card which is a host controller for IEEE 1394 and USB. When I boot with the standard BIOS, USB devices attached to it work. When I boot with coreboot, and plug in a USB device, it doesn't work and these messages appear: usb 1-4: new high speed USB device using ehci_hcd and address 3 usb 1-4: device descriptor read/64, error -110 usb 1-4: device descriptor read/64, error -110 usb 1-4: new high speed USB device using ehci_hcd and address 4 usb 1-4: device descriptor read/64, error -110 usb 1-4: device descriptor read/64, error -110 usb 1-4: new high speed USB device using ehci_hcd and address 5 usb 1-4: device not accepting address 5, error -110 usb 1-4: new high speed USB device using ehci_hcd and address 6 usb 1-4: device not accepting address 6, error -110 Googling on it suggests that it is a PCI IRQ-related problem.
4. coreboot works with 'NVIDIA GeForce2 MX 400' video card (64 MB), but hangs with older 'NVIDIA Riva TNT' (16 MB). With the latter nothing is displayed and the computer hangs after 'entering emulator'. With the standard BIOS both cards work. Here are pieces of logs related to VGA:
NVIDIA GeForce2 MX 400 (64 MB): rom address for PCI: 01:00.0 = f9000000 PCI Expansion ROM, signature 0xaa55, INIT size 0xcc00, data ptr 0x00f4 PCI ROM Image, Vendor 10de, Device 0110, PCI ROM Image, Class Code 030000, Code Type 00 copying VGA ROM Image from 0xf9000000 to 0xc0000, 0xcc00 bytes entering emulator
NVIDIA Riva TNT (16 MB): rom address for PCI: 01:00.0 = f1000000 PCI Expansion ROM, signature 0xaa55, INIT size 0x8000, data ptr 0x7623 PCI ROM Image, Vendor 10de, Device 0020, PCI ROM Image, Class Code 030000, Code Type 00 copying VGA ROM Image from 0xf1000000 to 0xc0000, 0x8000 bytes entering emulator