On 10.10.2008 06:46, Corey Osgood wrote: > On Thu, Oct 9, 2008 at 9:57 PM, Corey Osgood <[EMAIL PROTECTED]> wrote: > > >> On Thu, Oct 9, 2008 at 7:56 PM, ron minnich <[EMAIL PROTECTED]> wrote: >> >> >>> exciting! I am looking forward to this one! >>> >> Problems already: >> >> [EMAIL PROTECTED]:~/coreboot/coreboot-v3$ make >> CP build/config.h >> GEN build/build.h >> CC build/mainboard/jetway/j7f2/stage1.o >> DTC build/statictree.h >> DTC mainboard/jetway/j7f2/dts (dts->lbh) >> CC build/superio/fintek/f71805f/stage1.o >> CC build/arch/x86/via/stage0.o >> AS build/arch/x86/via/stage0.o >> /home/corey/coreboot/coreboot-v3/arch/x86/via/stage0.S: Assembler messages: >> /home/corey/coreboot/coreboot-v3/arch/x86/via/stage0.S:37: Error: can't >> handle non absolute segment in `ljmp' >> > > No progress on this. Makes no sense to me, geode and i586 car use the same > piece of asm without complaint >
I've not even tried to compile this yet, but thanks for your enthusiastic trying to do so. >> /home/corey/coreboot/coreboot-v3/include/arch/x86/mtrr.h:35: Error: no such >> instruction: `void x86_setup_var_mtrrs(unsigned address_bits)' >> /home/corey/coreboot/coreboot-v3/include/arch/x86/mtrr.h:36: Error: no such >> instruction: `void x86_setup_mtrrs(unsigned address_bits)' >> /home/corey/coreboot/coreboot-v3/include/arch/x86/mtrr.h:37: Error: junk >> `(void)' after expression >> /home/corey/coreboot/coreboot-v3/include/arch/x86/mtrr.h:37: Error: suffix >> or operands invalid for `int' >> >> > > This is fixed by adding #define ASSEMBLY before #include <mtrr.h> > Yes, I knew that's one of the missing bits and pieces. Right now I try to abstract more of the common CAR code which is present in the various implementations. That shall also reduce such problems. >> /home/corey/coreboot/coreboot-v3/arch/x86/via/../stage0_common.S:57: Error: >> can't handle non absolute segment in `ljmp' >> make: *** [/home/corey/coreboot/coreboot-v3/build/arch/x86/via/stage0.o] >> Error 1 >> >> Easy fix, I hope? >> I'm pretty sure, yes. Regards, Carl-Daniel -- http://www.hailfinger.org/ -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

