-
Notifications
You must be signed in to change notification settings - Fork 37
Build
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.
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
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 main nvidia
Now, edkrepo can be used to create workspaces for NVIDIA platforms.
For example, to create a workspace for Jetson Linux 34.x:
edkrepo clone nvidia-uefi NVIDIA-Jetson rel-34
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