Failure to flash Xavier AGX 5.2.0

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
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
Linux
QNX
other

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

SDK Manager Version
1.6.0.8170
other

Host Machine Version
native Ubuntu 18.04
other

Hello,
I’m getting an error when trying to flash Xavier board with version 5.2.0. I retried a few times, but error keeps happening. At the moment, it seems both Tegra A and B are not booting into linux.

11:57:49 INFO: Flash Xavier A+B in parallel - flash: Pre flash script found! Calling scripts/linux_pre_flash.sh

11:57:56 INFO: Flash Xavier A+B in parallel - flash:

11:57:56 INFO: Flash Xavier A+B in parallel - flash: Running flash command: sudo -E /home/gordon/storage/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation//tools/host/flashtools/bootburn_t19x/bootburn.sh -b e3550b03-t194 -B qspi -x /dev/ttyUSB3

12:03:07 INFO: Flash Xavier A+B in parallel - flash: [bootburnTegra-B]: [DisplayHostInfoAndPaths(306)] : Host release 5.4.0-81-generic

12:03:07 INFO: Flash Xavier A+B in parallel - flash: [bootburn]: [startADBServer(134)] : Starting ADB server

12:03:07 INFO: Flash Xavier A+B in parallel - flash: Exception caught in bootburn

12:03:08 INFO: Flash Xavier A+B in parallel - flash: Flashing process exited with error 17

12:03:08 INFO: Flash Xavier A+B in parallel - flash: pdkinstaller cannot continue! Check the log file for details: /home/gordon/storage/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/pdkinstaller/pdkinstaller.log

12:03:08 ERROR: Flash Xavier A+B in parallel - flash: command terminated with error

**12:03:08 SUMMARY: Flash Xavier A+B in parallel - flash: First Error: Installation failed.**

Log file pdkinstaller.log (1.1 MB)

Boot logs of Tegra A & B: tegra_b_boot_fail.txt (4.0 KB)
tegra_a_boot_fail.txt (5.7 KB)

Note, this board is the returned board after the CIM fix:

Hi @gordon1zrra,

Please share the complete logs (compress ~/.nvsdk and upload it).
On the same host system, have you successfully flashed 5.2.0 onto another platform?
Could you try with the latest SDK Manager (1.6.1)?

Hi,
Yes, I’ve used same host PC to flash another xavier to 5.2.0 before. I also updated to latest SDK manager after I got a failure to flash, but it didn’t help.

I can’t find ~/.nvsdk directory on my PC, there is however a .nvsdkm directory. nvsdkm.tar.xz (1.8 MB)

I found the messages in your logs but have no idea yet.
Could you make sure to use a USB 2.0 cable and try if rebooting your host system will help?

12:03:07.873 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: command line used was:^M
12:03:07.873 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: [’./bootburn.py’, ‘-b’, ‘e3550b03-t194’, ‘-B’, ‘qspi’, ‘-x’, ‘/dev/ttyUSB3’]^M
12:03:07.873 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: ^M
12:03:07.873 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: ^M
12:03:07.873 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: ${s_ERROR_DEVICE_NOT_FOUND} – ADB Device not found online^M
12:03:07.873 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: ^M
12:03:07.873 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: ^M
12:03:07.873 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: Exception caught in bootburn ^M
12:03:08.029 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: Traceback (most recent call last):^M
12:03:08.029 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: File “./bootburn.py”, line 305, in bootburn^M
12:03:08.029 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: bootburnLib.AdbServerManager(processID)^M
12:03:08.030 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: File “/home/gordon/storage/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x_py/bootburn_lib.py”, line 151, in AdbServerManager^M
12:03:08.030 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: AbnormalTermination("${s_ERROR_DEVICE_NOT_FOUND} – ADB Device not found online", nverror.NvError_DeviceNotFound)^M
12:03:08.030 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: File “/home/gordon/storage/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x_py/flashtools_nverror.py”, line 249, in AbnormalTermination^M
12:03:08.030 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: raise OSError(errorCode)^M
12:03:08.030 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: OSError: 196625^M
12:03:08.030 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: returning to directory /home/gordon/storage/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x_py^M
12:03:08.030 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: Cleaning up … ^M
12:03:08.030 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: Cleaning temp dir^M
12:03:08.030 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: ^M
12:03:08.031 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: Flashing process exited with error 17
12:03:08.033 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: Error in flashing!
12:03:08.033 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: pdkinstaller cannot continue! Check the log file for details: /home/gordon/storage/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/pdkinstaller/pdkinstaller.log
12:03:08.044 - error: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX:
12:03:08.045 - info: Event: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX - error is:
12:03:08.046 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX:
12:03:08.062 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: [ Component Install Finished with Error ]
12:03:08.062 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: [host] [ 15.45 MB used. Disk Avail: 71.14 GB ]
12:03:08.062 - info: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: [ NV_DRIVE_FLASH_DDPX_PARALLEL_COMP Install took 5m30s ]
12:03:08.062 - error: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX: [error]: : [exec_command]: /bin/bash -c cd pdkinstaller && ./pdkinstaller --installtype bindflash --boardtype ES --pdkinstalledpath /home/gordon/storage/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS --configjson ./manifests/install_pdk_config/av_ddp_pegasus_driveos_linux_tegraAB_install_config.json --targetuser {{TARGET_USERNAME}} --consoleout enable; [error]:
12:03:08.062 - info: Event: NV_DRIVE_FLASH_DDPX_PARALLEL_COMP@DDPX - error is: [error]: : [exec_command]: /bin/bash -c cd pdkinstaller && ./pdkinstaller --installtype bindflash --boardtype ES --pdkinstalledpath /home/gordon/storage/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS --configjson ./manifests/install_pdk_config/av_ddp_pegasus_driveos_linux_tegraAB_install_config.json --targetuser {{TARGET_USERNAME}} --consoleout enable; [error]:

Hi,

It’s working after I rebooted my PC. Thanks for the suggestion.

Good to hear it solved your problem.