[coreboot] Build error with top of tree V2

Marc Jones marc.jones at amd.com
Tue Feb 5 20:39:14 CET 2008



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 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








-- 
Marc Jones
Senior Firmware Engineer
(970) 226-9684 Office
mailto:Marc.Jones at amd.com
http://www.amd.com/embeddedprocessors






More information about the coreboot mailing list