[coreboot] coreboot cbfs incorrect bootblock size

2009-07-23 Thread Arnaud Maye

Hello,

I am trying to compile coreboot with cbfs support, everything goes well 
until it tries to create the cbfs image.


./cbfs/cbfstool ./coreboot.rom create 2097152 131072 ./coreboot.rom.bootlock
(cbfstool) E: The bootblock size is not correct (2097152 vs 131072)

131072 is 128kB and 2097152 is 2MB. These are the settings I have in my 
target's confg.lb file.


option CONFIG_ROM_IMAGE_SIZE = 128 * 1024
option CONFIG_ROM_SIZE = 2 * 1024 * 1024

Anyone knows what I am not doing or not doing correctly?

Thank you!

Arnaud



*
*

--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] coreboot cbfs incorrect bootblock size

2009-07-23 Thread Ward Vandewege
Hi Arnaud,

On Thu, Jul 23, 2009 at 02:37:52PM +0200, Arnaud Maye wrote:
 I am trying to compile coreboot with cbfs support, everything goes well  
 until it tries to create the cbfs image.

 ./cbfs/cbfstool ./coreboot.rom create 2097152 131072 ./coreboot.rom.bootlock
 (cbfstool) E: The bootblock size is not correct (2097152 vs 131072)

 131072 is 128kB and 2097152 is 2MB. These are the settings I have in my  
 target's confg.lb file.

 option CONFIG_ROM_IMAGE_SIZE = 128 * 1024
 option CONFIG_ROM_SIZE = 2 * 1024 * 1024

 Anyone knows what I am not doing or not doing correctly?

See

  http://www.coreboot.org/pipermail/coreboot/2009-June/049363.html

where Patrick explained how to convert a board to CBFS. I've used those
instructions with success before.

Thanks,
Ward.

-- 
Ward Vandewege w...@fsf.org
Free Software Foundation - Senior Systems Administrator

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot