On Wed, Dec 17, 2008 at 2:03 PM, Myles Watson <span dir="ltr"><<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Wed, Dec 17, 2008 at 11:43 AM, Corey Osgood <span dir="ltr"><<a href="mailto:corey.osgood@gmail.com" target="_blank">corey.osgood@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>On Tue, Dec 16, 2008 at 12:35 PM, Myles Watson <span dir="ltr"><<a href="mailto:mylesgw@gmail.com" target="_blank">mylesgw@gmail.com</a>></span> wrote:<br></div><div class="gmail_quote"><div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Corey,<br><br>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.</blockquote>


</div><div><br>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:<br>


<br>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.<br>


<br>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.<br>


<br>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 :)<br></div></div><br>Thanks,<br><font color="#888888">Corey</font></blockquote>

</div></div><div><br>I agree with Ron.  You're doing good work and we could help you easier if we commit it.  I added one more line to your Makefile and it tries to build the file.<br><br>I think the c7.c file should move, but for now it helps.<br>

<br>Thanks,<br>Myles</div></div></blockquote><div><br>Ok, adding it there work. But why does it work there but nowhere else? I'll try to make a commit within the hour, I've just got to split the c7/cn700 stuff off from the other hacking I've been doing.<br>
<br>Thanks,<br>Corey<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div><br> </div></div>Index: coreboot-v3/northbridge/via/cn700/Makefile<br>
===================================================================<br>--- coreboot-v3.orig/northbridge/via/cn700/Makefile<br>+++ coreboot-v3/northbridge/via/cn700/Makefile<br>
@@ -20,9 +20,12 @@<br> <br> ifeq ($(CONFIG_NORTHBRIDGE_VIA_CN700),y)<br> <br>-STAGE2_CHIPSET_SRC +=     $(src)/northbridge/via/cn700/stage2.c \<br>+STAGE2_CHIPSET_SRC +=     $(src)/northbridge/via/cn700/apic.c \<br>             $(src)/northbridge/via/cn700/agp.c \<br>

+            $(src)/northbridge/via/cn700/memctrl.c \<br>+            $(src)/arch/x86/via/c7.c \<br>             $(src)/northbridge/via/cn700/pci.c \<br>+            $(src)/northbridge/via/cn700/pci_domain.c \<br>             $(src)/northbridge/via/cn700/vga.c<br>

 <br> endif<br><br>
</blockquote></div><br>