On Mon, 23 Mar 2009 10:35:00 -0400, Corey Osgood corey.osgood@gmail.com wrote:
2009/3/23 Joseph Smith joe@settoplinux.org
Hello, I am trying to setup a custom vga driver to run code before and after
the
vga rom executes. It builds and runs ok
I don't think it's actually running, I think the default vga handler is running the rom. Do you have a line in your mainboard Config.lb with eg "driver pci/onboard"? If so, comment out that line and try again. Also remember you need to re-run buildtarget after changing any Config.lb or Options.lb files.
-Corey
but I can't seem to get any of my output to show (yes my debug level is set 9). Do vga option roms not use the device ops (pci_dev_init())? Am I doing something wrong(patch and bootlog attached)?
I think I got it. I need to change my Config.lb from object vga.o to driver vga.o. I won't be able to test it until later today, but it makes sense.
If not I will try commenting out "chip drivers/pci/onboard".