1 # **EDK II firmware for Minnowboard Max/Turbot which is based on Intel Valleyview2 SoC (Byatrail platform)**
6 ## **How to Create a Full Source Tree for Minnowboard Max/Turbot under Windows**
9 * GIT client: Available from https://git-scm.com/downloads
11 ### Download Source Code
12 * Create a new directory C:\WORKSPACE as an EDK II work space.
14 * GIT clone operations required to pull the EDK II source tree and the edk2-non-osi repository. Run below command in git bash or windows command line.
17 - git clone https://github.com/tianocore/edk2.git
18 - git clone https://github.com/tianocore/edk2-non-osi.git
20 Note: The EDK II [Multiple Workspace](https://github.com/tianocore/tianocore.github.io/wiki/Multiple_Workspace)
21 feature is used by this project.
23 * Follow the instructions found in the file "OpenSSL-HOWTO.txt" in your work space (e.g. "C:\WORKSPACE\edk2\CryptoPkg\Library\OpensslLib\OpenSSL-HOWTO.txt") to install the Openssl source code.
25 ## **Windows Build Instructions**
27 ### Pre-requisites Tools
29 * Microsoft Visual Studio.
30 - Visual Studio 2015 recommended and is used in the examples below. Visual Studio 2013 is also supported.
33 - Download Microsoft Windows Driver Development Kit 3790.1830 and install it to C:\WINDDK\3790.1830.
36 - Available from http://www.python.org. Install Python to C:\Python27, and add the path "C:\Python27" to system environment variable **PYTHON_HOME**.
39 - Install the iasl compiler by downloading iasl-win-20160527.zip from the following
40 location: "https://acpica.org/downloads/" and place the unzipped
41 content ("iasl.exe") into the directory "C:\ASL" on your local hard drive
42 (create the folder "C:\ASL" if it does not exist).
44 * Install the NASM* assembly language compiler
45 - Download NASM* 2.12.02 binaries from
46 http://www.nasm.us/pub/nasm/releasebuilds/2.12.02/win64/nasm-2.12.02-win64.zip and place the
47 unzipped content ("nasm.exe") into the directory "C:\NASM" on your local hard drive
48 (create the folder "C:\NASM" if it does not exist). Add the path "C:\NASM\" to system environment variable **NASM_PREFIX**.
51 - Download a pre-compiled Openssl Windows binary from
52 https://wiki.openssl.org/index.php/Binaries. Search for a Windows binary in the list
53 of "Third Party OpenSSL Related Binary Distributions". Go to the third party site to
54 download the latest version. Download and extract to C:\Openssl, add the path of openssl.exe
55 ("C:\openssl") to system environment variable **OPENSSL_PATH**.
60 * cd C:\WORKSPACE\edk2\Vlv2TbltDevicePkg
62 * To build 64-bit release version image: Build_IFWI.bat MNW2 Release
64 * To build 64-bit debug version image: Build_IFWI.bat MNW2 Debug
66 * To build 32-bit release version image: Build_IFWI.bat /IA32 MNW2 Release
68 * To build 32-bit debug version image: Build_IFWI.bat /IA32 MNW2 Debug
71 * After the build process successfully completes, the 8MB firmware binary image will
72 be located in the following location on your local hard drive:
73 "C:\WORKSPACE\edk2\Vlv2TbltDevicePkg\Stitch\"