[coreboot] IB520 Embedded MoBo

Marc Jones marc.jones at amd.com
Fri Oct 17 00:04:27 CEST 2008


Davide Visconti wrote:
>>>> [...]
>>>>
>>>>
>>> I have econtered an error during the compilation.
>>> I have make these step:
>>> - svn co svn://coreboot.org/buildrom
>>> - svn co svn://coreboot.org/repos/trunk/coreboot-v2
>>> - cd buildrom/buildrom-devel/
>>> - make menuconfig
>>> - make
>>>
>>> When I run "make" I get the attached error.
>>> How I make to understand where is the problem?
>>>
>>> ...and after the succesfull rom compilation?
>>>
>>> Thank you in advance, Davide
>>
>> The build log is buildrom/buildrom-devel/work/coreboot-v2/logs/build.log
>>
>> That's where the real error is.
>>
>> Thanks,
>> Myles
>
> I have see the log file 
> "buildrom/buildrom-devel/work/coreboot/logs/build.log" and the size is 
> too big.
>
> [...file cut...]
> nm -n coreboot | sort > coreboot.map
> objcopy --gap-fill 0xff -O binary coreboot coreboot.strip
> gcc -o buildrom 
> /root/buildrom/buildrom-devel/work/coreboot/svn/util/buildrom/buildrom.c
> cp ../payload.elf payload
> ./buildrom coreboot.strip coreboot.rom payload 0x10000 0x77000
> ERROR: payload (1572884) + coreboot (65536) - Size is 1150996 bytes 
> larger than ROM size (487424).
> make[2]: *** [coreboot.rom] Error 1
> make[1]: *** [fallback/coreboot.rom] Error 1
>
> How to set the ROM size?
> On the IB520 MoBo I have a 512Kb but in the future I can buy a 2Mb.
>
> -- 
> coreboot mailing list: coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot
>
The ROM size is set in coreboot/targets/company/mainboard/Config.lb

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