Hi Clay,
On 05.02.2008 20:00, Clay Jones wrote:
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?
gcc generates bigger code than expected. Another gcc version might help, although tweaking the expected size will work as well.
Regards, Carl-Daniel