Skip to content
Jake Garver edited this page Apr 8, 2022 · 14 revisions

Building UEFI for NVIDIA Jetson

UEFI for NVIDIA Jetson can be built using the following instructions.

In these instructions, we'll first create a workspace using edkrepo. Then we'll run the build inside the workspace.

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 edkrepo
cd edkrepo
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

edkrepo uses manifests to build workspaces and manifests are fetched from repositories. To build an NVIDIA workspace, edkrepo must first be configured with NVIDIA's manifest repository.

Configure edkrepo with NVIDIA's manifest repo:

edkrepo manifest-repos add nvidia https://github.com/NVIDIA/edk2-edkrepo-manifest.git rel-34 nvidia

Create workspace

Now, edkrepo can be used to create workspaces for NVIDIA platforms.

For example, to create a workspace for Jetson:

edkrepo clone nvidia-uefi NVIDIA-Jetson rel-34

Build UEFI

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

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