[coreboot] coreboot cbfs > incorrect bootblock size
Ward Vandewege
ward at gnu.org
Thu Jul 23 15:42:58 CEST 2009
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 <ward at fsf.org>
Free Software Foundation - Senior Systems Administrator
More information about the coreboot
mailing list