I am using buildrom and have built with the following tools on centos 4.4 (redhat):
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3) GNU Make 3.80 GNU ld version 2.15.92.0.2 20040927 GNU objcopy 2.15.92.0.2 20040927
-----Original Message----- From: Marc Jones [mailto:marc.jones@amd.com] Sent: Tuesday, February 05, 2008 11:39 AM To: Clay Jones Cc: coreboot@coreboot.org Subject: Re: [coreboot] Build error with top of tree V2
Clay Jones wrote:
Hi,
I am getting the following error when building the Serengeti_cheetah_fam10 target:
gcc -m32 -nostdlib -nostartfiles -static -o coreboot -T ldscript.ld crt0.o nm -n coreboot | sort > coreboot.map objcopy --gap-fill 0xff -O binary coreboot coreboot.strip cp ../payload.elf payload ./buildrom coreboot.strip coreboot.rom payload 0x3f000 0x7f000 coreboot image is 258104 bytes; only 258048 allowed Coreboot input file larger than allowed size! : Success make[1]: *** [coreboot.rom] Error 2 make[1]: Leaving directory
`/home/cjones/coreboot-v2/targets/amd/serengeti_cheetah_fam10/serengeti_
cheetah_fam10/fallback' make: *** [fallback/coreboot.rom] Error 1
cjones@scully:/home/cjones/coreboot-v2/targets/amd/serengeti_cheetah_fam
10/serengeti_cheetah_fam10
The coreboot image is always a little bigger that the space allowed. I have seen this before, but I can't remember what causes it. Anybody know?
Can you post your distribution, gcc version and binutils versions?
Are you using buildrom? Did you build a normal image too? did you change
the mainboard or target config.lb?
I get the following using buildrom on my local directory: ./buildrom coreboot.strip coreboot.rom payload 0x3f000 0x7f000 Payload: 61872 coreboot: 258048 ROM size: 520192 Left space: 200272
Marc