#############################################################################
# #
# UEFI Compiler environment setup step by step (tool chain UDK2017 + Microsoft VS2015 Free) #
# #
#############################################################################
1. Download Visual Studio 2015 Community Edition (FREE) and Installed.
2. Download UDK2017 Tool kit (Choose one) and unzip to your WORKSPACE
SVN export http://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2017
3. Download edk2-BaseTools-win32 and unzip to your
WORKSPACE\UDK2017\BaseTools\Bin\Win32
SVN export https://svn.code.sf.net/p/edk2-toolbinaries/code/trunk/Win32
4. Download Nasm tools for compiler. Excute the file and copy nasm.exe into your
WORKSPACE\UDK2017\BaseTools\Bin\Win32
5. Download VC compiler tools and override to your
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
6. Setup your EDK2 compiler
A) Run Developer Command Propmt for VS2015
B) Change path to your WORKSPACE (ex D:\UDK2017)
C) Run Edk2setup
D) Change compiler environment D:\UEFI\UDK2017\Conf\target.txt
ACTIVE_PLATFORM = MdePkg/MdePkg.dsc
TARGET = RELEASE
TARGET_ARCH = X64
TOOL_CHAIN_TAG = VS2015x86
7. Run build in VS command line at your WORKSPACE path.
Note. 2017.05.05 First Create the note.
訂閱:
張貼留言 (Atom)
UEFI 基本架構
Introduction UEFI UEFI是英文Extensible Firmware Interfaces的縮寫, 由Intel提出的. 以下有幾個重要的名稱跟UEFI架構息息相關 (Key Concepts) : UEFI System Table Dat...
-
INTEL SMBUS Protocol 在Bar(0x10)MMIO 或 Bar(0x20)IO的位置都可以 1.Offset:00h下FFh //reset 2.Offset:04h下smbus address (read bit0:1 , Ex : re...
-
Introduction UEFI UEFI是英文Extensible Firmware Interfaces的縮寫, 由Intel提出的. 以下有幾個重要的名稱跟UEFI架構息息相關 (Key Concepts) : UEFI System Table Dat...
-
############################################################################# # ...
沒有留言:
張貼留言