Hi Team,
I am trying to reflash the PX2 p2379. I set it into recovery mode using minicom. And then sdkmanager detects it as Jetson TX2i instead of PX2 p2379. I tried on sdkmanager 1.4/1.3/1.2/1.1, they all detect the px2 board as Jetson TX2i.
More information:
when I close the recovery mode, the px2 board can be detected correctly.
I also tried on Ubuntu18.04 and 16.04, it is the same issue.
When I enter sdkmanager, the default detected board is Jetson TX2i. Also, when I choose Drive PX2 P2379, a notice is shown:
Dear @baofu.wu,
Can you keep the board in normal mode and check flashing using sdkmanager? do you see any issue with flashing?
Dear @SivaRamaKrishnaNV,
Thank you for your reply! And the following is the issue with flashing in normal mode.
18:23:37 SUMMARY: DriveWorks on Target: Install completed successfully.
18:23:39 DEBUG: running command < true >
18:23:39 INFO: command finished successfully
18:23:39 DEBUG: DPX Patch: using adapter to install NV_DPX_PATCH_COMP@PX2_AUTOCHAUFFEUR to /home/mist/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR
18:23:39 INFO: DPX Patch: [host] [ Disk Avail:136.58 GB ]
18:23:39 INFO: DPX Patch: Installing component 'DPX Patch' (NV_DPX_PATCH_COMP)
18:23:39 INFO: DPX Patch: NV_DPX_PATCH_COMP include 1 package
18:23:39 INFO: DPX Patch: skip Install package 0 of component NV_DPX_PATCH_COMP[host] [ 4.00 KB used. Disk Avail: 136.58 GB ]
18:23:39 INFO: DPX Patch: [ NV_DPX_PATCH_COMP Install took 0s ]
18:23:39 INFO: DPX Patch: command finished successfully
18:23:39 SUMMARY: DPX Patch: Install completed successfully.
18:24:44 DEBUG: running command < true >
18:24:44 INFO: command finished successfully
18:24:44 DEBUG: running command < stat /dev/ttyUSB1 >
18:24:44 INFO: File: '/dev/ttyUSB1'
18:24:44 INFO: Size: 0 Blocks: 0 IO Block: 4096 character special file
18:24:44 INFO: Device: 6h/6d Inode: 431 Links: 1 Device type: bc,1
18:24:44 INFO: Access: (0660/crw-rw----) Uid: ( 0/ root) Gid: ( 20/ dialout)
18:24:44 INFO: Access: 2020-12-29 01:10:56.271814616 -0500
18:24:44 INFO: Modify: 2020-12-29 01:10:56.271814616 -0500
18:24:44 INFO: Change: 2020-12-28 20:09:10.271814616 -0500
18:24:44 INFO: Birth: -
18:24:44 INFO: command finished successfully
18:24:44 DEBUG: running command < true >
18:24:44 INFO: command finished successfully
18:24:44 DEBUG: running command < lsof /dev/ttyUSB1 2>/dev/null >
18:24:44 DEBUG: command terminated with error
18:24:44 DEBUG: running command < true >
18:24:44 INFO: command finished successfully
18:24:44 DEBUG: Flash Dual Tegras in Parallel: using adapter to install NV_FLASH_DUAL_TEGRAS_IN_PARALLEL_COMP@PX2_AUTOCHAUFFEUR to /home/mist/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_PX2_AUTOCHAUFFEUR
18:24:44 INFO: Flash Dual Tegras in Parallel: Using LegacyInstaller to install NV_FLASH_DUAL_TEGRAS_IN_PARALLEL_COMP
18:24:44 INFO: Flash Dual Tegras in Parallel: exec_command: awk '/^\s*deb.*archive.ubuntu.com/{print $2}' /etc/apt/sources.list | head -1 | tr -d '\n'
18:24:44 INFO: Flash Dual Tegras in Parallel: mist
18:24:44 INFO: Flash Dual Tegras in Parallel: exec_command: df -l -B1 -T --total | tail -1 | awk '{ printf $5 }'
18:24:44 INFO: Flash Dual Tegras in Parallel: 3245
18:24:44 INFO: Flash Dual Tegras in Parallel: 0
18:24:44 INFO: Flash Dual Tegras in Parallel: /bin/bash: /opt/nvidia/sdkmanager/resources/app/output/installUtils/NV_DRIVE_LINUX_BUNDLE/common/_installer/exit.code: Permission denied
18:24:44 ERROR: Flash Dual Tegras in Parallel: [exec_command]: /bin/bash -c echo "2" > /opt/nvidia/sdkmanager/resources/app/output/installUtils/NV_DRIVE_LINUX_BUNDLE/common/_installer/exit.code; [error]: exit status 1
18:24:44 INFO: Flash Dual Tegras in Parallel: /bin/bash: /opt/nvidia/sdkmanager/resources/app/output/installUtils/NV_DRIVE_LINUX_BUNDLE/common/_installer/exit.code: Permission denied
18:24:44 ERROR: Flash Dual Tegras in Parallel: [exec_command]: /bin/bash -c echo "Failed to flash device. /var/lock/LCK..ttyUSB1 is already used by another process." >> /opt/nvidia/sdkmanager/resources/app/output/installUtils/NV_DRIVE_LINUX_BUNDLE/common/_installer/exit.code; [error]: exit status 1
18:24:44 ERROR: Flash Dual Tegras in Parallel: install failed in adapter; [error]: exit status 2
18:24:44 ERROR: Flash Dual Tegras in Parallel: command terminated with error
SDKM_logs_DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_for_DRIVE_PX_2_AutoChauffeur_2020-12-29_18-12-46.zip (105.1 KB)
Dear @baofu.wu,
It seems the serial connection to aurix is not closed before flashing. I could see /var/lock/LCK…ttyUSB1 is already used by another process in the logs. Could you check that?
It works! Thank you very much!
The steps I did are as follows:
- keep the board in normal mode, DO NOT enter into recovery mode;
- I uninstall all DRIVE OS 5.0.10.3 SDK WITH DRIVE … and TARGET COMPONENTS(DRIVE PX2 AUTOCHAUFFEUR) softwares in the SDK Manager STEP 01;
- Release serial connection, easpecillly, /dev/ttyUSB1,/dev/ttyUSB2 and /dev/ttyUSB6.(I closed all minicom terminals.)
- flashing
1 Like