Hi All,
I’m looking for help with installing Jetpack 6.0 on my Orin AGX DevKit.
I’m running Ubuntu 22.04 on my host and using the docker image for sdkmanager.
I’ve loaded the qemu-system-user package and run the updates as recommended in the download page.
I’ve also disabled the usb autosuspend feature, just to be sure it’s not an issue.
The issue I think I’m having is that the system is copying some data to a temporary location, but not including the ‘dtc’ application for some reason, despite it being in the correct place as far as I can make out from other similar topics.
Below are a few things that may be useful for identifying the cause of the issue:
- command for starting the
sdkmanager
- snippet from log file.
- docker image details
- confirmation of
dtc
locations within L4T image (docker exec while sdkmanager is running, apparently ready to flash and waiting for user feedback to continue)
Any advice would be appreciated!
Thanks for your time,
Will.
Command for installing and flashing:
actually started as sdkmanager --cli
but after the wizard config, it gives the command below, which may be useful
sdkmanager --cli --action install \
--login-type devzone --product Jetson --target-os Linux --version 6.0 \
--show-all-versions --host --target JETSON_AGX_ORIN_TARGETS \
--additional-sdk 'DeepStream 7.0' --select HOST --select 'Jetson Linux' \
--select 'Jetson Linux image' --select 'Flash Jetson Linux' --select 'Jetson Runtime Components'
--select 'Additional Setups' --select 'CUDA Runtime' --select 'CUDA X-AI Runtime' \
--select 'Computer Vision Runtime' --select 'NVIDIA Container Runtime' --select Multimedia \
--select 'Jetson SDK Components' --select CUDA --select 'CUDA-X AI' \
--select 'Computer Vision' --select 'Developer Tools' --select DeepStream \
--select 'Jetson Platform Services' --select 'Jetson Platform Services' --flash \
--license accept
Snippet from log where things seem to go wrong:
NB: I’ve made one very minor modification to the python file to print out the CWD and show the commands that is about to be executed for debug purposes.
11:44:00.032 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: [ 0.2207 ] dtc -I dts -O dtb -o tegra234-mb1-bct-device-p3701-0000_cpp.dtb tegra234-mb1-bct-device-p3701-0000_cpp.dts
11:44:00.032 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: CWD: /home/nvidia/nvidia/nvidia_sdk/JetPack_6.0_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/bootloader/7629
11:44:00.032 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:
11:44:00.033 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: tegraflash_run_commands()
11:44:00.033 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: File "/home/nvidia/nvidia/nvidia_sdk/JetPack_6.0_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py", line 1276,
in tegraflash_run_commands
11:44:00.033 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:
11:44:00.033 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: interpreter.onecmd(command)
11:44:00.033 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: File "/usr/lib/python3.10/cmd.py", line 217, in onecmd
11:44:00.033 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:
11:44:00.034 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: return func(arg)
11:44:00.034 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: File "/home/nvidia/nvidia/nvidia_sdk/JetPack_6.0_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py", line 893, i
n do_dump
11:44:00.034 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:
11:44:00.034 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: self.chip_inst.tegraflash_dump(exports, args)
11:44:00.034 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: File "/home/nvidia/nvidia/nvidia_sdk/JetPack_6.0_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py", l
ine 2715, in tegraflash_dump
11:44:00.035 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:
11:44:00.053 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: self.tegraflash_preprocess_configs()
11:44:00.053 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: File "/home/nvidia/nvidia/nvidia_sdk/JetPack_6.0_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py", l
ine 362, in tegraflash_preprocess_configs
11:44:00.053 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:
11:44:00.053 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: values[config] = self.run_dtc_tool(
11:44:00.053 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: File "/home/nvidia/nvidia/nvidia_sdk/JetPack_6.0_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py", l
ine 3657, in run_dtc_tool
11:44:00.053 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:
11:44:00.054 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: run_command(command, True)
11:44:00.054 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: File "/home/nvidia/nvidia/nvidia_sdk/JetPack_6.0_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/bootloader/tegraflash_internal.py", li
ne 355, in run_command
11:44:00.054 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:
11:44:00.088 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=use_shell, env=cmd_environ)
11:44:00.089 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
11:44:00.090 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:
11:44:00.091 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: self._execute_child(args, executable, preexec_fn, close_fds,
11:44:00.092 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
11:44:00.092 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:
11:44:00.093 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: raise child_exception_type(errno_num, err_msg, err_filename)
11:44:00.094 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: FileNotFoundError: [Errno 2] No such file or directory: 'dtc'
11:44:00.094 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:
11:44:00.119 - error: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: --- Error: Reading board information failed.
11:44:00.119 - info: Event: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS - error is: --- Error: Reading board information failed.
11:44:00.120 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:
11:44:00.123 - error: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FLASH_JETSON_LINUX_COMP..sh; [error]: --- Error: Reading board information failed.
11:44:00.124 - info: Event: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS - error is: [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FLASH_JETSON_LINUX_COMP..sh; [error]: --- Error: Reading board informati
on failed.
11:44:00.124 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:
11:44:00.124 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:
11:44:00.124 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: [ Component Install Finished with Error ]
docker image:
sdkmanager 2.1.0.11682-Ubuntu_22.04 45897d7a36d1 2 weeks ago 970MB
DTC locations:
nvidia@642862197fee:~/nvidia/nvidia_sdk/JetPack_6.0_Linux_JETSON_AGX_ORIN_TARGETS$ sudo find . -iname dtc
./Linux_for_Tegra/kernel/dtc
./Linux_for_Tegra/rootfs/usr/bin/dtc
./Linux_for_Tegra/rootfs/usr/src/linux-headers-5.15.136-tegra-ubuntu22.04_aarch64/3rdparty/canonical/linux-jammy/kernel-source/scripts/dtc
./Linux_for_Tegra/rootfs/usr/src/linux-headers-5.15.136-tegra-ubuntu22.04_aarch64/3rdparty/canonical/linux-jammy/kernel-source/scripts/dtc/dtc
./Linux_for_Tegra/rootfs/usr/src/linux-headers-5.15.136-tegra-ubuntu22.04_aarch64/3rdparty/canonical/linux-jammy/kernel-source/include/config/DTC