DRIVE ORIN flash fail

Hello, I am using the docker method on the ubuntu22.04 virtual machine to flash drive orin 6.0.8.1 and the following error is reported during the process. Please give me a solution. Thank you.

[2024-05-15 03:49:53,967 root INFO pdk_flasher.py 209 14760] bypassing inforrom for flashing cmd
[2024-05-15 03:49:53,967 root INFO pdk_flasher.py 379 14760] Pre flash script found! Calling scripts/linux_pre_flash.sh 
[2024-05-15 03:49:54,678 root DEBUG utilities.py 395 14760] Spawning child process with args ['/usr/bin/bash', '-E', 'scripts/linux_pre_flash.sh']
[2024-05-15 03:49:54,679 root DEBUG console_logger.py 17 14760] b'NV_WORKSPACE:'
[2024-05-15 03:49:54,733 root DEBUG console_logger.py 17 14760] b'NV_TARGETUSER:'
[2024-05-15 03:49:54,786 root DEBUG console_logger.py 17 14760] b'NV_TARGETPWD:'
[2024-05-15 03:49:54,837 root DEBUG console_logger.py 17 14760] b'NV_EULA_ACCEPTED:'
[2024-05-15 03:49:55,063 root INFO pdk_flasher.py 242 14760] Running flash command: sudo -E /drive/drive-foundation//tools/flashtools/bootburn/bootburn.py -b p3710-10-s05 -B qspi -x /dev/ttyACM1
[2024-05-15 03:49:55,778 root DEBUG console_logger.py 17 14760] b'****** Starting bootburn/bootburn.py ********\r\n'
[2024-05-15 03:49:55,829 root DEBUG console_logger.py 17 14760] b"********* Starting t23x bootburn py ********\r\nBootburn Starting with arguments ['/drive/drive-foundation//tools/flashtools/bootburn/bootburn.py', '-b', 'p3710-10-s05', '-B', 'qspi', '-x', '/dev/ttyACM1']\r\ncwd in setBoardConfigPath :: /drive/drive-foundation/tools/flashtools/bootburn_t23x_py\r\n\x1b[01;33m trying hardware folder:\r\n/drive/drive-foundation/platform-config/hardware/nvidia/platform/t23x/automotive/flashing/board_configs\x1b[0m\r\n\r\ncwd in loadBoardGoldenRegsFile :: /drive/drive-foundation/tools/flashtools/bootburn_t23x_py\r\nDefault Schema:/drive/drive-foundation/tools/flashtools/bootburn_t23x_py/nv-customer-data-schema.json\r\n\r\nCheck finished successfully\r\nDone parsing command line\r\n\r\n[bootburn]: [GetInfoRom(620)] : Read skuinfo from InfoRom...\r\n[bootburn]: Execute command on Aurix serial port\r\n"
[2024-05-15 03:49:56,094 root DEBUG console_logger.py 17 14760] b'[bootburn]: [CheckFirmwareisAFW(600)] : AFW firmware found\r\n'
[2024-05-15 03:49:57,127 root DEBUG console_logger.py 17 14760] b'[bootburn]: [setTargetConfigt23xInfoRomInfo(720)] : 940-63710-0010-D00\r\n[bootburn]: [setTargetConfigt23xInfoRomInfo(721)] : None\r\n'
[2024-05-15 03:49:57,128 root DEBUG console_logger.py 17 14760] b'[bootburn]: [setTargetConfigt23xInfoRomInfo(728)] : ******  s_InforomSkuVersion   D00\r\n[bootburn]: [setTargetConfigt23xInfoRomInfo(729)] : ******  s_InforomProdInfo   940-63710-0010\r\n[bootburn]: [GetTegrasAssocWithAurix(507)] : Setting Tegra-A on hold... \r\n'
[2024-05-15 03:49:57,497 root DEBUG console_logger.py 17 14760] b'[bootburn]: [GetTegrasAssocWithAurix(509)] : Done\r\n'
[2024-05-15 03:49:57,507 root DEBUG console_logger.py 17 14760] b'[bootburn]: [getListTargetsInRecovery(3965)] : Bus 002 Device 004: ID 0955:7045 NVIDIA Corp. VMware Virtual USB Mouse\r\n'
[2024-05-15 03:49:57,508 root DEBUG console_logger.py 17 14760] b'[bootburn]: [GetTegrasAssocWithAurix(534)] : Setting Tegra-A in recovery... \r\n'
[2024-05-15 03:49:58,222 root DEBUG console_logger.py 17 14760] b'[bootburn]: [GetTegrasAssocWithAurix(538)] : Done\r\n'
[2024-05-15 03:49:58,231 root DEBUG console_logger.py 17 14760] b'[bootburn]: [getListTargetsInRecovery(3965)] : Bus 002 Device 004: ID 0955:7045 NVIDIA Corp. VMware Virtual USB Mouse\r\n'
[2024-05-15 03:49:58,232 root DEBUG console_logger.py 17 14760] b'[bootburn]: [GetTegrasAssocWithAurix(552)] : retrying board recovery check...\r\n'
[2024-05-15 03:49:58,909 root DEBUG console_logger.py 17 14760] b'[bootburn]: [getListTargetsInRecovery(3965)] : Bus 002 Device 004: ID 0955:7045 NVIDIA Corp. VMware Virtual USB Mouse\r\n[bootburn]: [GetTegrasAssocWithAurix(552)] : retrying board recovery check...\r\n'
[2024-05-15 03:49:59,416 root DEBUG console_logger.py 17 14760] b'[bootburn]: [getListTargetsInRecovery(3965)] : Bus 002 Device 004: ID 0955:7045 NVIDIA Corp. VMware Virtual USB Mouse\r\n'
[2024-05-15 03:49:59,417 root DEBUG console_logger.py 17 14760] b'[bootburn]: [GetTegrasAssocWithAurix(552)] : retrying board recovery check...\r\n'
[2024-05-15 03:49:59,925 root DEBUG console_logger.py 17 14760] b'[bootburn]: [getListTargetsInRecovery(3965)] : Bus 002 Device 004: ID 0955:7045 NVIDIA Corp. VMware Virtual USB Mouse\r\n'
[2024-05-15 03:49:59,925 root DEBUG console_logger.py 17 14760] b'[bootburn]: [getListTargetsInRecovery(3965)] : Bus 001 Device 012: ID 0955:7023 NVIDIA Corp. APX\r\n'
[2024-05-15 03:49:59,933 root DEBUG console_logger.py 17 14760] b'p3710-10-s05\r\n'
[2024-05-15 03:49:59,934 root DEBUG console_logger.py 17 14760] b'cwd in setBoardConfigPath :: /drive/drive-foundation/tools/flashtools/bootburn_t23x_py\r\n\x1b[01;33m trying hardware folder:\r\n/drive/drive-foundation/platform-config/hardware/nvidia/platform/t23x/automotive/flashing/board_configs\x1b[0m\r\n\r\ncwd in loadBoardGoldenRegsFile :: /drive/drive-foundation/tools/flashtools/bootburn_t23x_py\r\nDefault Schema:/drive/drive-foundation/tools/flashtools/bootburn_t23x_py/nv-customer-data-schema.json\r\n\r\n'
[2024-05-15 03:49:59,934 root DEBUG console_logger.py 17 14760] b'   ***  found bootburn-flags in platform-config.json **** \r\nCheck finished successfully\r\nDone parsing command line\r\n\r\n'
[2024-05-15 03:49:59,935 root DEBUG console_logger.py 17 14760] b'   ***  found bootburn-flags in platform-config.json **** \r\n'
[2024-05-15 03:49:59,935 root DEBUG console_logger.py 17 14760] b'[bootburn]: [setTargetConfigt23xInfoRomInfo(720)] : 940-63710-0010-D00\r\n[bootburn]: [setTargetConfigt23xInfoRomInfo(721)] : None\r\n[bootburn]: [setTargetConfigt23xInfoRomInfo(728)] : ******  s_InforomSkuVersion   D00\r\n'
[2024-05-15 03:49:59,936 root DEBUG console_logger.py 17 14760] b'[bootburn]: [setTargetConfigt23xInfoRomInfo(729)] : ******  s_InforomProdInfo   940-63710-0010\r\n[bootburn]: [validateTargetBoardName(752)] : boardName p3710-10-s05 matches with the connected board\r\n'
[2024-05-15 03:50:00,056 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [GetTargetECID(792)] : Target BR_CID: 0x80012344705DD51F1400000014FF8040\r\n\r\n'
[2024-05-15 03:50:00,057 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [GetTargetECID(793)] : Target ECID: 0x4705DD51F1400000014FF8040\r\n\r\n'
[2024-05-15 03:50:00,057 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [CheckFuseForAuthentication(810)] : Target Authentication State : SHA-2\r\n'
[2024-05-15 03:50:00,058 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [GenAdbSerialNum(558)] : ADB serial number is 8S2TQKFH800000AFV020\r\n'
[2024-05-15 03:50:00,059 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [CheckForDeviceType(908)] : Detected ES production device type\r\n*** in targetConfig, s_BrickOnTCFFlashingFail  not found in board_config ***\r\n*** in targetConfig, s_BrickOnFirmwareFlashingFail  not found in board_config ***\r\n'
[2024-05-15 03:50:00,061 root DEBUG console_logger.py 17 14760] b'*** in targetConfig, s_BrickOnFirmwareFlashingFail  not found in board_config ***\r\n'
[2024-05-15 03:50:00,062 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: creating and flashing coldboot images\r\n[bootburnTegra-A]: [Boot_Create_Flash_Coldboot(746)] : Creating & Flashing images  \r\n[bootburnTegra-A]: Creating rcm-flash images\r\n'
[2024-05-15 03:50:00,062 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [Boot_Create_Flash_Coldboot(749)] : flashingCFG  :: /drive/drive-foundation/tools/flashtools/flashing_kernel/flashing_configs/t23x/quickboot_flashing.cfgself.targetConfig.p_OutDirPath :: /drive/drive-foundation/tools/flashtools/bootburn_t23x_py/__temp_t234/Tegra-A-d9faf966eae\r\n'
[2024-05-15 03:50:01,004 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [SkuBlobGen(1502)] : *****prodInfo :: 940-63710-0010******\r\n'
[2024-05-15 03:50:01,004 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [SkuBlobGen(1503)] : *****skuVersion :: D00******\r\n'
[2024-05-15 03:50:01,085 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [GenerateImage(2432)] : Generating Flashing-RCM Images\r\n'
[2024-05-15 03:50:03,025 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [Boot_Create_Flash_Coldboot(753)] : Generating cold boot flash-images\r\n'
[2024-05-15 03:50:03,974 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [SkuBlobGen(1502)] : *****prodInfo :: 940-63710-0010******\r\n'
[2024-05-15 03:50:03,974 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [SkuBlobGen(1503)] : *****skuVersion :: D00******\r\n'
[2024-05-15 03:50:04,077 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [GenerateImage(2458)] : Generating Flash Images for chain A, this may take a few minutes\r\n'
[2024-05-15 03:51:00,824 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [SkuBlobGen(1502)] : *****prodInfo :: 940-63710-0010******\r\n'
[2024-05-15 03:51:00,826 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [SkuBlobGen(1503)] : *****skuVersion :: D00******\r\n'
[2024-05-15 03:51:00,955 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [GenerateImage(2458)] : Generating Flash Images for chain B, this may take a few minutes\r\n'
[2024-05-15 03:52:00,613 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [SkuBlobGen(1502)] : *****prodInfo :: 940-63710-0010******\r\n'
[2024-05-15 03:52:00,615 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [SkuBlobGen(1503)] : *****skuVersion :: D00******\r\n'
[2024-05-15 03:52:00,684 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [GenerateImage(2458)] : Generating Flash Images for chain C, this may take a few minutes\r\n'
[2024-05-15 03:52:06,150 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [Boot_Create_Flash_Coldboot(757)] : Booting Flashing Kernel\r\n'
[2024-05-15 03:52:06,151 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [BootRCM_FPGA(664)] : BootRCM_FPGA -  rcm-flash\r\n'
[2024-05-15 03:52:07,529 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [CheckOptFuses(577)] : Emc=0x0 Ccplex=0x0 Gpc 0x0 Dla 0x0 Sku 0x90\r\n\r\n'
[2024-05-15 03:52:07,532 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [PreserveTargetSkuInfo(1616)] : Preserving SkuInfo from Target\r\n'
[2024-05-15 03:52:07,824 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [SkuBlobGen(1502)] : *****prodInfo :: 940-63710-0010******\r\n'
[2024-05-15 03:52:07,825 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [SkuBlobGen(1503)] : *****skuVersion :: D00******\r\n'
[2024-05-15 03:52:08,027 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [SkuBlobGen(1502)] : *****prodInfo :: 940-63710-0010******\r\n'
[2024-05-15 03:52:08,027 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [SkuBlobGen(1503)] : *****skuVersion :: D00******\r\n'
[2024-05-15 03:52:08,233 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [getmembctName(476)] : RAMCODE 0\r\n'
[2024-05-15 03:52:08,234 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [getmembctName(489)] : Selected membct_0 for memcfg\r\n'
[2024-05-15 03:52:15,116 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [Boot_Create_Flash_Coldboot(759)] : Flashing cold boot Images\r\n'
[2024-05-15 03:52:15,117 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [FlashImages(3409)] : \r\n\r\n[bootburnTegra-A]: [FlashImages(3410)] : Flashing-Images starting\r\n\r\n'
[2024-05-15 03:52:15,135 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [CheckUSBServiceInit(232)] : Waiting for USB device. This may take up to 100 seconds...\r\n'
[2024-05-15 03:52:15,156 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [CheckUSBServiceInit(248)] : Starting and finding the ADB device : 8S2TQKFH800000AFV020\r\n'
[2024-05-15 03:52:15,219 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [startADBServer(161)] : Starting ADB server \r\n'
[2024-05-15 03:52:20,273 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [executeShellCommand(163)] : shell command -- timeout 5 /drive/drive-foundation/tools/flashtools/flash/adb -s 8S2TQKFH800000AFV020 wait-for-device failed\r\n'
[2024-05-15 03:52:20,274 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [executeShellCommand(165)] : Output: \r\n'
[2024-05-15 03:52:20,275 root DEBUG console_logger.py 17 14760] b'[bootburnTegra-A]: [executeShellCommand(172)] : Return code: 124\r\n'
[2024-05-15 04:07:29,418 root DEBUG console_logger.py 17 14760] b'[bootburn]: \r\n\x1b[01;31mFlashing timed out -- Exiting\x1b[0m\r\n\r\n'
[2024-05-15 04:07:29,799 root DEBUG console_logger.py 17 14760] b'\r\n'
[2024-05-15 04:07:29,900 root ERROR pdk_flasher.py 280 14760] Flashing process exited with error 5
[2024-05-15 04:07:29,901 root INFO runner.py 37 14760] Error in flashing!
[2024-05-15 04:07:29,901 root DEBUG runner.py 39 14760] Error on line 990
[2024-05-15 04:07:29,901 root DEBUG runner.py 40 14760] Exception info: Exception Type <class 'module.errors.FlashingError'>, Traceback <traceback object at 0x7f4ed88559c0>
[2024-05-15 04:07:29,902 root INFO runner.py 42 14760] driveinstaller cannot continue! Check the log file for details: /drive/driveinstaller/driveinstaller.log
[2024-05-15 04:07:29,902 root DEBUG runner.py 62 14760] Cleaning up...
[2024-05-15 04:07:29,902 root DEBUG utilities.py 137 14760] Deleting temporary directories...
[2024-05-15 04:07:29,902 root DEBUG utilities.py 139 14760] Deleting /tmp/pdkinstall-tmp-og3pa4qq-bind
[2024-05-15 04:07:29,903 root DEBUG runner.py 64 14760] Closing the log file.
root@6.0.8.1-0006-build-linux-sdk:/drive# ./flash.py /dev/ttyACM1 p3710
2024-05-15 04:10:31 INFO : Flashing already set for dual bootchain
2024-05-15 04:10:31 INFO : Flash clean already disabled for persistent partitions
2024-05-15 04:10:31 INFO : Initiating pre-flash check
2024-05-15 04:10:31 INFO : Checking Serial Port Connection
2024-05-15 04:10:31 INFO : Serial Port found /dev/ttyACM1
2024-05-15 04:10:31 INFO : Running basic open/close tests on Serial Port Connection
2024-05-15 04:10:31 INFO : Serial Port is open
2024-05-15 04:10:31 INFO : Flushing input and output buffer, discard all content
2024-05-15 04:10:31 INFO : Serial Port is closed
2024-05-15 04:10:31 INFO : Checking available targets
2024-05-15 04:10:31 INFO : Checking Orin board connection
2024-05-15 04:10:31 INFO : Orin board with Device ID -- 0955:7100 found.
2024-05-15 04:10:31 INFO : Orin board with Device ID -- 0955:7045 found.
2024-05-15 04:10:31 INFO : Orin board device path is /dev/bus/usb/001/016
2024-05-15 04:10:31 INFO : Orin board device path is /dev/bus/usb/002/004
2024-05-15 04:10:31 INFO : Pre-flash check complete
2024-05-15 04:10:31 INFO : Flashing DRIVE OS Docker
2024-05-15 04:29:08 INFO : driveinstaller v2.0
2024-05-15 04:29:08 INFO : 
2024-05-15 04:29:08 INFO : SDK/PDK Installer and Flasher
2024-05-15 04:29:08 INFO : Run `./driveinstaller --help` for usage information.
2024-05-15 04:29:08 INFO : 
2024-05-15 04:29:08 INFO : Initializing board and OS configuration to Autonomous vehicle p3710 Linux Tegra A
2024-05-15 04:29:08 INFO : Manifest version 2.0
2024-05-15 04:29:08 INFO : 
2024-05-15 04:29:08 INFO : BOARD SKU : 940-63710-0010-D00
2024-05-15 04:29:08 INFO : Found matching board id p3710-10-s05 in 940-63710-0010-D00 sku
2024-05-15 04:29:08 INFO : Applying additional Bind opts []
2024-05-15 04:29:08 INFO : Executing bind clean cmd make/bind_partitions -b p3710-10-s05 linux clean
2024-05-15 04:29:08 INFO : Executing bind cmd make/bind_partitions -b p3710-10-s05 linux
2024-05-15 04:29:08 INFO : Bind partitions done!
2024-05-15 04:29:08 INFO : Initializing SDK/PDK flasher for configuration
2024-05-15 04:29:08 INFO : Board: p3710
2024-05-15 04:29:08 INFO : Board type: ES
2024-05-15 04:29:08 INFO : Hypervisor config: linux
2024-05-15 04:29:08 INFO : 
2024-05-15 04:29:08 INFO : bypassing inforrom for flashing cmd
2024-05-15 04:29:08 INFO : Pre flash script found! Calling scripts/linux_pre_flash.sh
2024-05-15 04:29:08 INFO : Running flash command: sudo -E /drive/drive-foundation//tools/flashtools/bootburn/bootburn.py -b p3710-10-s05 -B qspi -x /dev/ttyACM1
2024-05-15 04:29:08 INFO : This may take a few minutes
2024-05-15 04:29:08 ERROR : Flashing failed, please contact provider with logs /drive_flashing/log_i6x8vsmkla2njpz3t0ubf1q47r5hcgye.txt and /drive/driveinstaller/driveinstaller.log.

Hi @wang.haiyan20

You should get the support via NVOnline, please discuss with your internal team to know how to do that.

Why do I need this permission when I already have developer DRIVE ORIN permissions? This does not help the problem at all.

That’s due to your company have signed the agreement already, then the support should go with NVOnline, not via forum.