Hi all.
I’m trying to update my Jetson target devices from 32.7.3 to 35.4.1 following this guideline:
https://docs.nvidia.com/jetson/archives/r35.4.1/DeveloperGuide/text/SD/SoftwarePackagesAndTheUpdateMechanism.html?highlight=ota#over-the-air-update
I’ve been successful all the way including creating an ota_payload_package .
However, when I try to finally execute the last step with this command:
sudo ./nv_ota_start.sh /dev/mmcblk0 ${OTADIR}/ota_payload_package.tar.gz
I keep facing the following error. Already tried several different ways but nothing has been successful.
force_booting_from_emmc /ota_work
The file /ota_work/cbo.dtb is not found
Failed to run "force_booting_from_emmc /ota_work"
And here’s the full log
Command: ./nv_ota_start.sh /dev/mmcblk0 /ota/ota_payload_package.tar.gz
Current rootfs is on /dev/nvme0n1
init_ota_log /ota_log
Create log file at /ota_log/ota_20240219-205419.log
OTA_LOG_FILE=/ota_log/ota_20240219-205419.log
Extract /ota/ota_payload_package.tar.gz
update_nv_boot_control_in_rootfs /ota_work
3668-301---1--jetson-xavier-nx-devkit-emmc-
check_prerequisites
decompress_ota_package ota_package.tar /ota_work
decompress_ota_package: start at Pzt Şub 19 20:55:02 +03 2024
Sha1 checksum for /ota_work/ota_package.tar (5135a3692f9fdf21b88adc960e0c5f3c0e04fa8a) matches
decompress_ota_package: end at Pzt Şub 19 20:55:30 +03 2024
nv_ota_update_with_layout_change.sh /dev/nvme0n1
Command: nv_ota_update_with_layout_change.sh /dev/nvme0n1
duplicate_bct_copy
Copied 65536 bytes from address 0x00000000 in flash to /tmp/bct.bin.tmp
Erased 65536 bytes from address 0x00010000 in flash
Copied 65536 bytes from /tmp/bct.bin.tmp to address 0x00010000 in flash
Duplicating BCT image is done
check_bsp_version /ota_work BASE_VERSION
check_target_board /ota_work TARGET_BOARD
set_msi_emmc_min_size jetson-xavier-nx-devkit-emmc MSI_EMMC_MIN_SIZE
ota_check_rollback /ota_work jetson-xavier-nx-devkit-emmc R32-7
OTA_PACKAGE version: branch:35 revision:4.1 major.minor:4.1
65536+0 records in
65536+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 10,4319 s, 3,2 MB/s
boot_device_size=33554432
VER's offset is 33292288 and size is 65536
VER_b's offset is 33357824 and size is 65536
VER_b version: branch:32 revision:7.3 major.minor:7.3
VER version: branch:32 revision:7.3 major.minor:7.3
Check BCT/MB1/MB1_BCT partiton for fresh OTA
Checking BCT partition
Checking MB1 partition
Checking MB1_BCT partition
ver_check_res=0
ota_choose_images /ota_work
COMPATIBLE_SPEC=3668-301---1--jetson-xavier-nx-devkit-emmc-
TEGRA_CHIPID=0x19
_BOARD_SPEC_NAME=3668-301--
Copy files from ./images-R32i/3668-301--/ to ./images-R32i/
Copy files from ./images-R32x-R35i/3668-301--/ to ./images-R32x-R35i/
Copy files from ./images-R35A-R35i/3668-301--/ to ./images-R35A-R35i/
Copy files from ./images-R35-ToT/3668-301--/ to ./images-R35-ToT/
ota_check_free_space_on_emmc
There is enough free space(523336192 bytes > 241172480 bytes) on eMMC
ota_check_partitions /ota_work
65536+0 records in
65536+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 9,23746 s, 3,6 MB/s
boot_device_size=33554432
Checking partitions on the boot device through secondary GPT
Checking partition BCT in the ota index file
The start and end offset for BCT partition matches
Checking partition mb1 in the ota index file
The start and end offset for mb1 partition matches
Checking partition mb1_b in the ota index file
The start and end offset for mb1_b partition matches
Checking partition MB1_BCT in the ota index file
The start and end offset for MB1_BCT partition matches
Checking partition MB1_BCT_b in the ota index file
The start and end offset for MB1_BCT_b partition matches
Checking partition MEM_BCT in the ota index file
The start and end offset for MEM_BCT partition matches
Checking partition MEM_BCT_b in the ota index file
The start and end offset for MEM_BCT_b partition matches
Checking partition spe-fw in the ota index file
The start and end offset for spe-fw partition matches
Checking partition spe-fw_b in the ota index file
The start and end offset for spe-fw_b partition matches
Checking partition mb2 in the ota index file
The start and end offset for mb2 partition matches
Checking partition mb2_b in the ota index file
The start and end offset for mb2_b partition matches
Checking partition mts-preboot in the ota index file
The start and end offset for mts-preboot partition matches
Checking partition mts-preboot_b in the ota index file
The start and end offset for mts-preboot_b partition matches
Checking partition mts-mce in the ota index file
The start and end offset for mts-mce partition matches
Checking partition mts-mce_b in the ota index file
The start and end offset for mts-mce_b partition matches
Checking partition mts-proper in the ota index file
The start and end offset for mts-proper partition matches
Checking partition mts-proper_b in the ota index file
The start and end offset for mts-proper_b partition matches
Checking partition sc7 in the ota index file
The start and end offset for sc7 partition matches
Checking partition sc7_b in the ota index file
The start and end offset for sc7_b partition matches
Checking partition SMD in the ota index file
The start and end offset for SMD partition matches
Checking partition SMD_b in the ota index file
The start and end offset for SMD_b partition matches
Checking partition xusb-fw in the ota index file
The start and end offset for xusb-fw partition matches
Checking partition xusb-fw_b in the ota index file
The start and end offset for xusb-fw_b partition matches
Checking partition cpu-bootloader in the ota index file
The start and end offset for cpu-bootloader_rsv partition matches
Checking partition cpu-bootloader_b in the ota index file
The start and end offset for cpu-bootloader_b partition matches
Checking partition bootloader-dtb in the ota index file
The start and end offset for bootloader-dtb_rsv partition matches
Checking partition bootloader-dtb_b in the ota index file
The start and end offset for bootloader-dtb_b partition matches
Checking partition BMP in the ota index file
The start and end offset for BMP_rsv partition matches
Checking partition BMP_b in the ota index file
The start and end offset for BMP_b partition matches
Checking partition secure-os in the ota index file
The start and end offset for secure-os_rsv partition matches
Checking partition secure-os_b in the ota index file
The start and end offset for secure-os_b partition matches
Checking partition eks in the ota index file
The start and end offset for eks_rsv partition matches
Checking partition eks_b in the ota index file
The start and end offset for eks_b partition matches
Checking partition adsp-fw in the ota index file
The start and end offset for adsp-fw_rsv partition matches
Checking partition adsp-fw_b in the ota index file
The start and end offset for adsp-fw_b partition matches
Checking partition rce-fw in the ota index file
The start and end offset for rce-fw_rsv partition matches
Checking partition rce-fw_b in the ota index file
The start and end offset for rce-fw_b partition matches
Checking partition sce-fw in the ota index file
The start and end offset for sce-fw_rsv partition matches
Checking partition sce-fw_b in the ota index file
The start and end offset for sce-fw_b partition matches
Checking partition bpmp-fw in the ota index file
The start and end offset for bpmp-fw_rsv partition matches
Checking partition bpmp-fw_b in the ota index file
The start and end offset for bpmp-fw_b partition matches
Checking partition bpmp-fw-dtb in the ota index file
The start and end offset for bpmp-fw-dtb_rsv partition matches
Checking partition bpmp-fw-dtb_b in the ota index file
The start and end offset for bpmp-fw-dtb_b partition matches
Checking partition CPUBL-CFG in the ota index file
The start and end offset for CPUBL-CFG_rsv partition matches
Checking partition CPUBL-CFG_b in the ota index file
The start and end offset for CPUBL-CFG_b partition matches
Checking partition VER in the ota index file
The start and end offset for VER partition matches
Checking partition VER_b in the ota index file
The start and end offset for VER_b partition matches
Checking partitions on the user device through primary GPT
Checking partition APP in the ota index file
The start and end offset for APP partition matches
Checking partition kernel in the ota index file
The start and end offset for kernel partition matches
Checking partition kernel_b in the ota index file
The start and end offset for kernel_b partition matches
Checking partition kernel-dtb in the ota index file
The start and end offset for kernel-dtb partition matches
Checking partition kernel-dtb_b in the ota index file
The start and end offset for kernel-dtb_b partition matches
Checking partition recovery in the ota index file
The start and end offset for recovery partition matches
Checking partition recovery-dtb in the ota index file
The start and end offset for recovery-dtb partition matches
Checking partition kernel-bootctrl in the ota index file
The start and end offset for kernel-bootctrl partition matches
Checking partition kernel-bootctrl_b in the ota index file
The start and end offset for kernel-bootctrl_b partition matches
enable_a_b_redundancy
both_slots_valid
write_base_recovery /ota_work
Verifying image /ota_work/recovery.img.R32x with sha1 chksum file /ota_work/recovery.img.R32x.sha1sum
Sha1 checksum for /ota_work/recovery.img.R32x (c6486c424b360df243489f502c55114fcb56ce4c) matches
Verifying image /ota_work/recovery.dtb.R32x with sha1 chksum file /ota_work/recovery.dtb.R32x.sha1sum
Sha1 checksum for /ota_work/recovery.dtb.R32x (6f4d81d4bf6ca74924fd16dcc7d3824d8bba1474) matches
Backed up recovery and recovery-dtb partition under /ota_work before writing them
Writing base recovery image into /dev/mmcblk0p6
Read back base recovery image into /ota_work/image.tmp and verify it
Reading 47554560 bytes from /dev/mmcblk0p6: 1KB block=46440 remainder=0 offset=47554560
Verifying image /ota_work/image.tmp with sha1 chksum file /ota_work/recovery.img.R32x.sha1sum
Sha1 checksum for /ota_work/image.tmp (c6486c424b360df243489f502c55114fcb56ce4c) matches
Writing base recovery dtb into /dev/mmcblk0p7
Read back base recovery dtb into /ota_work/image.tmp and verify it
Reading 208736 bytes from /dev/mmcblk0p7: 1KB block=203 remainder=864 offset=207872
Verifying image /ota_work/image.tmp with sha1 chksum file /ota_work/recovery.dtb.R32x.sha1sum
Sha1 checksum for /ota_work/image.tmp (6f4d81d4bf6ca74924fd16dcc7d3824d8bba1474) matches
write_kernel_bootctrl /ota_work
512+0 records in
512+0 records out
262144 bytes (262 kB, 256 KiB) copied, 0,00814408 s, 32,2 MB/s
Backed up kernel-bootctrl partition under /ota_work before writing them
Writing bootctrl update file into /dev/mmcblk0p8
Read back bootctrl update file into /ota_work/image.tmp and verify it
Reading 20 bytes from /dev/mmcblk0p8: 1KB block=0 remainder=20 offset=0
force_booting_from_emmc /ota_work
The file /ota_work/cbo.dtb is not found
Failed to run "force_booting_from_emmc /ota_work"
If anyone can advise or provide me a proper cbo.dtb file, it’ll be highly appreciated.