On Tue, Dec 16, 2008 at 12:35 PM, Myles Watson mylesgw@gmail.com wrote:
Corey,
I've been looking through the v2 code, but I don't see anywhere that pci config reads/writes are enabled before scanning. If you're interested, you could send me a v2 boot log and I'll try to help more. You could also try doing a direct pci config read to the device to see if it works before the hang.
I got looking at some other drivers and reading some other mails on the list, and changing pci_ops to use cf0/cf8 fixed it, and also fixed my problems with the ide and sata drivers hanging (so all those phase3 functions are back in phase6 where they belong). The system now boots to memtest and actually sees the memory to test now, but I'm still having a problem building the cpu driver, which means booting is EXTREMEMLY slow. The stage2 driver is in via/c7.c, but no matter where I try to include it in the make files, arch/x86/Makefile or mainboard/jetway/j7f2/Makefile, I get this error:
make: *** No rule to make target `/home/corey/coreboot/coreboot-v3/build/mainboard/jetway/j7f2//home/corey/coreboot/coreboot-v3/arch/x86/via/c7.o', needed by `/home/corey/coreboot/coreboot-v3/build/coreboot.stage2'. Stop.
I'm no expert on makefiles, so I could use a hand. I've tried to locate where/how geodelx/cpu.c is built, but it doesn't seem that it ever is, adding a #error to the file still lets alix1c and other geodelx boards build without error.
Other then that, things are looking VERY promising, I'm finishing up a few things I put off before, and once the CPU driver is running I'd like to try booting a kernel :)
Thanks, Corey