Driver orin flash failed

Please provide the following info (tick the boxes after creating this topic):
Software Version
[*] 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-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.2.10884
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 18.04 Host installed with DRIVE OS Docker Containers
other

be able to upgrade and flash 6.0.5 multiple times before. either from sdkmanager or command line (bootburn.py).
problem start from yesterday, trying to upgrade to 6.0.6. sdkm.log attached.

  1. tried to install DRIVE OS 6.0.6 From SDKManager, flash failed.
  2. power off/power on PC and Driver orin, Tried to install from SDK manager, still failed.
  3. upgrade sdk manager to 1.9.2.10884, remove all downloaded file,and installedl package, then reinstall everything from SDK manager 1.9.2.10884. flash failed.
  4. power off/power on PC and Driver orin, Tried to install from SDK manager, still failed.
  5. Try upgrade from command line. “tools/flashtools/bootburn/bootburn.py -b p3710-10-s05 -B qspi” failed.
NvShell>tegrarecovery x1 on
Info: Executing cmd: tegrarecovery, argc: 2, args: x1 on
Command Executed
NvShell>tegrareset x1
Info: Executing cmd: tegrareset, argc: 1, args: x1
NvShell>ERROR: MCU_PLTFPWRMGR: Tegra Reset Request failed - Preconditons not met

sdkm.log (158.4 KB)

Please provide us with the complete logs located at ~/.nvsdkm, including the driveinstaller.log file. Thanks.

attached ~/.nvsdkm folder. thanks.
nvsdkm.tgz (223.5 KB)

I noticed the following messages in your driveinstaller.log file. It appears that the flash process did not even start.
Just to confirm, your devkit is still capable of powering on and running with DRIVE OS 6.0.5, is that correct?

