Ota update from 32.3.1 to 32.7.2 failed

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:

  1. 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#####################

Thanks

Hi,
Sorry, I have not understood the word of BASE_BSP. I will try it with the right BASE_BSP.
Thanks

This is a known issue. See the discussions and workaround:

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 used the right BASE_BSP.
And I can untar it manually, and the space is only used 45%.The attachment is the log.
reboot-4.7.2 (354.2 KB)

Thanks

Hi,
how to solve the problem, do someone have any good idea?
Thanks

hello tianyi2,

instead of using ln to resolve it. had you also download the package to include the fixes for scripts? i.e. OTA-Patch.tbz2?

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.

hello tianyi2,

please apply the patch, it address some potential bugs.

Hi,JerryChang
I try it with the patch. It’s OK.
Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.