Build HOWTO: Difference between revisions
Jump to navigation
Jump to search
(make menuconfig image.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[File:Coreboot menuconfig.png|thumb|right|'''make menuconfig''' in coreboot]] | [[File:Coreboot menuconfig.png|thumb|right|'''make menuconfig''' in coreboot]] | ||
<div style="margin-top:0.5em; padding:0.5em 0.5em 0.5em 0.5em; background-color:#ffbbbb; align:right; border:1px solid #aabbcc;"> | |||
Note: Not all boards work correctly with kconfig, yet! This is work in progress! | |||
</div> | |||
This page describes how you can build a coreboot image for your specific mainboard using the new kconfig system. | This page describes how you can build a coreboot image for your specific mainboard using the new kconfig system. | ||
== Building a payload == | == Building a payload == |
Revision as of 19:49, 22 October 2009
Note: Not all boards work correctly with kconfig, yet! This is work in progress!
This page describes how you can build a coreboot image for your specific mainboard using the new kconfig system.
Building a payload
TODO
See Payloads.
Building coreboot
First, get the latest coreboot-v2 svn version:
$ svn co svn://coreboot.org/repos/trunk/coreboot-v2 $ cd coreboot-v2
In the coreboot-v2 directory run kconfig to configure the build-time options of coreboot:
$ make menuconfig
In that menu (which may look familiar, as other projects such as the Linux kernel or busybox use the same system), select at least the following options:
- Enter the Mainboard menu.
- In Mainboard vendor select the vendor of your board.
- In Mainboard model select your exact mainboard name.
- In ROM chip size select the exact size of the flash ROM chip you want to flash the coreboot image on.
- Enter the Payload menu.
- Set the Add a payload option to An ELF executable payload.
- Then, specify the file name and path to your payload file (which you built before).
That's the bare minimum. Feel free to adjust the other settings to your needs, then exit menuconfig and build the coreboot image:
$ make
The file build/coreboot.rom is your final coreboot image you can flash onto a ROM chip.
Flashing coreboot
TODO
See Flashrom.
Manipulating coreboot images with cbfstool
TODO