Hi Wayne,
I’m sorry for wasting your time.
This is our step below:
・UEFI sources and compilation
we installed edk2-nvidia and got the source of nvidia-uefi on the ubuntu18.04LTS PC.
sudo apt-get install git python3 python3-setuptools python3-pip
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 --user ${USER}
cd …
sudo chown -R ${USER}. ~/.edkrepo
edkrepo manifest-repos add nvidia https://github.com/NVIDIA/edk2-edkrepo-manifest.git main nvidia
edkrepo clone nvidia-uefi NVIDIA-Jetson main
cd nvidia-uefi
more edk2-nvidia/Platform/NVIDIA/Jetson/Build.md
Follow instructions in Build.md
-
Install all required packages:
sudo apt-get update
sudo apt-get install build-essential uuid-dev git gcc python3 \
virtualenv gcc-aarch64-linux-gnu \
device-tree-compiler
-
Install mono following the edk2-pytool note on NuGet on Linux.
sudo apt install gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo “deb https://download.mono-project.com/repo/ubuntu stable-bionic main” | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt upgrade (if mono is already installed)
- or -
sudo apt install mono-devel
・Customized Logo
cd nvidia-uefi
we set the bmp file we would like to edit under edk2-nvidia/Silicon/NVIDIA/Assets
Editing the following file:
edk2-nvidia/Platform/NVIDIA/NVIDIA.fvmain.fdf.inc
Logo Files
FILE FREEFORM = gNVIDIAPlatformLogoGuid {
SECTION RAW = Silicon/NVIDIA/Assets/640-480.bmp
SECTION RAW = Silicon/NVIDIA/Assets/1280-720.bmp
SECTION RAW = Silicon/NVIDIA/Assets/1920-1080.bmp
}
Running build.sh:
./edk2-nvidia/Platform/NVIDIA/Jetson/build.sh
We confirmed the two files under images:
uefi_Jetson_DEBUG.bin
uefi_Jetson_RELEASE.bin
We renamed uefi_Jetson_RELEASE.bin to uefi_Jetson.bin under /nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader
Finally, flashed to Xavier NX.
Could you tell me the wrong step if the steps are not good?