[coreboot] error in Building coreboot: Corrupt rom -- found no header at 2031584

Myles Watson mylesgw at gmail.com
Thu Jul 9 15:49:13 CEST 2009

> I made two changes in the Config.lb file first one is ROM_SIZE i made as
> 2048*1024 and second i specified the location of my payload.

That's all you needed to do, as long as your payload fits in 2M.

> yea I also think i misconfigured the Config.lb file. I modified the
> ROM_SIZE but forgot to change the ROM_IMAGE_SIZE in the Config.lb file
> according to it.

ROM_IMAGE_SIZE doesn't need to be changed.

> the size of the linux.elf image was 10 MB. So this may be problem also.

Yes.  This is the problem.
> So I dont know how to decrease the size of linux.elf, Any help would be
> greatly appreciated.

Check out buildrom, and see how it builds Linux kernels that fit in the ROM.


More information about the coreboot mailing list