I do ota update step as following.
HOST:
1.sudo ./apply_binaries.sh
2.sudo ./tools/ota_tools/version_upgrade/build_base_recovery_image.sh jetson-agx-xavier-devkit R32-3 /home/zhou/sdb7/xavier-3.7.2/Linux_for_Tegra/ /home/zhou/sdb7/xavier-3.7.2/Linux_for_Tegra/rootfs /home/zhou/sdb7/xavier-3.7.2/Linux_for_Tegra
3.sudo ./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh jetson-agx-xavier-devkit R32-3
DEVICE:
If the root device is not set, add it into the APPEND line, for example:
root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4.
2.upload ota_payload_package.tar.gz and ota_tools_R32.7.2_aarch64.tbz2 to device.
3.sudo mkdir /ota
4.sudo mv ota_payload_package.tar.gz /ota
5.sudo tar xvf ota_tools_R32.7.2_aarch64.tbz2
6.cd Linux_for_Tegra/tools/ota_tools/version_upgrade
7 . sudo ./nv_ota_start.sh /dev/mmcblk0 /ota/ota_payload_package.tar.gz
When execute this commond, there is a error “sh: 1: /opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.sh: not found”
8.sudo ln -s /ota_work /opt/nvidia/l4t-bootloader-config
This command is to solve problem of step 7.
9.Retry sudo ./nv_ota_start.sh /dev/mmcblk0 /ota/ota_payload_package.tar.gz.
Then requested the reboot of device.
when reboot device, error is encounted that is as following and the attached file is the full log. ota_process.txt (265.9 KB)
###############error#####################
tar: Exiting with failure status due to previous errors
Failed to run “tar xzvf /mnt/ota_work/backup_files.tar.gz”
Failed to run “ota_restore_customer_files /mnt/ota_work /tmp/mnt”
Failed to "restore_specified_files /mnt/ota_work /tmp/mnt
###############error#####################
Hi,
My problem is not error “sh: 1: /opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.sh: not found”, I have solved it.
My problem is as following
###############error#####################
tar: Exiting with failure status due to previous errors
Failed to run “tar xzvf /mnt/ota_work/backup_files.tar.gz”
Failed to run “ota_restore_customer_files /mnt/ota_work /tmp/mnt”
Failed to "restore_specified_files /mnt/ota_work /tmp/mnt
###############error#####################
Thanks
The error says tar file wasn’t extracted properly. Maybe the tarball itself wasn’t created properly (can you manually untar it?) or you are running out of disk space.
Hi,
I have solved the problem.
The step is as following.
8.sudo ./nv_ota_start.sh /dev/mmcblk0 /ota/ota_payload_package.tar.gz
9.sudo rm /opt/nvidia/l4t-bootloader-config -rf
Then, reboot.
I have not applied the patch.