Flashing Drive OS 6.0.8.1 error

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.8.1
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
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)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
1.9.3.10904
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 22.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

This is my first time to Drive OS upon a newly opened Drive ODK. I followed instructions:

  1. sudo minicom -w -D /dev/ttyACM1 and then tegrarecovery x1 on and tegrareset x1 to try to put device in recovery mode. Exit the minicom
  2. // Start docker container
    sudo docker run -it --privileged --net=host -v /dev/bus/usb:/dev/bus/usb -v /drive_flashing:/drive_flashing nvcr.io/drive/driveos-sdk/drive-agx-orin-linux-aarch64-sdk-build-x86:latest
    // Inside of docker container, execute below commands
    ./flash.py /dev/ttyACM1 p3710

Flashing errors:
root@6.0.8.1-0006-build-linux-sdk:/drive# ./flash.py /dev/ttyACM1 p3710

2024-07-10 16:44:18 INFO : Flashing already set for dual bootchain

2024-07-10 16:44:18 INFO : Flash clean already disabled for persistent partitions

2024-07-10 16:44:18 INFO : Initiating pre-flash check

2024-07-10 16:44:18 INFO : Checking Serial Port Connection

2024-07-10 16:44:18 INFO : Serial Port found /dev/ttyACM1

2024-07-10 16:44:18 INFO : Running basic open/close tests on Serial Port Connection

2024-07-10 16:44:18 INFO : Serial Port is open

2024-07-10 16:44:18 INFO : Flushing input and output buffer, discard all content

2024-07-10 16:44:18 INFO : Serial Port is closed

2024-07-10 16:44:18 INFO : Checking available targets

2024-07-10 16:44:18 INFO : Checking Orin board connection

2024-07-10 16:44:18 INFO : Orin board with Device ID – 0955:7045 found.

2024-07-10 16:44:18 INFO : Orin board device path is /dev/bus/usb/001/006

2024-07-10 16:44:18 INFO : Pre-flash check complete

2024-07-10 16:44:18 INFO : Flashing DRIVE OS Docker

2024-07-10 16:44:37 INFO : driveinstaller v2.0

2024-07-10 16:44:37 INFO :

2024-07-10 16:44:37 INFO : SDK/PDK Installer and Flasher

2024-07-10 16:44:37 INFO : Run ./driveinstaller --help for usage information.

2024-07-10 16:44:37 INFO :

2024-07-10 16:44:37 INFO : Initializing board and OS configuration to Autonomous vehicle p3710 Linux Tegra A

2024-07-10 16:44:37 INFO : Manifest version 2.0

2024-07-10 16:44:37 INFO :

2024-07-10 16:44:37 INFO : BOARD SKU : 940-63710-0010-300

2024-07-10 16:44:37 INFO : Found matching board id p3710-10-s05 in 940-63710-0010-300 sku

2024-07-10 16:44:37 INFO : Applying additional Bind opts

2024-07-10 16:44:37 INFO : Binding of partitions failed ! Check log for more details.

2024-07-10 16:44:37 INFO : Failed to bind partitions!

2024-07-10 16:44:37 INFO : driveinstaller cannot continue! Check the log file for details: /drive/driveinstaller/driveinstaller.log

2024-07-10 16:44:37 ERROR : Flashing failed, please contact provider with logs /drive_flashing/log_1snvu7ejp9liz5crtg26kmq8fywb430a.txt and
log_1snvu7ejp9liz5crtg26kmq8fywb430a.txt (1.5 KB)
driveinstaller.log (103.9 KB)

Please let me know if anything wrong with my procedure and any more information is needed. Thanks in advance!
.

Dear @yuzhe.wu1,
You don’t need to put the board in recovery mode when using flash.py script. Put the board in normal mode( tegrarecovery x1 off and tegrareset x1) and check flashing from docker.

Thanks Siva for response. I still got flashing error after putting the board in normal mode
root@6.0.8.1-0006-build-linux-sdk:/drive# ./flash.py /dev/ttyACM1 p3710

2024-07-10 20:29:10 INFO : Flashing already set for dual bootchain

2024-07-10 20:29:10 INFO : Flash clean already disabled for persistent partitions

2024-07-10 20:29:10 INFO : Initiating pre-flash check

2024-07-10 20:29:10 INFO : Checking Serial Port Connection

2024-07-10 20:29:10 INFO : Serial Port found /dev/ttyACM1

2024-07-10 20:29:10 INFO : Running basic open/close tests on Serial Port Connection

2024-07-10 20:29:10 INFO : Serial Port is open

2024-07-10 20:29:10 INFO : Flushing input and output buffer, discard all content

2024-07-10 20:29:10 INFO : Serial Port is closed

2024-07-10 20:29:10 INFO : Checking available targets

2024-07-10 20:29:10 INFO : Checking Orin board connection

2024-07-10 20:29:10 INFO : Orin board with Device ID – 0955:7045 found.

2024-07-10 20:29:10 INFO : Orin board device path is /dev/bus/usb/001/006

2024-07-10 20:29:10 INFO : Pre-flash check complete

2024-07-10 20:29:10 INFO : Flashing DRIVE OS Docker

2024-07-10 20:29:36 INFO : driveinstaller v2.0

2024-07-10 20:29:36 INFO :

2024-07-10 20:29:36 INFO : SDK/PDK Installer and Flasher

2024-07-10 20:29:36 INFO : Run ./driveinstaller --help for usage information.

2024-07-10 20:29:36 INFO :

2024-07-10 20:29:36 INFO : Initializing board and OS configuration to Autonomous vehicle p3710 Linux Tegra A

2024-07-10 20:29:36 INFO : Manifest version 2.0

2024-07-10 20:29:36 INFO :

2024-07-10 20:29:36 INFO : Invalid response for Aurix command!

2024-07-10 20:29:36 INFO :

2024-07-10 20:29:36 INFO : Attempt 1 to re-send version command

2024-07-10 20:29:36 INFO :

2024-07-10 20:29:36 INFO : BOARD SKU : 940-63710-0010-300

2024-07-10 20:29:36 INFO : Found matching board id p3710-10-s05 in 940-63710-0010-300 sku

2024-07-10 20:29:36 INFO : Applying additional Bind opts

2024-07-10 20:29:36 INFO : Binding of partitions failed ! Check log for more details.

2024-07-10 20:29:36 INFO : Failed to bind partitions!

2024-07-10 20:29:36 INFO : driveinstaller cannot continue! Check the log file for details: /drive/driveinstaller/driveinstaller.log

2024-07-10 20:29:36 ERROR : Flashing failed, please contact provider with logs /drive_flashing/log_gs8tcrvink9j7xpfwa62ml0q1yb354do.txt and /drive/driveinstaller/driveinstaller.log.

driveinstaller.log (209.0 KB)
log_gs8tcrvink9j7xpfwa62ml0q1yb354do.txt (1.7 KB)

Dear @yuzhe.wu1 ,
I see e[01;31mCould not put Tegra-A in recoverye[0m in the shared logs.

  1. Can you share the host and target connection picture
  2. When board is set in recovery mode, we expect to see an additional device on lsusb on host. Could you share the output log.

Dear @yuzhe.wu1,
Do you still have issue? Could you provide any update?