The general Procedure of Setting up edkii development environment: a common process for building a edkii development environment [2.1]

Source: Internet
Author: User
Tags tortoisesvn

the general Procedure of Setting up edkii development environment: A common process for building a edkii development environment [ 2.1]

2015-0 7 Zhang Junhao , Haidian District, Beijing

2. Setting up Edkii development environment( Build of edkii development environment)

->2.1 the general Procedure of Setting up edkii development environment ( a common process for building a edkii development environment c8>)

->2.1.1 get the Edkii source edkii Source (download).

->2.1.2 Install Some third-party tools to build Edkii. download the corresponding development tool chain.

->2.2 Setting up a EDK II build environment on Windows and Linux ( build windows and Linux development environment )

     ->2.3 tools : installing and using the required tools  for downloading and building  EDKII

->2.3.1 Download and Install TortoiseSVN to obtain the EDK II (Download / installation / Use TortoiseSVN tools)

 Edkii(EFI Developer Kit II) is to followUEFIStandards andPI(Platform Initialization) standard expansion Platform firmware development environment. UEFIthe standard is to completely replaceBIOS, so it fully supports all types ofCPU, and let all hardware vendors receive this change. Developers from different vendors use different development environments to develop their own products. To make these different developers happy to receiveEdkiito develop their own platform.UEFIfirmware or application,EdkiiThe development tools are available for each platform. Edkiisupport for development under a variety of operating systems, such asWindows,Linux,UNIX,Darwinand support cross-platform compilation, such asX86PlatformWindowsIn the development environment, you can compile theARMon the platformUEFIapplication. [refer to theUEFIprinciples and Programming "chapter IIUEFIDevelopment Environment Construction]

Edkii source code, uboot Span style= "font-family: Song body" > source) development environment has a general, similar, the same framework and process, all have its basic development environment elements: cpu processor, source code, development tool chain. The reason and essence of the construction project development environment is general and general framework process: we are through the development of tool chain editing, compiling the source of the project to complete a type of processor-driven development.

because Edkii Project has supported most types of cpu So we have to select the hardware processor platform, only need to consider the platform-related during the compilation phase of the source code development, That is, by configuring the source code to use the corresponding compiler to compile the source of the project into a hardware platform corresponding processor architecture of the machine instructions. So edkii The main tasks of the development environment are: get the edkii source edkii (edkii source acquisition, download ) , get and install some third-party tools to  Build edkii ( )

2.1.1 Get the edkii source edkii Source (download)

Tiancore official online edkii source path :(edkii:http://www.tianocore.org/edk2/ )

Source repositories:

git{

GitHub (https://github.com/tianocore/edk2),

BitBucket (https://bitbucket.org/tianocore/edk2), SourceForge (https://sourceforge.net/p/tianocore/edk2), More Info ()

},

SVN { sourceforge (https://svn.code.sf.net/p/edk2/code/trunk/edk2/)}

Usually through the git or Subversion Project source version management tool to obtain the corresponding server edkii source code.

2.1.2 Get and Install some third-party tools to build Edkii. download the corresponding development tool chain

We need the corresponding development tool chain to the edkii Source code to edit, compile, link to the corresponding hardware platform machine instructions.

according to Tianocore official website http://www.tianocore.org -Getting Started for DevelopersGetting Started with EDK ii->toolsFollow these instructions->install Some external tools->third party tools: requires that we need third parties tools include:C Preprocessor,C compiler, static linker, dynamic Connector, assembler, assembler Connector,ACPI assembler. (3rdParty Tools must include:a C pre-processor, C compiler, static linker, dynamic linker, and an assembler and assembly Linker. for creating ACPI tables required by platforms, the ACPI assembler is also required. )

WindowsDevelopment tools in the environment are integrated development environmentsVisual Studiocompiler to compile the assembly andCand assembly source files andMicrosoft ACPI Source Language Assemblerto compile the Advanced Configuration and Power Interface (ACPI,Advanced Configuration and Power Interface) source files, which are generallyDOSthe command-line mode compiles the development (These instructions'll is written as a series of commands executed from a command terminal.).

the development toolchain in the Linux environment is the Gcc compiler,make,nasm (80x86 Assembler Series),build-essential (provides a list of compiler-required packages, installs the package compilationC + +The required packages will also be installed),Uuid-dev (Universally unique ID library-headers and static libraries,Universal unique Identity Library--headers and static libraries),IASL (compile the Advanced Configuration and Power Interface (ACPI,Advanced Configuration and Power Interface) source file).

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

The general Procedure of Setting up edkii development environment: a common process for building a edkii development environment [2.1]

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.