Skip to content
Jake Garver edited this page Mar 25, 2022 · 14 revisions

Building EDK2 for NVIDIA platforms

EDK2 for NVIDIA can be built using the following instructions. In these instructions, we'll create a workspace. We'll clone the source into the workspae and run the build.

Install edkrepo

To create the workspace and clone the source, we use edkrepo. It must be installed before proceeding. It is recommended to use a release distribution.

Releases of edkrepo can be found at: https://github.com/tianocore/edk2-edkrepo/releases

For detailed installation steps, refer to: https://github.com/tianocore/edk2-edkrepo

Briefly, to install edkrepo v2.1.2 (use a newer version, if available):

mkdir edk2repo
cd edk2repo
wget https://github.com/tianocore/edk2-edkrepo/releases/download/edkrepo-v2.1.2/edkrepo-2.1.2.tar.gz
tar xvf edkrepo-2.1.2.tar.gz
sudo ./install.py

Configure edkrepo

edk2repo uses manifests to build workspaces. NVIDIA's edkrepo manifests are located at: ssh://git@gitlab-master.nvidia.com:12051/jake/edk2-edkrepo-manifest.git

Configure edkrepo with NVIDIA's manifest repo:

edkrepo manifest-repos add nvidia ssh://git@gitlab-master.nvidia.com:12051/jake/edk2-edkrepo-manifest.git rel-34 nvidia

Create workspace

To create a workspace:

edkrepo clone nvidia-uefi NVIDIA-Jetson rel-34

Build EDK2 for NVIDIA

To build, change directory into the workspace and follow the instructions in a platform's Build.md. For example, to read the instructions for Jetson:

cd nvidia-uefi
more edk2-nvidia/Platform/NVIDIA/Jetson/Build.md
Clone this wiki locally