[2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [GetTegrasAssocWithAurix(507)] : Setting Tegra-A on hold…
[2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(475)] : Aurix command ‘tegrareset x1 h\n’ failed on 1 attempt
[2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(476)] : Resending command…
[2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(475)] : Aurix command ‘tegrareset x1 h\n’ failed on 2 attempt
[2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(476)] : Resending command…
[2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(475)] : Aurix command ‘tegrareset x1 h\n’ failed on 3 attempt
[2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(476)] : Resending command…
[2023-03-15 17:09:20,375 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(482)] : **** Aurix response ****
[2023-03-15 17:09:20,375 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(483)] : b’tegrareset x1 h\r\n’b’Info: Executing cmd: tegrareset, argc: 2, args: x1 h \r\n’b’NvShell>ERROR: MCU_PLTFPWRMGR: Tegra Reset Request failed - Preconditons not met \r\n’b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’‘b’’

The 1st time, before I flash with SDK, I can login to DriveOS 6.0.5. from ssh or /dev/ttyACM0.
after it failed. /dev/ttyACM0 no output, normally it will print kernel boot log.
/dev/ttyACM1 works, but Cann’t enter recovery mode.

NvShell>tegrarecovery x1 on
Info: Executing cmd: tegrarecovery, argc: 2, args: x1 on
Command Executed
NvShell>tegrareset x1
Info: Executing cmd: tegrareset, argc: 1, args: x1
NvShell>ERROR: MCU_PLTFPWRMGR: Tegra Reset Request failed - Preconditons not met

from the log you posted. I found the same failure, check the last line.

[2023-03-15 17:09:20,374 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(476)] : Resending command…
[2023-03-15 17:09:20,375 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(482)] : **** Aurix response ****
[2023-03-15 17:09:20,375 root DEBUG utilities.py 294 10236] [bootburn]: [ExecuteAurixCommand(483)] : b’tegrareset x1 h\r\n’b’Info: Executing cmd: tegrareset, argc: 2, args: x1 h \r\n’b’
NvShell>ERROR: MCU_PLTFPWRMGR: Tegra Reset Request failed - Preconditons not met

It seems like the system is currently unusable, is that correct? Our team is actively investigating the issue and we will provide an update as soon as possible.

you are right. this system is unusable. we are currently using another drive orin to test 6.0.6 system hang issue.
and that system was upgraded from 6.0.5 to 6.0.6 with SDKManager 1.9.2.10884. it went smoothly.

1 Like

Please provide the part number and the serial number of the devkit. Thanks.

Hi I can’t find any label or number on the device. from log, I can found a BOARD SKU : 940-63710-0010-B00. I’m not sure if this help.
I tried run aurixreset. I can boot to 6.0.5, and login to ubuntu now.
and previous error gone. but flash failed.

NvShell>tegrarecovery x1 on
Info: Executing cmd: tegrarecovery, argc: 2, args: x1 on
Command Executed
NvShell>tegrareset
Info: Executing cmd: tegrareset, argc: 0, args:
NvShell>INFO: MCU_PLTFPWRMGR: Reseting
INFO: MCU_PLTFPWRMGR: VRS11 PG Monitoring disable ....
INFO: NVMCU_ORINPWRCTRL: Tegra x1 Boot Chain: A
MCU_FOH: SPI : E2E_P05Check Status : 7 : 0
ERROR: MCU_ERRHANDLER: McuFoh E2E Frame Error
INFO: MCU_PLTFPWRMGR: Tegra reset trigger is complete !
Command Executed
MCU_FOH: MCU FOH : Initiate SOC Error Pin Monitoring & SPI communication
MCU_FOH: Spi Transmit Started
MCU_FOH: SPI : E2E_P05Check Status : 7 : 0
MCU_FOH: SPI : E2E_P05Check Status : 7 : 0
INFO: SftyMon_IoHwAbs: PG_VRS11 monitoring started...
INFO: MCU_SWC_FanControl: max_rpm fan1 : 0
INFO: MCU_SWC_FanControl: maxrpm of fan1 has more than 50 percent deviation against rated maxrpm

I attached new error log. after previous failure solved.
nvsdkm.tgz (106.0 KB)

It appears that the installation process might have been disrupted during the apt-get install. Have you tried using the same host system that was able to successfully flash DRIVE OS 6.0.6 for other devkits? Alternatively, you can try using the Docker container method outlined in the guide.

14:17:21.702 - info: NV_DRIVE_MASTER_DEB_SDK_COMP@DRIVE_AGX_ORIN_DEVKITS: exec_command: sudo apt-get update; sleep 0.5; sudo -E apt-get -y --allow-downgrades --allow-downgrades install nv-driveos-build-sdk-linux-6.0.6.0-32443318=6.0.6*

14:21:23.246 - info: NV_DRIVE_MASTER_DEB_SDK_COMP@DRIVE_AGX_ORIN_DEVKITS: Errors were encountered while processing:
14:21:23.246 - info: NV_DRIVE_MASTER_DEB_SDK_COMP@DRIVE_AGX_ORIN_DEVKITS: nv-driveos-linux-initramfs-6.0.6.0-32441545
14:21:23.247 - info: NV_DRIVE_MASTER_DEB_SDK_COMP@DRIVE_AGX_ORIN_DEVKITS: nv-driveos-linux-oss-src-6.0.6.0-32441545
14:21:23.247 - info: NV_DRIVE_MASTER_DEB_SDK_COMP@DRIVE_AGX_ORIN_DEVKITS: nv-driveos-build-sdk-linux-6.0.6.0-32443318
14:21:30.675 - error: NV_DRIVE_MASTER_DEB_SDK_COMP@DRIVE_AGX_ORIN_DEVKITS: E: Sub-process /usr/bin/dpkg returned an error code (1)
14:21:30.676 - info: Event: NV_DRIVE_MASTER_DEB_SDK_COMP@DRIVE_AGX_ORIN_DEVKITS - error is: E: Sub-process /usr/bin/dpkg returned an error code (1)
14:21:30.682 - info: NV_DRIVE_MASTER_DEB_SDK_COMP@DRIVE_AGX_ORIN_DEVKITS: [ Package Install Finished with Error ]
14:21:30.682 - info: NV_DRIVE_MASTER_DEB_SDK_COMP@DRIVE_AGX_ORIN_DEVKITS: [host] [ 4.22 GB used. Disk Avail: 28.99 GB ]
14:21:30.683 - info: NV_DRIVE_MASTER_DEB_SDK_COMP@DRIVE_AGX_ORIN_DEVKITS: [ NV_DRIVE_MASTER_DEB_SDK_COMP Install took 5m22s ]
14:21:30.683 - info: NV_DRIVE_MASTER_DEB_SDK_COMP@DRIVE_AGX_ORIN_DEVKITS:
14:21:30.698 - error: command error code: 48

Do you have any insights into why tegrareset is now working?

that host is not physically located in my office.
I will try to reinstall everything.

After I ran this command, then it went back to normal

sudo minicom -w -D /dev/ttyACM1
aurixreset

Weren’t you previously unable to manually enter the system’s recovery mode as following log?

I always got following error before, and ubuntu not boot. no output on /dev/ttyACM0

NvShell>tegrarecovery x1 on
Info: Executing cmd: tegrarecovery, argc: 2, args: x1 on
Command Executed
NvShell>tegrareset x1
Info: Executing cmd: tegrareset, argc: 1, args: x1
NvShell>ERROR: MCU_PLTFPWRMGR: Tegra Reset Request failed - Preconditons not met

after I typed aurixreset it went normal. and ubuntu can boot.

BTW: is there a command I can force sdkmanager redownload, and reinstall everything?

I would recommend flashing the devkit using the Docker container method, which will allow you to avoid any potential host system issues.