How do I update the uefi_jetson.bin file over OTA?

JetsonLinuxR35.6.0 How do I update the uefi_jetson.bin file over OTA?Agx Orin

OTA to which version? R36.x?
Such replacing partial things are not going to work well. For example, we don’t support to use rel-36 UEFI to boot rel-35 rootfs.

No,I don’t change jetpack version.Only to repalce the uefi_jetson.bin files to the devices by OTA way?

Hi,

You could refer the Software Packages and the Update Mechanism — NVIDIA Jetson Linux Developer Guide 1 documentation and update the bootloader only.

Thanks

what’s the TARGET_BSP and BASE_BSP,I’m now using R35.6.0,don’t want to change Jetpack version,only update uefi_jetson.bin or BOOTAefi to the Agx Orin by OTA.

Hi,

To update uefi_jetson.bin, you could follow the Update and Redundancy — NVIDIA Jetson Linux Developer Guide 1 documentation

In host

cp ${YOU_CUSTOM_uefi_jetson.bin} Linux_for_Tegra/bootloader/uefi_jetson.bin
sudo ./l4t_generate_soc_bup.sh -e t23x_agx_bl_spec t23x
./generate_capsule/l4t_generate_soc_capsule.sh -i bootloader/payloads_t23x/bl_only_payload -o ./TEGRA_BL.Cap t234
scp TEGRA_BL.Cap $user@${device_ip}:~/

In device

cd /sys/firmware/efi/efivars/
printf "\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" > /tmp/var_tmp.bin
sudo dd if=/tmp/var_tmp.bin of=OsIndications-8be4df61-93ca-11d2-aa0d-00e098032b8c bs=12;sync
sudo fwupdtool install-blob /home/${user}/TEGRA_BL.Cap ${<Device ID>}

To update BOOTAA64.efi Your could refer to similar topic in

Thanks

How to get the Device ID?

Please refer to Update and Redundancy — NVIDIA Jetson Linux Developer Guide 1 documentation

Get the Device ID of the System Firmware:

$ fwupdmgr get-devices

System Firmware ID ?not emmc?

what’s means?

Hi,
Please refer to the Update and Redundancy — NVIDIA Jetson Linux Developer Guide 1 documentation section and you could know the detail of command steps .

thanks

1 Like


what’s error?

What is your current directory?

pwd

/home/ares/jetson_orin/Linux_for_Tegra

Do you have python in your environment?

python --version

You could install python in your environment.
For example

sudo apt update
sudo apt install python

python3?