Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.10.0
DRIVE OS 6.0.8.1
[O] DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other
Target Operating System
[O] Linux
QNX
other
Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
[O] DRIVE AGX Orin Developer Kit (not sure its number)
other
SDK Manager Version
2.1.0
[O] other → 2.2.0
Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
[O] native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
Issue Description
Hello, I’m trying to flash and setup DRIVE AGX Orin DevKit.
It seems that there are 2 ways to do it. and I’m trying to do both ways, but I have questions regarding this process
- Docker Container
I followed the instruction to pull below command.
sudo docker run -it --privileged --net=host -v /dev/bus/usb:/dev/bus/usb -v ${WORKSPACE}:/home/nvidia/
nvcr.io/drive/driveos-sdk/drive-agx-orin-linux-aarch64-sdk-build-x86:latest
But i got the following messages from the terminal.
Is there any mistyping for the command?
or should I enter specific argument into ${WORKSPACE}?
- SDK Manager
I tried to do it with SDK Manager 2.2.0.
and when the process turned into flahs, below error messages appeared.
14:12:44 INFO: Flash DRIVE OS - flash: else
14:12:44 INFO: Flash DRIVE OS - flash: fi
14:12:44 INFO: Flash DRIVE OS - flash: export NV_WORKSPACE=/home/dspace/nvidia/nvidia_sdk/DRIVE_OS_6.0.6_SDK_Linux_DRIVE_AGX_ORIN_DEVKITS/DRIVEOS/
14:12:44 INFO: Flash DRIVE OS - flash: exec_command: /home/dspace/.nvsdkm/replays/scripts/DRIVE_OS_6.0.6_SDK_Linux/NV_DRIVE_FLASH_DRIVE_COMP.sh
14:12:47 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:12:48 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:12:49 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:12:50 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:12:51 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:12:55 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:13:01 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:13:02 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:13:03 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:13:05 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:13:06 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:13:07 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:13:10 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:13:11 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:13:12 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:13:13 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:13:16 INFO: Flash DRIVE OS - flash: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 115328 (apt-get)…
14:13:38 INFO: Flash DRIVE OS - flash: (Reading database … 100%
14:13:38 INFO: Flash DRIVE OS - flash: (Reading database … 222495 files and directories currently installed.)
14:13:38 INFO: Flash DRIVE OS - flash: Preparing to unpack …/python-is-python3_3.8.2-4_all.deb …
14:13:38 INFO: Flash DRIVE OS - flash: Setting up python-is-python3 (3.8.2-4) …
14:13:39 INFO: Flash DRIVE OS - flash: Adding user dspace' to group
dialout’ …
14:13:39 INFO: Flash DRIVE OS - flash: Done.
14:13:39 INFO: Flash DRIVE OS - flash: # mount targetfs img to update the EULA metadata and unmount on exit
14:13:39 INFO: Flash DRIVE OS - flash: sudo mount -t ext4 ${NV_WORKSPACE}/drive-linux/filesystem/targetfs.img ${NV_WORKSPACE}/drive-linux/filesystem/targetfs
14:28:56 INFO: Flash DRIVE OS - flash: exec_command [host]:
14:28:56 INFO: Flash DRIVE OS - flash: sudo rm -f /var/lock/LCK..ttyACM* /var/lock/LCK..bootburn_seq /var/lock/LCK..bootburn
14:28:56 INFO: Flash DRIVE OS - flash: current working directory is /home/dspace/nvidia/nvidia_sdk/DRIVE_OS_6.0.6_SDK_Linux_DRIVE_AGX_ORIN_DEVKITS/DRIVEOS
14:28:56 INFO: Flash DRIVE OS - flash: exec_command [host]:
14:28:56 INFO: Flash DRIVE OS - flash: **********************
14:28:56 INFO: Flash DRIVE OS - flash: safe_apt_install "sudo apt install -y python-is-python3 " 5
14:28:56 INFO: Flash DRIVE OS - flash: sudo adduser whoami | xargs echo -n
dialout
14:28:56 INFO: Flash DRIVE OS - flash: sudo chmod a+rw /dev/ttyACM*
14:28:56 INFO: Flash DRIVE OS - flash: if [[ ‘’ == wipe-persistent-partition ]]; then
14:28:56 INFO: Flash DRIVE OS - flash: sed -i ‘s/“opt-args”:.*/“opt-args”: [“–init_persistent_partitions”, “-D” ],/’ ./driveinstaller/manifests/install_pdk_config/av_orin_p3710_driveos_linux_tegraA_install_config.json
14:28:56 INFO: Flash DRIVE OS - flash: else
14:28:56 INFO: Flash DRIVE OS - flash: sed -i ‘s/“opt-args”:.*/“opt-args”: [“-D”],/’ ./driveinstaller/manifests/install_pdk_config/av_orin_p3710_driveos_linux_tegraA_install_config.json
14:28:56 INFO: Flash DRIVE OS - flash: fi
14:28:56 INFO: Flash DRIVE OS - flash: if ! grep mount ./driveinstaller/scripts/linux_pre_flash.sh; then
14:28:56 INFO: Flash DRIVE OS - flash: sed -i ‘64 i sudo mount -t ext4 ${NV_WORKSPACE}/drive-linux/filesystem/targetfs.img ${NV_WORKSPACE}/drive-linux/filesystem/targetfs’ ./driveinstaller/scripts/linux_pre_flash.sh
14:28:56 INFO: Flash DRIVE OS - flash: export NV_WORKSPACE=/home/dspace/nvidia/nvidia_sdk/DRIVE_OS_6.0.6_SDK_Linux_DRIVE_AGX_ORIN_DEVKITS/DRIVEOS/
14:28:56 INFO: Flash DRIVE OS - flash: cd driveinstaller && ./driveinstaller --installtype bindflash --boardtype ES --pdkinstalledpath /home/dspace/nvidia/nvidia_sdk/DRIVE_OS_6.0.6_SDK_Linux_DRIVE_AGX_ORIN_DEVKITS/DRIVEOS --configjson ./manifests/install_pdk_config/av_orin_p3710_driveos_linux_tegraA_install_config.json --targetuser nvidia --port ${AURIX_PORT:-/dev/ttyACM1} --eula-accepted 1 --consoleout enable --logpath ~/.nvsdkm/
14:28:56 INFO: Flash DRIVE OS - flash: **********************
14:28:56 INFO: Flash DRIVE OS - flash: exec_command: /home/dspace/.nvsdkm/replays/scripts/DRIVE_OS_6.0.6_SDK_Linux/NV_DRIVE_FLASH_DRIVE_COMP.sh
14:28:56 INFO: Flash DRIVE OS - flash: *begin sudo apt install -y python-is-python3 , 5
14:28:56 INFO: Flash DRIVE OS - flash: Reading package lists…
14:28:56 INFO: Flash DRIVE OS - flash: Building dependency tree…
14:28:56 INFO: Flash DRIVE OS - flash: Reading state information…
14:28:56 INFO: Flash DRIVE OS - flash: python-is-python3 is already the newest version (3.8.2-4).
14:28:57 INFO: Flash DRIVE OS - flash: 0 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
14:28:57 INFO: Flash DRIVE OS - flash: The user dspace' is already a member of
dialout’.
14:28:57 INFO: Flash DRIVE OS - flash: # mount targetfs img to update the EULA metadata and unmount on exit
14:28:57 INFO: Flash DRIVE OS - flash: sudo mount -t ext4 ${NV_WORKSPACE}/drive-linux/filesystem/targetfs.img ${NV_WORKSPACE}/drive-linux/filesystem/targetfs
14:28:57 INFO: Flash DRIVE OS - flash: trap “sudo umount -l ${NV_WORKSPACE}/drive-linux/filesystem/targetfs.img” EXIT
14:28:57 INFO: Flash DRIVE OS - flash: # Must lazy umount after operations on rootfs image before running new Build-FS instance.
14:28:57 INFO: Flash DRIVE OS - flash: # Check for errors in umount as it is a pre-req for next step.
14:28:57 INFO: Flash DRIVE OS - flash: # Clear trap if umount is good.
14:28:57 INFO: Flash DRIVE OS - flash: sudo umount -l ${NV_WORKSPACE}/drive-linux/filesystem/targetfs.img
14:28:57 INFO: Flash DRIVE OS - flash: host sudo password for dspace:
14:28:57 INFO: Flash DRIVE OS - flash: This script must be run with root privileges!
14:28:57 INFO: Flash DRIVE OS - flash: driveinstaller v2.0
14:28:57 INFO: Flash DRIVE OS - flash: SDK/PDK Installer and Flasher
14:28:57 INFO: Flash DRIVE OS - flash: Run ./driveinstaller --help
for usage information.
14:28:57 INFO: Flash DRIVE OS - flash: Initializing board and OS configuration to Autonomous vehicle p3710 Linux Tegra A
14:28:57 INFO: Flash DRIVE OS - flash: Manifest version 2.0
14:28:57 INFO: Flash DRIVE OS - flash: [target] target sudo password for nvidia:
14:29:09 INFO: Flash DRIVE OS - flash: BOARD SKU : 940-63710-0010-300
14:29:09 INFO: Flash DRIVE OS - flash: Found matching board id p3710-10-s05 in 940-63710-0010-300 sku
14:29:09 INFO: Flash DRIVE OS - flash: Applying additional Bind opts
14:29:13 INFO: Flash DRIVE OS - flash: Binding of partitions failed ! Check log for more details.
14:29:13 INFO: Flash DRIVE OS - flash: Failed to bind partitions!
14:29:13 INFO: Flash DRIVE OS - flash: driveinstaller cannot continue! Check the log file for details: /home/dspace/.nvsdkm/driveinstaller.log
14:29:13 ERROR: Flash DRIVE OS - flash: [exec_command]: /bin/bash -c /home/dspace/.nvsdkm/replays/scripts/DRIVE_OS_6.0.6_SDK_Linux/NV_DRIVE_FLASH_DRIVE_COMP.sh; [error]:
14:29:13 INFO: Flash DRIVE OS - flash: [ Component Install Finished with Error ]
14:29:13 INFO: Flash DRIVE OS - flash: [host] [ 7.59 MB released. Disk Avail on Partition /dev/nvme0n1p2: 337.52 GB ]
14:29:13 INFO: Flash DRIVE OS - flash: [ NV_DRIVE_FLASH_DRIVE_COMP Install took 17s ]
14:29:13 ERROR: Flash DRIVE OS - flash: command terminated with error
14:07:46 INFO: Vulkan Packages - target_image: [CP] ‘/home/dspace/nvidia/nvidia_sdk/DRIVE_OS_6.0.6_SDK_Linux_DRIVE_AGX_ORIN_DEVKITS/DRIVEOS//drive-linux/samples/vulkan-sc-samples/binaries/Linux_aarch64/data/shaders/vksc_01tri/vk_01tri_pipeline_0.frag.spv’ to ‘/tmp/tmp_u4hpbz9//targetfs//opt/nvidia/drive-linux/samples/vulkansc/data/shaders/vksc_01tri/vk_01tri_pipeline_0.frag.spv’
14:07:46 INFO: Vulkan Packages - target_image: [33, /opt/nvidia/drive-linux/samples/vulkansc/data/shaders/vksc_01tri/vk_01tri_pipeline_0.vert]
14:07:46 INFO: Vulkan Packages - target_image: [CP] ‘/home/dspace/nvidia/nvidia_sdk/DRIVE_OS_6.0.6_SDK_Linux_DRIVE_AGX_ORIN_DEVKITS/DRIVEOS//drive-linux/samples/vulkan-sc-samples/binaries/Linux_aarch64/data/shaders/vksc_01tri/vk_01tri_pipeline_0.vert’ to ‘/tmp/tmp_u4hpbz9//targetfs//opt/nvidia/drive-linux/samples/vulkansc/data/shaders/vksc_01tri/vk_01tri_pipeline_0.vert’
14:07:46 INFO: Vulkan Packages - target_image: [34, /opt/nvidia/drive-linux/samples/vulkansc/data/shaders/vksc_01tri/vk_01tri_pipeline_0.vert.spv]
Could you also check this issue?
Kind Regards.