Execute ota update from 32.3.1 to 32.6.1, ./nv_ota_start.sh has faild log, is it normal?

Hi,
I execute ./nv_ota_start.sh,and the following is the log. Is the bold char log normal?
sudo ./nv_ota_start.sh /dev/mmcblk0 /ota/ota_payload_package.tar.gz
Command: ./nv_ota_start.sh /dev/mmcblk0 /ota/ota_payload_package.tar.gz
init_ota_log /ota_log
Creating log dir at /ota_log
Create log file at /ota_log/ota_20220808-101539.log
OTA_LOG_FILE=/ota_log/ota_20220808-101539.log
Extract /ota/ota_payload_package.tar.gz
update_nv_boot_control_in_rootfs /ota_work
2888-400-0004–1-2-jetson-agx-xavier-devkit-
check_prerequisites
get_chip_id chip_id
nv_ota_update_without_layout_change.sh /ota_work/ota_package.tar.gz
Command: nv_ota_update_without_layout_change.sh /ota_work/ota_package.tar.gz
decompress_ota_package /ota_work/ota_package.tar.gz /ota_work
decompress_ota_package: start at 2022εΉ΄ 08月 08ζ—₯ ζ˜ŸζœŸδΈ€ 10:15:52 CST
Sha1 checksum for /ota_work/ota_package.tar (60247e61cd9e6544b987c8a8125e5af35aad4fd6) matches
decompress_ota_package: end at 2022εΉ΄ 08月 08ζ—₯ ζ˜ŸζœŸδΈ€ 10:16:36 CST
check_target_board /ota_work TARGET_BOARD
get_chip_id CHIP_ID
update_utilities_for_BUP_update /ota_work
enable_a_b_redundancy
Nvidia A/B-Redundancy Update tool Version 2.1
enabling A/B redundancy
A/B Redundancy has been enabled.
get_rootfs_a_b_enabled ROOTFS_AB_ENABLED UNIFIED_AB_ENABLED
ROOTFS_AB_ENABLED=0
UNIFIED_AB_ENABLED=0
check_bsp_version /ota_work BASE_VERSION
get_update_control /ota_work UPDATE_BOOTLOADER UPDATE_ROOTFS
UPDATE_BOOTLOADER=1, UPDATE_ROOTFS=1
update_bootloader /ota_work 0 0x19
get_update_slot bootloader 0 update_slot
update_slot=B
update_bootloader_with_UE /ota_work 0x19
Nvidia A/B-Redundancy Update tool Version 2.1
verifying update
Verify bootloader update begins.
The rotate count has been restored.
The current slot 0 is marked as boot successful
SM: S1
The priority of current slot 0 has been restored.
Verify rootfs update begins.
RootFS A/B is not enabled, verification finishes.
Nvidia A/B-Redundancy Update tool Version 2.1
Got payload file: /ota_work/bl_update_payload
current slot 0
SM: S11
Set slot 1 as unbootable and start updating.
Start running: /usr/sbin/nv_bootloader_payload_updater --no-dependent-partition /ota_work/bl_update_payload
Got update payload: /ota_work/bl_update_payload
Tegra User Block Device: /dev/disk/by-partlabel
Tegra Boot Block Device: /dev/mmcblk0boot0
HEADER: MAGIC NVIDIA__BLOB__V2
HEX_VALUE 16909857
BLOB_SIZE 54102224
HEADER_SIZE 48
NUMBER_OF_ELEMENTS 37
HEADER_TYPE 0
UNCOMP_SIZE 54102224
MB1_RATCHET_LV 0
MTS_RATCHET_LV 0
ROLLBACK_FUSE_LV 0
Device TN Spec: 2888-400-0004-L.0-1-2-jetson-xavier-mmcblk0p1
Device Compatible Spec: 2888-400-0004–1-2-jetson-agx-xavier-devkit-
Device TN Spec: 2888-400-0004-L.0-1-2-jetson-xavier-mmcblk0p1
Device Compatible Spec: 2888-400-0004–1-2-jetson-agx-xavier-devkit-
Device is fused board.
ENTRY_TABLE:
PART POS LEN VER TNSPEC TYPE UPDATABLE
spe-fw 4488 94960 12897 0 1
mb2 99448 181232 12897 0 1
cpu-bootloader 280680 469840 12897 1 1
secure-os 750520 410560 12897 1 1
bpmp-fw 1161080 856352 12897 1 1
eks 2017432 5136 12897 1 1
adsp-fw 2022568 81312 12897 1 1
rce-fw 2103880 272752 12897 1 1
mts-preboot 2376632 24016 12897 0 1
mts-mce 2400648 143200 12897 1 1
mts-proper 2543848 3430416 12897 1 1
sc7 5974264 65504 12897 1 1
bpmp-fw-dtb 6039768 993088 12897 2888-400-0001-D.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 1 0
bpmp-fw-dtb 7032856 993088 12897 2888-400-0001-E.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 1 0
bpmp-fw-dtb 8025944 993088 12897 2888-400-0004–1-2-jetson-agx-xavier-devkit-mmcblk0p1 1 1
bootloader-dtb 9019032 284496 12897 2888-400-0001-D.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 1 0
bootloader-dtb 9303528 284496 12897 2888-400-0001-E.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 1 0
bootloader-dtb 9588024 284496 12897 2888-400-0004–1-2-jetson-agx-xavier-devkit-mmcblk0p1 1 1
VER 9872520 101 12897 2888-400-0001-D.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 0 0
VER 9872621 102 12897 2888-400-0001-E.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 0 0
VER 9872723 101 12897 2888-400-0004–1-2-jetson-agx-xavier-devkit-mmcblk0p1 0 1
mb1 9872824 249312 12897 2888-400-0001-D.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 2 0
mb1 10122136 249312 12897 2888-400-0001-E.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 2 0
mb1 10371448 249312 12897 2888-400-0004–1-2-jetson-agx-xavier-devkit-mmcblk0p1 2 1
BCT 10620760 2888 12897 2888-400-0001-D.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 2 0
BCT 10623648 2888 12897 2888-400-0001-E.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 2 0
BCT 10626536 2888 12897 2888-400-0004–1-2-jetson-agx-xavier-devkit-mmcblk0p1 2 1
MB1_BCT 10629424 30864 12897 2888-400-0001-D.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 0 0
MB1_BCT 10660288 30864 12897 2888-400-0001-E.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 0 0
MB1_BCT 10691152 30864 12897 2888-400-0004–1-2-jetson-agx-xavier-devkit-mmcblk0p1 0 1
MEM_BCT 10722016 198656 12897 2888-400-0001-D.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 0 0
MEM_BCT 10920672 198656 12897 2888-400-0001-E.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 0 0
MEM_BCT 11119328 198656 12897 2888-400-0004–1-2-jetson-agx-xavier-devkit-mmcblk0p1 0 1
kernel 11317984 41930752 12897 1 1
kernel-dtb 53248736 284496 12897 2888-400-0001-D.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 1 0
kernel-dtb 53533232 284496 12897 2888-400-0001-E.0-1-2-jetson-agx-xavier-devkit-mmcblk0p1 1 0
kernel-dtb 53817728 284496 12897 2888-400-0004–1-2-jetson-agx-xavier-devkit-mmcblk0p1 1 1
Saving Entry table to /opt/ota_package/entry_table
spe-fw write: slot = 1 offset = 1409024 bytes = 94960
mb2 write: slot = 1 offset = 1900544 bytes = 181232
Writing 469840 bytes to /dev/disk/by-partlabel/cpu-bootloader_b for cpu-bootloader
Writing 410560 bytes to /dev/disk/by-partlabel/secure-os_b for secure-os
Writing 856352 bytes to /dev/disk/by-partlabel/bpmp-fw_b for bpmp-fw
Writing 5136 bytes to /dev/disk/by-partlabel/eks_b for eks
Writing 81312 bytes to /dev/disk/by-partlabel/adsp-fw_b for adsp-fw
Writing 272752 bytes to /dev/disk/by-partlabel/rce-fw_b for rce-fw
mts-preboot write: slot = 1 offset = 2162688 bytes = 24016
Writing 143200 bytes to /dev/disk/by-partlabel/mts-mce_b for mts-mce
Writing 3430416 bytes to /dev/disk/by-partlabel/mts-proper_b for mts-proper
Writing 65504 bytes to /dev/disk/by-partlabel/sc7_b for sc7
Writing 993088 bytes to /dev/disk/by-partlabel/bpmp-fw-dtb_b for bpmp-fw-dtb
Writing 284496 bytes to /dev/disk/by-partlabel/bootloader-dtb_b for bootloader-dtb
VER write: slot = 1 offset = 2203648 bytes = 101
MB1_BCT write: slot = 1 offset = 622592 bytes = 30864
MEM_BCT write: slot = 1 offset = 917504 bytes = 198656
Writing 41930752 bytes to /dev/disk/by-partlabel/kernel_b for kernel
Writing 284496 bytes to /dev/disk/by-partlabel/kernel-dtb_b for kernel-dtb
mb1 write: slot = 0 offset = 32768 bytes = 249312
mb1 write: slot = 1 offset = 294912 bytes = 249312
Update bup successfully
SM: S12
Setting slot 1 as active boot slot
Nvidia A/B-Redundancy Update tool Version 2.1
Got payload file: /ota_work/xusb_only_payload
current slot 0
SM: S11
Set slot 1 as unbootable and start updating.
Start running: /usr/sbin/nv_bootloader_payload_updater --no-dependent-partition /ota_work/xusb_only_payload
Got update payload: /ota_work/xusb_only_payload
Tegra User Block Device: /dev/disk/by-partlabel
Tegra Boot Block Device: /dev/mmcblk0boot0
HEADER: MAGIC NVIDIA__BLOB__V2
HEX_VALUE 16909857
BLOB_SIZE 133288
HEADER_SIZE 48
NUMBER_OF_ELEMENTS 1
HEADER_TYPE 0
UNCOMP_SIZE 133288
MB1_RATCHET_LV 0
MTS_RATCHET_LV 0
ROLLBACK_FUSE_LV 0
Device TN Spec: 2888-400-0004-L.0-1-2-jetson-xavier-mmcblk0p1
Device Compatible Spec: 2888-400-0004–1-2-jetson-agx-xavier-devkit-
Device TN Spec: 2888-400-0004-L.0-1-2-jetson-xavier-mmcblk0p1
Device Compatible Spec: 2888-400-0004–1-2-jetson-agx-xavier-devkit-
Device is fused board.
ENTRY_TABLE:
PART POS LEN VER TNSPEC TYPE UPDATABLE
xusb-fw 168 133120 12897 1 1
Saving Entry table to /opt/ota_package/entry_table
Writing 133120 bytes to /dev/disk/by-partlabel/xusb-fw_b for xusb-fw
GetEntryTable failed for mb1
Skipping partition: mb1
GetEntryTable failed for BCT
Skipping partition: BCT
GetEntryTable failed for BCT
Skipping partition: BCT
GetEntryTable failed for mb1
Skipping partition: mb1
Update bup successfully
SM: S12
Setting slot 1 as active boot slot
Copy /opt/ota_package/entry_table into /ota_work/entry_table.ota_backup
Bootloader on non-current slot(B) is updated
update_rootfs /ota_work 0
update_rootfs_with_a_b_disabled /ota_work
write_base_recovery /ota_work
Verifying image /ota_work/recovery.img.R32_3_4 with sha1 chksum file /ota_work/recovery.img.R32_3_4.sha1sum
Sha1 checksum for /ota_work/recovery.img.R32_3_4 (439fbd7b6f659f2efc1155a33ada2d214130c7ad) matches
Verifying image /ota_work/recovery.dtb.R32_3_4 with sha1 chksum file /ota_work/recovery.dtb.R32_3_4.sha1sum
Sha1 checksum for /ota_work/recovery.dtb.R32_3_4 (25c10c01802f36b7e7057d2ea708f824b827ee5f) matches
Backed up kernel and kernel-dtb partition under /ota_work before writing them
Writing base recovery image into /dev/disk/by-partlabel/recovery
Read back base recovery image into /ota_work/image.tmp and verify it
Reading 55291904 bytes from /dev/disk/by-partlabel/recovery: 1KB block=53996 remainder=0 offset=55291904
Verifying image /ota_work/image.tmp with sha1 chksum file /ota_work/recovery.img.R32_3_4.sha1sum
Sha1 checksum for /ota_work/image.tmp (439fbd7b6f659f2efc1155a33ada2d214130c7ad) matches
Writing base recovery dtb into /dev/disk/by-partlabel/recovery-dtb
Read back base recovery dtb into /ota_work/image.tmp and verify it
Reading 268864 bytes from /dev/disk/by-partlabel/recovery-dtb: 1KB block=262 remainder=576 offset=268288
Verifying image /ota_work/image.tmp with sha1 chksum file /ota_work/recovery.dtb.R32_3_4.sha1sum
Sha1 checksum for /ota_work/image.tmp (25c10c01802f36b7e7057d2ea708f824b827ee5f) matches
write_kernel_bootctrl /ota_work images-R32-ToT
128+0 records in
128+0 records out
65536 bytes (66 kB, 64 KiB) copied, 0.00321782 s, 20.4 MB/s
Backed up kernel-bootctrl partition under /ota_work before writing them
Writing bootctrl update file into /dev/disk/by-partlabel/kernel-bootctrl
Read back bootctrl update file into /ota_work/image.tmp and verify it
Reading 20 bytes from /dev/disk/by-partlabel/kernel-bootctrl: 1KB block=0 remainder=20 offset=0
backup_extlinux_conf /ota_work
Backing up /boot/extlinux/extlinux.conf
Rootfs is to be updated in recovery kernel once device is rebooted.
xingshen001@ugv:~/Linux_for_Tegra/tools/ota_tools/version_upgrade$
Thanks

I don’t remember which release first made OTA update available, but I’m pretty sure that 32.3.1 did not have that ability and you’d need to directly flash to get to the next release.

I was able to OTA update from 32.3.1 to 32.6.1, 32.7.1 or 32.7.2

Check this table for all the supported From release versions.

1 Like

Hi,
Can anyone answer the question?
Thanks

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