Unable to flash DRIVE AGX Pegasus

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.6 and DriveWorks 4.0
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.9.1.10844
other

Host Machine Version
native Ubuntu 18.04
other

I am trying to flash using docker version of SDK manager. My host machine is Ubuntu 20.04, and the docker is sdkmanager:2.0.0.11405-Ubuntu_18.04.

I have set Tegra A in recovery mode on /dev/ttyUSB3 by running tegrarecovery x1 on and tegrareset x1.

> lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Bus 001 Device 005: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Bus 001 Device 004: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Bus 001 Device 003: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Bus 001 Device 018: ID 0955:7100 NVIDIA Corp. Tegra Device
Bus 001 Device 019: ID 0955:7100 NVIDIA Corp. Tegra Device
Bus 001 Device 002: ID 0424:2807 Microchip Technology, Inc. (formerly SMSC) Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

When I flash using the command

docker run -it --rm --privileged --network host -v /var/run/docker.sock:/var/run/docker.sock -v /dev/bus/usb:/dev/bus/usb/ -v /dev:/dev -v /media/root:/media/nvidia:slave -v /home/nvidia:/home/nvidia sdkmanager:latest --cli --login-type offline --action install --product DRIVE --version OS_5.1.6.1_SDK --target-os Linux --target DRIVE_AGX_PEGASUS_XT --license accept  --download-folder /home/nvidia/downloads --export-logs /home/nvidia/logs --target-image-folder /home/nvidia/target-image --flash

It always fails in the last step

  ===== FLASHING FAILED =====
      - GNU Toolchains: Installed
      - DRIVE Foundation Packages: Installed
      - DRIVE Foundation OSS Packages: Installed
      - P3479 specific package: Installed
      - E3550 specific package: Installed
      - Flash Tools: Installed
      - OSS and NV packages: Installed
      - DRIVE AGX Packages: Installed
      - Aurix Updater: Installed
      - DDS Framework: Installed
      - DRIVE Linux Release Notes: Installed
      - CUDA on Target: Installed
      - TensorRT (with cuDNN 7.5) on Target: Installed
      - DRIVE AV on Target: Installed
      - DRIVE IX SDK: Installed
      - DRIVE AR on Target: Installed
      - DRIVE UX on Target: Installed
      - Drive Platform Targetfs: Installed
      - Drive Platform Targetfs Patch: Installed
      - HYPERION-7.1: Installed
      - Service Framework: Installed
      - Drive OTA: Installed
      - Flash Xavier A+B in parallel: Failed

  ===== Flashing failed - Total 23 components =====
  ===== 22 succeeded, 1 failed, 0 up-to-date, 0 skipped =====

The error seems:

NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP.log:error: more than one device/emulator
NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP.log:error-adb-timeout
NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP.log:error: more than one device/emulator
NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP.log:error-adb-timeout
NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP.log:Flashing process exited with error 5
NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP.log:Error in flashing!

I assume you are attempting to flash DRIVE Software 10.0, correct? According to DRIVE Software Installation Guide for NVIDIA Developers, only running the SDK Manager natively on Ubuntu Desktop 18.04 LTS is supported.

Where did you obtain the “sdkmanager:2.0.0.11405-Ubuntu_18.04” docker image?

Setting the system into recovery mode is part of the flashing process in SDK Manager so you don’t need to do it manually.

I obtained the SDK manager docker on https://developer.nvidia.com/sdk-manager.

Please try to run SDK Manager natively without manually setting the devkit into recovery mode.

Running SDK Manager on native Ubuntu18 host without docker resolves my issue. Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.