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