[coreboot] More v3 questions/issues
Myles Watson
mylesgw at gmail.com
Wed Dec 17 20:03:30 CET 2008
On Wed, Dec 17, 2008 at 11:43 AM, Corey Osgood <corey.osgood at gmail.com>wrote:
> On Tue, Dec 16, 2008 at 12:35 PM, Myles Watson <mylesgw at 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
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.
I think the c7.c file should move, but for now it helps.
Thanks,
Myles
Index: coreboot-v3/northbridge/via/cn700/Makefile
===================================================================
--- coreboot-v3.orig/northbridge/via/cn700/Makefile
+++ coreboot-v3/northbridge/via/cn700/Makefile
@@ -20,9 +20,12 @@
ifeq ($(CONFIG_NORTHBRIDGE_VIA_CN700),y)
-STAGE2_CHIPSET_SRC += $(src)/northbridge/via/cn700/stage2.c \
+STAGE2_CHIPSET_SRC += $(src)/northbridge/via/cn700/apic.c \
$(src)/northbridge/via/cn700/agp.c \
+ $(src)/northbridge/via/cn700/memctrl.c \
+ $(src)/arch/x86/via/c7.c \
$(src)/northbridge/via/cn700/pci.c \
+ $(src)/northbridge/via/cn700/pci_domain.c \
$(src)/northbridge/via/cn700/vga.c
endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081217/0e538b35/attachment.html>
More information about the coreboot
mailing list