What is correct UEFI source branch for jetpack 6.2.2?

Hi,

I noticed Jetpack 6.2.2 is based on L4T r36.5.0 but could not download the source

simply using below command

$ edk2_docker edkrepo clone nvidia-uefi-r36.5 NVIDIA-Platforms r36.5

which returns

Cloning from: https://github.com/NVIDIA/edk2.git
Error: The specified remote branch does not exist

What is correct branch?

*** Please note that this reply is generated by LLM automatically ***

To download the source for L4T r36.5.0, you need to use the correct branch name. The correct branch name for L4T r36.5.0 is release-r36.5.

You can download the source by using the following command:

git clone -b release-r36.5 https://nvgit.nvidia.com/gitweb/?p=linux-4-tegra.git;a=summary

or

git clone -b release-r36.5 https://github.com/NVIDIA/linux-4-tegra.git

Note that the branch name release-r36.5 corresponds to L4T r36.5.0. Make sure to replace release-r36.5 with the correct branch name for the version you are interested in.

Here’s a comparison of the branch names for different L4T versions:

  • L4T r36.5.0: release-r36.5
  • L4T r36.4.3: release-r36.4.3
  • L4T r36.4.2: release-r36.4.2
  • L4T r36.4.1: release-r36.4.1
  • L4T r36.4.0: release-r36.4

Make sure to use the correct branch name to download the source for the desired L4T version.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

But the https://github.com/NVIDIA/linux-4-tegra.git is not available for download anything.

edk2_docker edkrepo clone nvidia-uefi-r36.5 NVIDIA-Platforms release-r36.5 doesn’t work either.

Hi Kyubot,

Please try the following command instead to download UEFI source for R36.5 release:

$ edk2_docker edkrepo clone nvidia-uefi-r36.5 NVIDIA-Platforms uefi-202504.2

The download was successful and tried

$ ./edk2-nvidia/Platform/NVIDIA/Jetson/build.sh --target RELEASE --init-defconfig edk2-nvidia/Platform/NVIDIA/Jetson/Jetson.defconfig
-bash: ./edk2-nvidia/Platform/NVIDIA/Jetson/build.sh: No such file or directory

however the build.sh is located under

edk2-nvidia/Platform/NVIDIA/Tegra/

also there’s no .defconfig files for Jetson

ls nvidia-uefi-r36.5/edk2-nvidia/Platform/NVIDIA/Tegra/DefConfigs/
t23x_android.defconfig   t23x_general.defconfig      t24x_datacenter.defconfig  t26x_embedded.defconfig
t23x_embedded.defconfig  t23x_general_igx.defconfig  t26x_android.defconfig     t26x_general.defconfig

How to build it for jetson orin nano?

Please try the following build command instead.

$ edk2_docker edk2-nvidia/Platform/NVIDIA/Tegra/build.sh --init-defconfig edk2-nvidia/Platform/NVIDIA/Tegra/DefConfigs/t23x_general.defconfig