Hello,
I tried to build a rom Image for an Axus TC 320 using filo as payload. Everything seems OK until the message " There is not enough room in this ROM" The size of my filo.elf file is 88400 Byte. Is this too large? What can I do to make it smaller. Or what am i doing wrong? I use coreboot-v2-4559.
rm -f ./coreboot.rom cat normal/coreboot.rom fallback/coreboot.rom > ./coreboot.rom.bootblock ./cbfs/cbfstool ./coreboot.rom create 262144 131072 ./coreboot.rom.bootblock ./cbfs/cbfstool ./coreboot.rom add-payload ../filo.elf normal/payload ./cbfs/cbfstool ./coreboot.rom add-stage normal/coreboot_ram normal/coreboot_ram if [ -f normal/coreboot_apc ]; then ./cbfs/cbfstool ./coreboot.rom add-stage normal/coreboot_apc normal/coreboot_apc ; fi ./cbfs/cbfstool ./coreboot.rom add-payload ../filo.elf fallback/payload (cbfstool) E: There is not enough room in this ROM make: *** [coreboot.rom] Error 255
Thanks for help Bjoern
______________________________________________________ GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de
Am 21.08.2009 14:35, schrieb Björn Zadow:
Hello,
I tried to build a rom Image for an Axus TC 320 using filo as payload. Everything seems OK until the message " There is not enough room in this ROM" The size of my filo.elf file is 88400 Byte. Is this too large? What can I do to make it smaller. Or what am i doing wrong?
Try reducing CONFIG_ROM_IMAGE_SIZE in src/mainboard/axus/tc320/Options.lb to 32 * 1024. Also adapt CONFIG_XIP_ROM_SIZE in Config.lb (same directory) to the same value, and make sure that both aren't overwritten in the Config.lb you use with buildtarget.
Please report back the result.
Thanks, Patrick Georgi
I tried to build a rom Image for an Axus TC 320 using filo as payload.
Everything seems OK until the message " There is not enough room in this ROM" The size of my filo.elf file is 88400 Byte. Is this too large?
What can I do to make it smaller. Or what am i doing wrong?
Try reducing CONFIG_ROM_IMAGE_SIZE in src/mainboard/axus/tc320/Options.lb to 32 * 1024. Also adapt CONFIG_XIP_ROM_SIZE in Config.lb (same directory) to the same value, and make sure that both aren't overwritten in the Config.lb you use with buildtarget.
You could also get rid of the normal image to free up some space. Compressing the payload with lzma would help too.
Please report back the result.
Could you run ./cbfs/cbfstool ./coreboot.rom print in the targets/axus/tc320/tc320 directory too?
Thanks, Myles