]>
Commit | Line | Data |
---|---|---|
46002a4a ZS |
1 | # **EDK II firmware for Minnowboard Max/Turbot which is based on Intel Valleyview2 SoC (Byatrail platform)**\r |
2 | \r | |
3 | ----------\r | |
4 | \r | |
5 | \r | |
6 | ## **How to Create a Full Source Tree for Minnowboard Max/Turbot under Windows**\r | |
7 | ### Pre-requisites\r | |
8 | \r | |
9 | * GIT client: Available from https://git-scm.com/downloads\r | |
10 | \r | |
11 | ### Download Source Code\r | |
12 | * Create a new directory C:\WORKSPACE as an EDK II work space.\r | |
13 | \r | |
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.\r | |
15 | \r | |
16 | - cd C:\WORKSPACE\r | |
17 | - git clone https://github.com/tianocore/edk2.git\r | |
18 | - git clone https://github.com/tianocore/edk2-non-osi.git\r | |
19 | \r | |
20 | Note: The EDK II [Multiple Workspace](https://github.com/tianocore/tianocore.github.io/wiki/Multiple_Workspace)\r | |
21 | feature is used by this project.\r | |
22 | \r | |
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.\r | |
24 | \r | |
25 | ## **Windows Build Instructions**\r | |
26 | \r | |
27 | ### Pre-requisites Tools\r | |
28 | \r | |
29 | * Microsoft Visual Studio.\r | |
30 | - Visual Studio 2015 recommended and is used in the examples below. Visual Studio 2013 is also supported.\r | |
31 | \r | |
32 | * WINDDK\r | |
33 | - Download Microsoft Windows Driver Development Kit 3790.1830 and install it to C:\WINDDK\3790.1830.\r | |
34 | \r | |
35 | * Python 2.7\r | |
36 | - Available from http://www.python.org. Install Python to C:\Python27, and add the path "C:\Python27" to system environment variable **PYTHON_HOME**.\r | |
37 | \r | |
38 | * Install iASL\r | |
39 | - Install the iasl compiler by downloading iasl-win-20160527.zip from the following\r | |
40 | location: "https://acpica.org/downloads/" and place the unzipped\r | |
41 | content ("iasl.exe") into the directory "C:\ASL" on your local hard drive\r | |
42 | (create the folder "C:\ASL" if it does not exist).\r | |
43 | \r | |
44 | * Install the NASM* assembly language compiler\r | |
45 | - Download NASM* 2.12.02 binaries from \r | |
46 | http://www.nasm.us/pub/nasm/releasebuilds/2.12.02/win64/nasm-2.12.02-win64.zip and place the\r | |
47 | unzipped content ("nasm.exe") into the directory "C:\NASM" on your local hard drive\r | |
48 | (create the folder "C:\NASM" if it does not exist). Add the path "C:\NASM\" to system environment variable **NASM_PREFIX**.\r | |
49 | \r | |
50 | * Install Openssl\r | |
51 | - Download a pre-compiled Openssl Windows binary from \r | |
52 | https://wiki.openssl.org/index.php/Binaries. Search for a Windows binary in the list \r | |
53 | of "Third Party OpenSSL Related Binary Distributions". Go to the third party site to \r | |
54 | download the latest version. Download and extract to C:\Openssl, add the path of openssl.exe \r | |
55 | ("C:\openssl") to system environment variable **OPENSSL_PATH**.\r | |
56 | \r | |
57 | \r | |
58 | \r | |
59 | ### Build Commands\r | |
60 | * cd C:\WORKSPACE\edk2\Vlv2TbltDevicePkg\r | |
61 | \r | |
62 | * To build 64-bit release version image: Build_IFWI.bat MNW2 Release\r | |
63 | \r | |
64 | * To build 64-bit debug version image: Build_IFWI.bat MNW2 Debug\r | |
65 | \r | |
66 | * To build 32-bit release version image: Build_IFWI.bat /IA32 MNW2 Release\r | |
67 | \r | |
68 | * To build 32-bit debug version image: Build_IFWI.bat /IA32 MNW2 Debug\r | |
69 | \r | |
70 | ### Output\r | |
71 | * After the build process successfully completes, the 8MB firmware binary image will\r | |
72 | be located in the following location on your local hard drive:\r | |
73 | "C:\WORKSPACE\edk2\Vlv2TbltDevicePkg\Stitch\"\r | |
74 | \r | |
75 | \r |