[coreboot] unable to build coreboot with grub

Vipin Gahlaut gailu96 at gmail.com
Sun Oct 12 12:44:02 CEST 2014


Hi Vladimir,

I tried changing under main mainboard -> rom chip size but does not seem to
be helping. If I look at .config I suspect that the reason is
CONFIG_BOARD_ROMSIZE_KB_256=y which doesn't change even if I change ROM
size in main board.

Relevant portion of .config after changing it to 512 KB
CONFIG_BOARD_ROMSIZE_KB_256=y
# CONFIG_COREBOOT_ROMSIZE_KB_64 is not set
# CONFIG_COREBOOT_ROMSIZE_KB_128 is not set
# CONFIG_COREBOOT_ROMSIZE_KB_256 is not set
CONFIG_COREBOOT_ROMSIZE_KB_512=y
# CONFIG_COREBOOT_ROMSIZE_KB_1024 is not set
# CONFIG_COREBOOT_ROMSIZE_KB_2048 is not set
# CONFIG_COREBOOT_ROMSIZE_KB_4096 is not set
# CONFIG_COREBOOT_ROMSIZE_KB_8192 is not set
# CONFIG_COREBOOT_ROMSIZE_KB_12288 is not set
# CONFIG_COREBOOT_ROMSIZE_KB_16384 is not set
CONFIG_COREBOOT_ROMSIZE_KB=512
CONFIG_ROM_SIZE=0x80000

May be it is because of the fact that qemu is expected to have only 256KB
of BIOS rom. I do not know how much BIOS rom qemu 2.1.2 have. For qemu
0.9.0 it was 256KB and there was a patch (
http://code.coreboot.org/p/buildrom/source/tree/261/buildrom-devel/packages/qemu/patches/qemu-bios-size.patch)
to change it to 2MB. However this patch is not applicable on QEMU version
2.1.2 as there are different BIOS_SIZE macros in qemu2.1.2.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20141012/0c53c880/attachment-0001.html>


More information about the coreboot mailing list