How to build UDK2015?

Source: Internet
Author: User

UDK2015 is a stable release of portions of the Edkii project.

This document records the process of compiling UDK2015 with VS2012 under Win7.

STEP1, download source Code
SVN Address:

https://svn.code.sf.net/p/edk2/code/branches/UDK2015

STEP2, run script edksetup.bat Windows command line input: Edksetup--nt32
[Note: If you compile IA32 image,driver or application, you must have the--nt32 parameter, otherwise there will be some inexplicable build errors; target_arch=x64, without--nt32 parameters, can be compiled normally]

STEP3, modify Conf/target.txt

Modify Tool_chain_tag = vs2012x86 Reference: Windows Systems Toolchain_matrix

SETP4, Build IA32 BIOS Image
Windows command-line input: Build

STEP5, Run BIOS Image with Windows NT emulation:
Command line input: Build Run
Press F2 to enter the Setup interface

Build X64 UEFI Application

Command line input: build-a x64-p DUETPKG/DUETPKGX64.DSC

Compile your own written application:
[note] Each time you open a new CMD window, run Edksetup.bat--nt32 and then:
Method 1:build-a X64-m Mdemodulepkg\application\helloworld\helloworld.inf
Method 2: Switch to the mdemodulepkg\application\helloworld\ directory and execute build-a X64
Method 3: Add Helloworld.inf to DUETPKGX64.DSC, execute build-a X64

Copy the generated Hellowrodl.efi file to a USB flash drive or HDD with a uefi shell system and run the Hellowrold.efi.

This article is less content, contact UEFI time is not long, the details are not clear, only describe the process, the reasons are not described, further research can refer to "EDK II Build Specification".

How to build UDK2015?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.