Ubuntu build EDK2

https://wiki.ubuntu.com/UEFI/EDK2

http://blog.csdn.net/huangkangying/article/details/8718892

https://github.com/tianocore/tianocore.github.io/wiki/Common-instructions

https://github.com/tianocore/tianocore.github.io/wiki/Edk2-buildtools

https://github.com/tianocore/tianocore.github.io/wiki/Getting-Started-with-EDK-II

http://www.tianocore.org/

For the purposes of this set of instructions, we will be using the following paths.

Edk2 source tree: $HOME/src/edk2
Native GCC 4.x compiler installation: /usr/bin/gcc
Intel ASL Compiler installation: /usr/bin/iasl

Install required software from apt

Several Ubuntu packages will be needed to set up the build environment for EDK II. The following command will install all required packages:

bash$ sudo apt-get install build-essential uuid-dev iasl git gcc-5 nasm
build-essential - Informational list of build-essential packages
uuid-dev -  Universally Unique ID library (headers and static libraries)
iasl - Intel ASL compiler/decompiler (also provided by acpica-tools)
git - support for git revision control system
gcc-5 - GNU C compiler (v5.4.0 as of Ubuntu 16.04 LTS)
nasm - General-purpose x86 assembler

Continue with common instructions

The remaining instructions are common for most UNIX-like systems.

Compile build tools

bash$ cd ~/src/edk2
bash$ make -C BaseTools
bash$ . edksetup.sh
时间: 2024-10-03 11:08:50

Ubuntu build EDK2的相关文章

NVIDIA Jetson TK1学习与开发(六):如何安装CUDA

本文介绍如何安装CUDA,以CUDA6.0为例介绍. 1.Installing the CUDA Toolkit onto your device for native CUDA development Download the .deb file for the CUDA Toolkit for L4T either using a web browser on the device, or download on your PC then copy the file to your devi

QT5.6.0无法切换fcitx中文输入法问题记录

前言:参考了网上一堆的文章,还是出现了一堆的问题,一句话能用apt-get install安装的千万别自己下源码编译,没有新版本就GOOGLE 关键字+PPA找到新版本源,用add-apt-repository命令添加,然后update下,再apt-get install试试有没有,如果要学习另当别论. 一 原因分析: 根据网上和自己的编译经验分析觉得QT5.6之所以无法切换fcitx的输入法是因为qt5的库文件和插件都没有加入fcitx输入法管理工具的相关支持,可能能用ibus,因为我在pla

varnish 4.0 官方文档翻译-安装varnish

Varnish Installation varnish的安装 本节包含了varnish安装的准备工作,一步一步的安装过程,怎样获取帮助,在哪里寻求帮助,已经怎样报告bug.也包含了帮助你在某些特殊的系统上安装varnish的注意事项. Prerequisites Installing Varnish Source or packages? FreeBSD Red Hat / CentOS Debian/Ubuntu Compiling Varnish from source Build dep

ubuntu下jboss-seam-2.2.2.Final/examples/build.xml:754: warning: 'includeantruntime' was not set

[javac] /home/huihui/app/jboss-seam-2.2.2.Final/examples/build.xml:754: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds 在jboss-seam-2.2.2.Final/examples/build.xml第754行加上includeantrun

Ubuntu下build wxPython报错

Ubuntu下build wxPython报错configure: error: GStreamer not available 百度到如下页面http://wxpython-users.1045709.n5.nabble.com/Linux-configure-fails-on-GStreamer-td3271417.html 执行如下命令后正常 sudo apt install  python-gst0.10-dev 结果虽然用"./configure && make &am

在CentOS 7和Ubuntu 14.03上安装Build Essentials

linux操作系统上面开发程序, 光有了gcc 是不行的 它还需要一个 build-essential软件包 作用是提供编译程序必须软件包的列表信息 也就是说 编译程序有了这个软件包 它才知道 头文件在哪 才知道库函数在哪 还会下载依赖的软件包 最后才组成一个开发环境 当然 build-essential包 安装时 需要的依赖包 有些你用不上 在Ubuntu上安装build essentials apt-get install -y build-essential 上面的命令会安装一下包: 下面

ubuntu 18.04 64bit build tensorflow report error:C++ compilation of rule '//tensorflow/core/kernels:broadcast_to_op' failed (Exit 4)

Ans: You are likely running out of memory. Try reducing number of parallel builds by passing '--local_resources 2048,.5,1.0', which would instruct bazel to spawn no more than one compiler process at the time. Reference material: Building from source,

Build a DNS server in Ubuntu 14.04

I want to test a device DNS feature, so I build a DNS server in my Ubuntu PC. In this example, I want to my device to send the report to report.com which is a specail PC, and the PC IP address is 192.168.1.15 Note that, the configuration needs root.

ubuntu下eclipse遇到The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

JSP页面顶端出现“红色”的报错信息:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path.原来Javaweb工程类中没有添加Tomcat运行时相关类导致.下面是具体的解决方法:1.右击web工程->属性或Build Path->Java Build Path->Libraries-> Add Libray...->Server Runtim