How to adjust bootloader version for pinmux modification

We want to adjust the bootloader version for pinmux modification under Jetson AGX Orin with Jetpack 6.2. Referring to DeveloperGuide, I get that the bootloader version is stored in the A_VER and B_VER partitions, located in the QSPI flash.

On my Jetson device, I got the following bios information under DMI.

root@localhost:~# cat /sys/class/dmi/id/bios_*
03/29/2025
0.0
EDK II
202503.0-437d3663-dirty

On the other hand, I get the following partition writing information while running “./flash.sh -c bootloader/generic/cfg/flash_t234_qspi.xml jetson-agx-orin-aibox internal”

[ 467.2428 ] Writing partition B_VER with qspi_bootblob_ver.txt [ 109 bytes ]
[ 467.4773 ] […] 100%
[ 467.4885 ] Writing partition A_VER with qspi_bootblob_ver.txt [ 109 bytes ]
[ 467.5009 ] […] 100%

But the version in qspi_bootblob_ver.txt is incompatible with that under DMI.

lee@lee-VirtualBox:/data/jetson/new/flash-jetson/bootloader$ cat qspi_bootblob_ver.txt
NV4
R36 , REVISION: 4.3
BOARDID=3701 BOARDSKU=0005 FAB=500
20260407162610
0x240403
BYTES:85 CRC32:FFC6BCE7

So what’s the difference between version information in qspi_bootblob_ver.txt and DMI? Which one is in the A_VER partition? And anybody who knows how to update bootloader version for pinmux modification?

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

The bootloader version for the Jetson AGX Orin is stored in two different locations: the AVER and BVER partitions in the QSPI flash, and the qspibootblobver.txt file. The version information in these two locations may not match, which can cause confusion.

The AVER and BVER partitions are used to store the bootloader version information for the A and B boot chains, respectively. The bootloader version information in these partitions is used by the bootloader to determine which version of the bootloader to use.

On the other hand, the qspibootblobver.txt file is used to store the version information of the bootloader blob that is flashed to the QSPI flash. This file is used by the flash.sh script to determine which version of the bootloader to flash.

The version information in the qspibootblobver.txt file may not match the version information in the AVER and BVER partitions. This is because the qspibootblobver.txt file is updated when the bootloader blob is flashed, while the AVER and BVER partitions are updated when the bootloader is updated.

The version information in the DMI (Desktop Management Interface) is also different from the version information in the AVER and BVER partitions. The DMI version information is used to store the version information of the BIOS, which is different from the bootloader version information.

To update the bootloader version for pinmux modification, you need to update the bootloader blob and flash it to the QSPI flash. You can do this by running the flash.sh script with the --update-bootloader option. For example:

sudo ./flash.sh --update-bootloader jetson-agx-orin-devkit internal

This will update the bootloader blob and flash it to the QSPI flash, which will update the bootloader version information in the AVER and BVER partitions.

In summary, the version information in the qspibootblobver.txt file, AVER and BVER partitions, and DMI are different and serve different purposes. To update the bootloader version for pinmux modification, you need to update the bootloader blob and flash it to the QSPI flash using the flash.sh script.

Here is a comparison of the different version information locations:

Location Purpose Updated by
AVER and BVER partitions Store bootloader version information for A and B boot chains Bootloader update
qspibootblobver.txt file Store bootloader blob version information flash.sh script
DMI Store BIOS version information BIOS update

Note that the version information in these locations may not match, and updating one location may not update the others.

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

Hi liyuting,

Are you using the devkit or custom board for AGX Orin?

The one stored in qspi_bootblob_ver.txt will be flashed into A_VER/B_VER partition.

They should be the same. (i.e. 202503.1 is one release of r36.4.3)
image
You can refer to CombosArchive · NVIDIA/edk2-nvidia Wiki · GitHub for details.

Sorry that I’m not clear about your requirement and the use case here.
The version you talked here is for bootloader(i.e. UEFI).
The pinmux/gpio dtsi are stored in MB1-BCT, which is loaded earlier than UEFI.

Thanks for your reply. I’m using the custom board for AGX Orig.

The Jetson Linux version obtained through DMI is indeed the same as the version in the qspi_bootblob_ver.txt file. But how can I get the build time(e.g 20260407162610) in qspi_bootblob_ver.txt stored in A_VER partition?

Meanwhile, what’s the meaning of the 8 digits build number(e.g 437d3663) obtained through DMI , which cannot be found in qspi_bootblob_ver.txt?Could I update the 8 digits build number by modifying qspi_bootblob_ver.txt?

It is the build time of UEFI binary, I don’t think there’s similar information in the qspi_bootblob_ver.txt or A_VER partition.

It is the number from UEFI binary building.
You can refer to Build with docker · NVIDIA/edk2-nvidia Wiki · GitHub to build UEFI.

It is the build time of UEFI binary, I don’t think there’s similar information in the qspi_bootblob_ver.txt or A_VER partition.

20260407162610 is read from the qspi_bootblob_ver.txt file, which is temporarily generated when executing the flash script. Is there a way to read it in linux system?

lee@lee-VirtualBox:/data/jetson/new/flash-jetson/bootloader$ cat qspi_bootblob_ver.txt
NV4
R36 , REVISION: 4.3
BOARDID=3701 BOARDSKU=0005 FAB=500
20260407162610
0x240403
BYTES:85 CRC32:FFC6BCE7

Sorry that I’m not clear about your requirement and the use case here.
The version you talked here is for bootloader(i.e. UEFI).
The pinmux/gpio dtsi are stored in MB1-BCT, which is loaded earlier than UEFI.

Currently, we need to find a method to identify whether the pinmux configuration has been modified in the Linux system. At present, it appears that obtaining the version number through DMI can achieve this, but each time the pinmux is modified, the UEFI firmware needs to be recompiled. The flashing timestamp in the qspi_bootblob_ver.txt file can also be used for identification, but this timestamp cannot be retrieved within the Linux system. Are there any other methods in Linux system to identify whether the pinmux has been modified?

This string cannot be retrieved during runtime.

Have you considered adding the property for pinmux version in device tree?
e.g.

    nvidia,pinmux-info {
        compatible = "nvidia,pinmux-info";
        nvidia,pinmux-version = "p3701_pinmux_20260407_v3";
    };

You can also specify the existing <Linux_for_Tegra>/nv_tegra/user_version for this use case.

In our project, the QSPI firmware and the Linux system in eMMC are flashed separately. The former uses the flash.sh tool under <Linux_for_Tegra>, while the latter uses the USB safe mode.

sudo ./flash.sh --no-systemimg -c bootloader/generic/cfg/flash_t234_qspi.xml jetson-agx-orin internal

Therefore, the methods you mentioned above for modifying the device tree or user_version which should be in Linux system have no coupling relationship with the pinmux modifications in QSPI. Consequently, it’s not possible to determine whether the pinmux has been modified through these two methods.

You can use existing bios_version for your use case and it can be read from sysfs through cat /sys/class/dmi/id/bios_version.
In this case, you have to update UEFI binary along with the pinmux update.