I just got a VGA addon card to work on the nVidia nf4crb board.
Maybe my comments would be helpful to others.
1) Turning on the VGA options in Options.lb (CONFIG_CONSOLE_VGA and CONFIG_PCI_ROM_RUN) added more "stuff" than I could fit on a 512K Flash device. I had to use a pin compatible 1M Flash device. Are there other options if a larger Flash device is not available? For example, what are the Options.lb changes to run without a FALLBACK or without CMOS Options. Are there ways to tell how much free Flash space you have?
2) I'd suggest the VGA Support page have a reference to the FreeVGA article.
3) The VGA support page should have a suggestion to check to see that PCI bridges are set to enable forwarding of VGA memory mapped I/O.
4) I needed to change src/devices/pci_rom.c in pci_rom_load() at about line 88 to force the VGA ROM to be copied to PCI_VGA_RAM_IMAGE_START (0xC0000). The rom_data->class_hi test failed when it shouldn't have?
The VGA support is very cool. Thanks to all who made it work.
Steve
On Fri, 2005-08-26 at 17:22 -0400, Stephen.Kimball@bench.com wrote:
I’d suggest the VGA Support page have a reference to the
FreeVGA article.
I will try to do that. The VGA support page on the wiki was half done. I was interrupted when I modifying the page and never have time to finish it.
The VGA support page should have a suggestion to check to see
that PCI bridges are set to enable forwarding of VGA memory mapped I/O.
Isn't it been build into the device enumeration code? Isn't the code in allocate_vga_resource sufficient?
I needed to change src/devices/pci_rom.c in pci_rom_load() at
about line 88 to force the VGA ROM to be copied to PCI_VGA_RAM_IMAGE_START (0xC0000). The rom_data->class_hi test failed when it shouldn’t have?
What VGA are you using? Is it reporting wrong class code?
Is it the case that 4) failed so 3)failed too?
The VGA support is very cool. Thanks to all who made it work.
Do you have any patch that have to be commit to the tree?