DRIVE Softare 10.0 flashing failed for AGX Xavier kit

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
[v] NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
[v] Linux
QNX
other

Hardware Platform
[v] NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
[v] 1.6.1.8175
1.6.0.8170
other

Host Machine Version
[v] native Ubuntu 18.04
other

Hi,
I have DRIVE OS 5.2.6 flashed in AGX Xavier development kit.
Requiring to work on Software 10.0, Ubuntu 18.04. the installation passed with SDK manager, but failed to flash the AGX kit.
Reading notes from S/W 10:
“You must have DRIVE Software 9.0 (available below) or DRIVE OS 5.1.6 (from NVONLINE) flashed on your target DRIVE AGX System”
plus
“you will be unable to downgrade to DRIVE OS 5.1.3.0 or DRIVE Software 9.0, as these are only supported with Ubuntu 16.04 LTS x86 host.”

    Please advise

Hi, @bellhsu

Please uninstall other DRIVE SDKs first. If still have problems, please help to share your ~/.nvsdkm.
Thanks.

Hi VickNV,
Please find the attached file
nvsdkm-2021-10-15.zip (1.4 MB)

I don’t think this gives you more information, but just attache for reference

Here are the suspicious messages.
I never saw such errors. I’ll check with our team and get back to you.
At the same time, could you try with another host system? Thanks.

12:58:12.859 - error: command error code: 1                                     
12:58:12.859 - info: Event:  - error code is: 1001                              
12:58:12.859 - warn: Failed to get component from group data map for            
12:58:12.921 - info: Dialog was closed: pre-flash dialog. Duration: 00:01:39    
12:58:12.942 - info: memInfo [total: 31.01GB, free: 366.89MB, available: 26.57GB]
12:58:12.942 - info: Event: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX - install started
12:58:12.943 - info: install timeout for NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP: 3600s
12:58:13.006 - info: cmd finished success SDKM_END_CODE_SUCCESS_bac9adf4-2e1f-4096-9a77-1b83cbcf93e0
12:58:13.006 - info: command finished successfully                              
12:58:13.117 - info: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: [host] [ Disk Avail:331.21 GB ]
12:58:13.117 - info: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: Installing component 'Flash Xavier A+B in parallel' (NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP)
12:58:13.117 - info: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: change working directory to /home/cameralab/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS
12:58:13.117 - info: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: [ Component PreInstall Started ]
12:58:13.117 - info: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: current working directory is /home/cameralab/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS
12:58:13.117 - info: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: exec_command: sudo /home/cameralab/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DriveSW_Components/DrivePlatform/tools/targetfs_passwd.sh /home/cameralab/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS {{TARGET_PASSWORD}}
12:58:13.117 - info: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: [host] [sudo] password for cameralab: 
12:58:13.177 - info: [HOST PASSWORD]                                            
12:58:13.177 - info: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX:               
12:59:42.739 - error: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: The command '/bin/sh -c apt-get update &&     apt-get install --yes apt-utils &&     apt-get install --yes python3 python3-dev python3-pip qemu-user-static rsync &&     apt-get autoremove --yes &&     apt-get clean' returned a non-zero code: 100
12:59:42.739 - info: Event: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX - error is: The command '/bin/sh -c apt-get update &&     apt-get install --yes apt-utils &&     apt-get install --yes python3 python3-dev python3-pip qemu-user-static rsync &&     apt-get autoremove --yes &&     apt-get clean' returned a non-zero code: 100
12:59:42.791 - error: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: /home/cameralab/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DriveSW_Components/DrivePlatform/tools/targetfs_passwd.sh: line 60: failure: command not found
12:59:42.792 - info: Event: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX - error is: /home/cameralab/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DriveSW_Components/DrivePlatform/tools/targetfs_passwd.sh: line 60: failure: command not found
12:59:42.792 - info: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: [ Component PreInstall Finished with Error ]
12:59:42.792 - info: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: [host] [ 150.13 MB used. Disk Avail: 331.06 GB ]
12:59:42.792 - info: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: [ NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP Install took 1m30s ]
12:59:42.792 - error: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: [error]: : [exec_command]: /bin/bash -c sudo /home/cameralab/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DriveSW_Components/DrivePlatform/tools/targetfs_passwd.sh /home/cameralab/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS {{TARGET_PASSWORD}}; [error]: /home/cameralab/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DriveSW_Components/DrivePlatform/tools/targetfs_passwd.sh: line 60: failure: command not found
12:59:42.792 - info: Event: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX - error is: [error]: : [exec_command]: /bin/bash -c sudo /home/cameralab/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DriveSW_Components/DrivePlatform/tools/targetfs_passwd.sh /home/cameralab/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS {{TARGET_PASSWORD}}; [error]: /home/cameralab/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DriveSW_Components/DrivePlatform/tools/targetfs_passwd.sh: line 60: failure: command not found
12:59:42.792 - info: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX:               
12:59:42.792 - info: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX:               
12:59:42.792 - error: cmd finished failure SDKM_END_CODE_FAILURE_0892a6c3-866c-47e6-9976-84ab9d74305a_11
12:59:42.792 - error: command error code: 11                                    
12:59:42.792 - info: Event: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX - error code is: 1011
12:59:42.792 - error: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: command terminated with error
12:59:42.792 - info: Event: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX - error is: command terminated with error
12:59:42.846 - info: Event: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX - install ended - failure
12:59:42.846 - error: Session first failure occurred while Installing. Root cause component: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX. Root cause error code: (1011: Failed to execute commands with GenericInstaller)
12:59:42.847 - info: Summary: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: Installation failed.

Your errors look same as Error installing SDK Manager and maybe apt error when create os image for Drive Platform Targetfs.
Please try with the solution there. Thanks.

Can you manually run the following commands to see if there is any error?
If there is an error, please fix the error first, then retry installation with SDKM.

sudo apt install apt-utils python3 python3-dev python3-pip qemu-user-static rsync
sudo apt-get autoremove
sudo apt-get clean

Works now, Thanks VickNV

May I know which my post fixed the problem?

I have reinstalled everything again, while the last step do help.

sudo apt install apt-utils python3 python3-dev python3-pip qemu-user-static rsync
sudo apt-get autoremove
sudo apt-get clean

1 Like