Now I am trying to upgrading Jetpack 5.1.3 to 6.0 GA on Jetson AGX Orin DevKit 32/64GB using OTA Update. However, I faced an error on host side that I will mention as below but firstly I want to show my way in upgrading.
export BASE_BSP=/home/username/R35.5.0/Linux_for_Tegra
mkdir R36.3.0 && cd R36.3.0
wget https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v3.0/release/ota_tools_R36.3.0_aarch64.tbz2
wget https://developer.nvidia.com/embedded/l4t/r36_release_v3.0/release/jetson_linux_r36.3.0_aarch64.tbz2
wget https://developer.nvidia.com/embedded/l4t/r36_release_v3.0/release/tegra_linux_sample-root-filesystem_r36.3.0_aarch64.tbz2
tar xpf jetson_linux_r36.3.0_aarch64.tbz2
cd Linux_for_Tegra/rootfs/
sudo tar xpf ../../tegra_Linux_sample-root-filesystem_r36.3.0_aarch64.tbz2
cd ..
sudo ./apply_binaries.sh
export TARGET_BSP=/home/username/R36.3.0/Linux_for_Tegra
cd ${TARGET_BSP}/../
sudo tar xpf ota_tools_R36.3.0_aarch64.tbz2
cd ${TARGET_BSP}
sudo ./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh jetson-agx-orin-devkit R35-5
And then, I received an error message as below:
Error: "BASE_BSP" is not set
Does anyone know somehow to solve this issue? Thanks all in advance.
Thanks KevinFFF,
I have done to successfully generate ota_payload_package.tar.gz on host machine as your suggestion. However, in all your documents there is no mention in including BASE_BSP variable in the command-line. Please update this in the documents.
In other hand, I want to ask you a question: I upgraded in option of full system and after upgrading successfully, I was required to create a new account and all my data was be cleared. I want to know whether have another option (update the bootloader only or rootfs only) by which I can keep in storage all data?
Are you referring to the Image_based_OTA_Examples.txt from JP6.0GA release?
Let me paste few lines from this txt:
- To perform an OTA update from R35.5.0 to the latest R36 version on jetson-agx-orin-devkit, complete the following steps:
a. Download the latest R36 BSP, sample rootfs, and OTA tools package, and then extract them.
b. Generate the OTA payload package from R35.5.0 to R36.3.0:
$ cd Linux_for_Tegra
$ sudo BASE_BSP=<R35.5.0 BSP>/Linux_for_Tegra ./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh \
jetson-agx-orin-devkit R35-5
You can put the path in ota_backup_files_list.txt for the data you want to keep.