Hey, I'm following this guide to build coreboot http://www.coreboot.org/Build_HOWTO
I've done it all up to just running make. I chose the default mainboard vendor and model because I don't really know and 2MB chip size with SeaBIOS. I'm building for my x60s.
So I run make and this is what I get.
oneofthem@oneofthem:~/coreboot$ make GEN build.h CC romstage.inc src/mainboard/emulation/qemu-i440fx/romstage.c: In function ‘main’: src/mainboard/emulation/qemu-i440fx/romstage.c:38:6: error: variable ‘cbmem_was_initted’ set but not used [-Werror=unused-but-set-variable] int cbmem_was_initted; ^ cc1: all warnings being treated as errors make: *** [build/mainboard/emulation/qemu-i440fx/romstage.pre.inc] Error 1
If you are building for your x60s, and you are pulling in files for the qemu-i440fx, then you're not really building for your x60s. Something is badly wrong. DId you run makeconfig and select the x60s?
ron
On Mon, Jun 24, 2013 at 06:27:16PM +1000, oneofthem wrote:
Hey, I'm following this guide to build coreboot http://www.coreboot.org/Build_HOWTO
Alright, got it worked out now. I had to select lenovo as the mobo vendor, purge my old coreboot files and download iasl for it build properly. Thanks ron.
On Tue, Jun 25, 2013 at 06:27:12PM +1000, oneofthem wrote:
On Mon, Jun 24, 2013 at 06:27:16PM +1000, oneofthem wrote:
Hey, I'm following this guide to build coreboot http://www.coreboot.org/Build_HOWTO
Alright, got it worked out now. I had to select lenovo as the mobo vendor, purge my old coreboot files and download iasl for it build properly. Thanks ron.
Oh and also needed libncurses-dev (for menuconfig) and libc6-dev-i386 (not entirely sure why but it doesn't work without it so good enough for me)
oneofthem wrote:
I had to select lenovo as the mobo vendor
Yes, you obviously need to configure what you want to build.
Remember to include a VGA BIOS if you want to have one.
//Peter