On Thu, Oct 1, 2009 at 8:54 AM, Hugh Greenberg hng@lanl.gov wrote:
I am trying to put coreboot v2 on a tyan s2881 and I would like to use seabios and gpxe for the payload . I successfully created the coreboot.rom by following the s2881 build tutorial and seabios tutorial. I then tried to add gpxe to the coreboot rom and I received this output from cbfstool:
$./cbfstool ../../targets/tyan/s2881/s2881/coreboot.rom add ../../../gpxe-0.9.6-tg3-5704.rom pci14e4,1648 99 Could not add the file to CBFS, it's probably too big.
$ ./cbfstool ../../targets/tyan/s2881/s2881/coreboot.rom print ../../targets/tyan/s2881/s2881/coreboot.rom: 512 kB, bootblocksize 262144, romsize 524288, offset 0x0 Alignment: 64 bytes
Name Offset Type Size normal/payload 0x0 payload 65592 normal/coreboot_ram 0x10080 stage 56173 fallback/payload 0x1dc40 payload 65592 fallback/coreboot_ram 0x2dcc0 stage 55651 0x3b680 null 18744
I didn't see how big the gpxe ROM is. That might influence which of these choices you make.
You could: 1. shrink your bootblock (CONFIG_ROM_IMAGE_SIZE) 2. do fallback-only (Remove anything that says normal in targets/tyan/s2881/s2881/Config.lb)
I taked to Ron about this and he suggested to try the Kconfig build system as that would create a smaller rom. That failed and I received this output:
3. Apply the attached patch (updated version of one that is waiting to be reviewed.)
Thanks, Myles