]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/Readme.md
NetworkPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2TbltDevicePkg / Readme.md
1 # **EDK II firmware for Minnowboard Max/Turbot which is based on Intel Valleyview2 SoC (Byatrail platform)**
2
3 ----------
4
5
6 ## **How to Create a Full Source Tree for Minnowboard Max/Turbot under Windows**
7 ### Pre-requisites
8
9 * GIT client: Available from https://git-scm.com/downloads
10
11 ### Download Source Code
12 * Create a new directory C:\WORKSPACE as an EDK II work space.
13
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.
15
16 - cd C:\WORKSPACE
17 - git clone https://github.com/tianocore/edk2.git
18 - git clone https://github.com/tianocore/edk2-non-osi.git
19
20 Note: The EDK II [Multiple Workspace](https://github.com/tianocore/tianocore.github.io/wiki/Multiple_Workspace)
21 feature is used by this project.
22
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.
24
25 ## **Windows Build Instructions**
26
27 ### Pre-requisites Tools
28
29 * Microsoft Visual Studio.
30 - Visual Studio 2015 recommended and is used in the examples below. Visual Studio 2013 is also supported.
31
32 * WINDDK
33 - Download Microsoft Windows Driver Development Kit 3790.1830 and install it to C:\WINDDK\3790.1830.
34
35 * Python 2.7
36 - Available from http://www.python.org. Install Python to C:\Python27, and add the path "C:\Python27" to system environment variable **PYTHON_HOME**.
37
38 * Install iASL
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).
43
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**.
49
50 * Install Openssl
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**.
56
57
58
59 ### Build Commands
60 * cd C:\WORKSPACE\edk2\Vlv2TbltDevicePkg
61
62 * To build 64-bit release version image: Build_IFWI.bat MNW2 Release
63
64 * To build 64-bit debug version image: Build_IFWI.bat MNW2 Debug
65
66 * To build 32-bit release version image: Build_IFWI.bat /IA32 MNW2 Release
67
68 * To build 32-bit debug version image: Build_IFWI.bat /IA32 MNW2 Debug
69
70 ### Output
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\"
74
75