coreboot build environment for windows
09/03/2010 win-build-env-001.7z - original
09/28/2010 win-build-env-002.7z
- Target cross compilers are now built using the 'coresystems
cross toolchain builder v1.01' tool.
- Add target compiler version 4.4.4 in addition to version 4.5.0. Edit
line 21 of go.bat to select the compiler.
- Add python tool needed to build the seabios payload.
- Add yes command needed by the
abuild utility.
- Ensure that all coreboot projects can build using this build
environment.
- Note: to run abuild, you must copy the xgcc
directory from msys\gcc450 to
coreboot\util\crossgcc.
10/26/2010 win-build-env-003.7z
- Add --with-dwarf2 to the gcc configure
command. This makes gcc -g produce dwarf2
debugging information.
- Correct an improperly formed comment in go.bat.
- Update the sample coreboot to revision 5991 and test this build
environment using abuild.
11/19/2010 win-build-env-004.7z
- Add gcc 4.5.1 cross compiler. Versions 4.4.4 and 4.5.0 are still
included. Built with
this patch applied to
buildgcc
rev 5768, plus add --with-dwarf2 and
--enable-lto to gcc configure.
- Change go.bat default cross compiler
from version 4.5.0 to version 4.5.1.
- Completely ignore Path environment
variable when building to ensure only the indended build tools are executed.
- Change go.bat to locate the msys
directory using an environment variable (msys_for_coreboot) instead of using
a relative path. This simplifies archiving projects independently of the
build environment.
- Move tools directory into the msys
directory so that a single environment variable locates everything needed to
build a coreboot project.
- Update iasl.exe from version version
20100806 to version 20101013.
- Update m4.exe from version 1.4.7 to
version 1.4.14.
- Add bison/flex/yacc.
- Update the sample coreboot to revision 6098.
04/01/2011 win-build-env-005.7z
- The included mingw is modified for compatibility with the seabios kconfig tool build:
- stdio.h and
io.h prototypes for mkdir allow a
second argument.
- stdio.h and
io.h redefine the rename function to
rpl_rename.
- libmingw32.a is expanded to include
libregex.dll.a and
libws2_32.a.
- libmingw32.a is expanded to include
rpl_rename and
uname functions from gnulib.
- See msys\mingw-msys-modifications\readme.txt for
details.
- WARNING: use this build environment for coreboot build only. Use a
standard msys/mingw build environment for crossgcc or other builds.
- The included msys-1.0.dll
is modified to avoid
"Couldn't commit memory for cygwin heap"
error during AMD family 14h builds.
- Add gcc 4.5.2 cross compiler. Version 4.4.4 is still
included. Version 4.5.2 is built with
buildgcc
rev 6195, plus --with-dwarf2 to gcc configure.
- Change go.bat default cross compiler to version 4.5.2.
- Update the sample coreboot to revision 6474.
- Abuild tested with svn://coreboot.org/coreboot/trunk
rev 6474 (Note: to run abuild, you
must copy the xgcc directory from
msys\gcc452 to coreboot\util\crossgcc).
04/30/2011 win-build-env-006.7z
- Add gcc 4.6.0 cross compiler. Built using
svn://coreboot.org/coreboot/trunk/util/crossgcc/buildgcc with these changes:
- binutils-2.21.51.tar.bz2
- gcc-core-4.6.0.tar.bz2
- patches removed
- --disable-libquadmath (to avoid a build
problem)
- --with-dwarf2 (makes debug output
without modification to the makefiles)
- --enable-frame-pointer (work around)
- Change go.bat default cross compiler to
version 4.6.0.
05/05/2011 win-build-env-007.7z
- Add DLL needed to run python, which is needed to build seabios.
05/26/2011 win-build-env-008.7z
- Change gcc version in go.bat from 4.6.0 to 4.5.2 for compatibility with
existing coreboot projects.
02/04/2012 win-build-env-009.7z
- Add gcc 4.62 cross compiler. Built using this
msys and these buildgcc changes
(see included buildgcc):
- --with-dwarf2 (makes debug output
without modification to the makefiles)
- --enable-frame-pointer (restore gcc
4.5.x default to reduce code size)
- Change go.bat default cross compiler to
version 4.6.2.
- Update iasl.exe to latest version.
- Add go.bat IASL definition to avoid build fail with newer coreboot
revisions.
- Make go.bat look for msys in parent and current directories. This
eliminates the need the msys_for_coreboot
variable.
07/14/2013 win-build-env-010.7z
- Add gcc 4.73 cross compiler and change go.bat
to use it.
- Update go.bat to build
.xcompile using the revised format. The
standard coreboot .xcompile is not used due
to a mingw path compatibility problem.
- Update iasl.exe to current version.
- Update git so that SeaBIOS download succeeds.
- Limitations:
- During the build, nvramtool.exe tries to access the cmos of the build
machine. Windows does not allow this, and the build fails. The included
sample coreboot project has been modified to avoid the use of nvramtool.
- The build of cbfstool fails because symbol ERROR is defined by both
windows.h and the lzma code. The sample coreboot project has been modified
to work around this problem.
- The build of default payload SeaBIOS fails due to a mingw related path
problem.
09/08/2013 win-build-env-011.7z
- Add gcc 4.81 cross compiler. Files for building the gcc 4.81 cross
compiler on Windows are here.
- Change go.bat
to use gcc 4.81.
- Update go.bat to build
.xcompile using the revised format. The
standard coreboot .xcompile is not used due
to a mingw path compatibility problem.
- Update iasl.exe to current version.
- Update git so that SeaBIOS download succeeds.
- Limitations:
- During the build, nvramtool.exe tries to access the cmos of the build
machine. Windows does not allow this, and the build fails. The included
sample coreboot project has been modified to avoid the use of nvramtool.
- The build of cbfstool fails because symbol ERROR is defined by both
windows.h and the lzma code. The sample coreboot project has been modified
to work around this problem.
- The build of default payload SeaBIOS fails due to a mingw related path
problem.
12/09/2013 win-build-env-012.7z
- Work around the cbfstool build explained above by modifying the included
msys headers. This eliminates the need to modify the coreboot project.
- Rebuild regex library from source (mingw-libgnurx-2.5.1) to solve the
nvramtool problem described above. Debugging found the problem was due to an
incompatible regex library rather than nvramtool attempting to access CMOS
as previously thought.
- Replace the included coreboot directory with an unmodified snapshot from
12/09/2013 (coreboot-f87c20a).
- Limitations:
- The build of default payload SeaBIOS fails due to a mingw related path
problem.
06/14/2014 win-build-env-013.7z
- Add function mkstemp to
libmingw32.a,
which is now needed by the coreboot build process.
- Update the libmingw32.a build instructions to reflect this addition.
- Add back libregex.dll.a which is needed
when rebuilding libmingw32.a.
- Update go.bat to generate additional
required tool definitions.
- SeaBIOS build problems are resolved.
- Update the included coreboot to latest snapshot.
- Built and boot tested using ASRock E350M1.
08/17/2014 win-build-env-014.7z
- Fix build problem with recent coreboot
releases. Now .xcompile is generated by the coreboot xcompile script instead
of go.bat. This should reduce the need to revise the Windows build
environment as coreboot evolves.
12/12/2014
win-build-env-015.7z
- Msys2 replaces msys. Read about msys2
here.
- Instructions for recreating the build environment from scratch are
included.
- ARM/AARCH64 build tools are included.
- Includes gcc 4.9.2 tool chain with LTO support.
- To build SeaBIOS payload:
Newer releases are here:coreboot build environment for windows