Revision as of 08:42, 8 June 2013 by PatrickGeorgi (Created page with "The following Howto by an anonymous contributor details how to configure a Cygwin setup as a coreboot development environment. # <code>$ git clone http://review.coreboot.org/...")
The following Howto by an anonymous contributor details how to configure a Cygwin setup as a coreboot development environment.
$ git clone http://review.coreboot.org/coreboot.git# Get the coreboot code
$ cd /cygdrive/c# this is your C drive
$ cd source/coreboot/util# assuming you have downloaded coreboot code under C:\source
$ cd crossgcc
- Wait for it finish in about 30 minutes, including download and build; if it fails, it might be your firewall preventing it from downloading. Sometimes, if you download or use an older version of coreboot, the ./buildgcc may not finish due to either mismatched package names or mismatched versions.
- Now, you need iasl in your path as well:
- Download ACPICA from https://acpica.org/downloads
- Change directory to where your APCICA is downloaded
$ tar xzf acpica-unix-VERSION.tar.gz
$ cd acpica-unix-VERSION && make clean && make && make install
- iasl will show up in /usr/bin
- At this point, you should all the tools you need for building a Coreboot project.
$ cd source/coreboot# or wherever your Coreboot source code is
$ make menuconfig# to make sure you have the right platform, chipset, and other options you want to build, but you may skip this step if you just want to build an existing project
- You should see the build complete with a ROM image map showing at the end.