[coreboot] Build error with top of tree V2

Clay Jones c.jones at f5.com
Tue Feb 5 22:07:47 CET 2008

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 20040927
GNU objcopy 20040927

-----Original Message-----
From: Marc Jones [mailto:marc.jones at amd.com] 
Sent: Tuesday, February 05, 2008 11:39 AM
To: Clay Jones
Cc: coreboot at 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
> cheetah_fam10/fallback'
> make: *** [fallback/coreboot.rom] Error 1
cjones at 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 Jones
Senior Firmware Engineer
(970) 226-9684 Office
mailto:Marc.Jones at amd.com

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the
system manager. This message contains confidential information and is
intended only for the individual named. If you are not the named
addressee you should not disseminate, distribute or copy this e-mail.

More information about the coreboot mailing list