Files
system76-edk2/Vlv2TbltDevicePkg
Zailiang Sun 2cb2b6d6fa Vlv2TbltDevicePkg: Fix 32bit BIOS build failure issue
Added conditional choice for Logo.inf in PlatformPkg.fdf, based on the build
ARCH information. And Changed the location of binary object files to align
with previous releases (%WORKSPACE%\silicon).

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: David Wei <david.wei@intel.com>
Cc: Zailiang Sun <zailiang.sun@intel.com>
Cc: Yi Qian <yi.qian@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
2019-03-20 13:59:09 +08:00
..
2015-02-26 06:49:31 +00:00
2015-06-11 02:50:20 +00:00
2015-02-26 06:49:31 +00:00

EDK II firmware for Minnowboard Max/Turbot which is based on Intel Valleyview2 SoC (Byatrail platform)


How to Create a Full Source Tree for Minnowboard Max/Turbot under Windows

Pre-requisites

Download Source Code

  • Create a new directory C:\WORKSPACE as an EDK II work space.

  • 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.

  • 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.

Windows Build Instructions

Pre-requisites Tools

  • Microsoft Visual Studio.

    • Visual Studio 2015 recommended and is used in the examples below. Visual Studio 2013 is also supported.
  • WINDDK

    • Download Microsoft Windows Driver Development Kit 3790.1830 and install it to C:\WINDDK\3790.1830.
  • Python 2.7

    • Available from http://www.python.org. Install Python to C:\Python27, and add the path "C:\Python27" to system environment variable PYTHON_HOME.
  • Install iASL

    • Install the iasl compiler by downloading iasl-win-20160527.zip from the following location: "https://acpica.org/downloads/" and place the unzipped content ("iasl.exe") into the directory "C:\ASL" on your local hard drive (create the folder "C:\ASL" if it does not exist).
  • Install the NASM* assembly language compiler

  • Install Openssl

    • Download a pre-compiled Openssl Windows binary from https://wiki.openssl.org/index.php/Binaries. Search for a Windows binary in the list of "Third Party OpenSSL Related Binary Distributions". Go to the third party site to download the latest version. Download and extract to C:\Openssl, add the path of openssl.exe ("C:\openssl") to system environment variable OPENSSL_PATH.

Build Commands

  • cd C:\WORKSPACE\edk2\Vlv2TbltDevicePkg

  • To build 64-bit release version image: Build_IFWI.bat MNW2 Release

  • To build 64-bit debug version image: Build_IFWI.bat MNW2 Debug

  • To build 32-bit release version image: Build_IFWI.bat /IA32 MNW2 Release

  • To build 32-bit debug version image: Build_IFWI.bat /IA32 MNW2 Debug

Output

  • After the build process successfully completes, the 8MB firmware binary image will be located in the following location on your local hard drive: "C:\WORKSPACE\edk2\Vlv2TbltDevicePkg\Stitch"