Forgot username/password on Nvidia DRIVE Xavier N3550

Hi, I reflashed my Nvidia DRIVE Xavier N3550 using the ‘nvcr.io/drive/driveos-sdk/drive-agx-xavier-linux-aarch64-sdk-flash-x86:5.2.6.0’ docker. But looks like I have forgotten the credentials for the board and am unable to login to the board. I have tried ‘nvidia’/‘nvidia’ and ‘ubuntu’/‘ubuntu’. Both don’t work.

I am wondering how I can reset the board to factory and login with a fresh user setup?

Successful flash:

I’ve tried setting the board in recovery mode (https://docs.nvidia.com/drive/drive-os-5.2.6.0L/drive-os/index.html#page/DRIVE_OS_Linux_SDK_NGC_Development_Guide/Board/board_recovery.html#) and flashing, but no success

I did see this piece of information - Install DRIVE Docker Containers from NVIDIA GPU Cloud (NGC) :: DRIVE Platform Installation Guide with NVIDIA SDK Manager which I am guessing is the behavior I am seeing

Dear @ashwin.alapakkamkannan ,
Does flash using sdkmanager not work for you?

Thanks!

I had to setup another machine with Ubuntu18, and it worked using the sdk manager. Is there a way to this with the docker while running ./flash.sh?

  1. Also, it says GPU not available after flashing with the sdkmanager.

  1. Does the host machine need to have a GPU and/or GPU Drivers?
  2. I see that CUDA is installed but CUDA Driver isn’t. How can i install CUDA Driver?

I can see the following info:

lspci | grep -i nvidia
0000:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad0 (rev a1)
0001:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad2 (rev a1)
0004:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad1 (rev a1)
tegrastats
10-24-2024 08:11:22 RAM 584/28307MB (lfb 5719x4MB) CPU [1%@1804,1%@1804,0%@1804,0%@1804,0%@1804,0%@1804,0%@1804] GR3D_FREQ 0% AUX@25.5C CPU@26.5C Tdiode@25.25C AO@26C GPU@25.5C tj@36C
10-24-2024 08:11:23 RAM 584/28307MB (lfb 5719x4MB) CPU [2%@1804,1%@1804,0%@1804,0%@1804,0%@1804,0%@1804,0%@1804] GR3D_FREQ 0% AUX@25.5C CPU@26.5C Tdiode@25.25C AO@26C GPU@25C tj@36C
10-24-2024 08:11:24 RAM 584/28307MB (lfb 5719x4MB) CPU [3%@1804,1%@1804,0%@1804,0%@1804,0%@1804,0%@1804,0%@1804] GR3D_FREQ 0% AUX@25.5C CPU@26.5C Tdiode@25.25C AO@26C GPU@25C tj@36C
10-24-2024 08:11:25 RAM 584/28307MB (lfb 5719x4MB) CPU [1%@1804,0%@1804,0%@1804,0%@1804,0%@1804,0%@1804,0%@1804] GR3D_FREQ 0% AUX@25.5C CPU@26.5C Tdiode@25.25C AO@26C GPU@25.5C tj@36C
10-24-2024 08:11:26 RAM 584/28307MB (lfb 5719x4MB) CPU [3%@1804,5%@1804,0%@1804,0%@1804,0%@1804,0%@1804,0%@1804] GR3D_FREQ 0% AUX@25.5C CPU@26.5C Tdiode@25.25C AO@26C GPU@25.5C tj@36C

FWIW, I was able to install DriveWorks based on DriveWorks SDK Reference: Getting Started

and I get the following output

./sample_hello_world 
*************************************************
Welcome to Driveworks SDK
[24-10-2024 08:27:30] Platform: Detected DDPX - Tegra A
[24-10-2024 08:27:30] TimeSource: monotonic epoch time offset is 1729728362414584
[24-10-2024 08:27:30] TimeSource: Could not detect valid PTP time source at nvpps. Fallback to eth0
[24-10-2024 08:27:30] TimeSource Eth: Lost PTP time synchronizaton. Synchronized time will not be available from this timesource.
[24-10-2024 08:27:30] TimeSource: Could not detect valid PTP time source at 'eth0'. Fallback to CLOCK_MONOTONIC.
[24-10-2024 08:27:31] Platform: number of GPU devices detected 1
[24-10-2024 08:27:31] Platform: currently selected GPU device integrated ID 0
[24-10-2024 08:27:31] Context::mountResourceCandidateDataPath resource FAILED to mount from '/usr/local/driveworks-4.0/bin/data/': VirtualFileSystem: Failed to mount '/usr/local/driveworks-4.0/bin/data/[.pak]'
[24-10-2024 08:27:31] Context::findDataRootInPathWalk data/DATA_ROOT found at: /usr/local/driveworks-4.0/bin/../data
[24-10-2024 08:27:31] Context::mountResourceCandidateDataPath resource FAILED to mount from '/usr/local/driveworks-4.0/bin/../data/': VirtualFileSystem: Failed to mount '/usr/local/driveworks-4.0/bin/../data/[.pak]'
[24-10-2024 08:27:31] Context::findDataRootInPathWalk data/DATA_ROOT found at: /usr/local/driveworks-4.0/data
[24-10-2024 08:27:31] Context::mountResourceCandidateDataPath resource FAILED to mount from '/usr/local/driveworks-4.0/data/': VirtualFileSystem: Failed to mount '/usr/local/driveworks-4.0/data/[.pak]'
[24-10-2024 08:27:31] SDK: No resources(.pak) mounted, some modules will not function properly
[24-10-2024 08:27:31] SDK: Create NvMediaDevice
[24-10-2024 08:27:31] SDK: Create NvMedia2D
[24-10-2024 08:27:31] egl::Display: found 1 EGL devices
[24-10-2024 08:27:31] egl::Display: use drm device: /dev/dri/card0
[24-10-2024 08:27:31] TimeSource: monotonic epoch time offset is 1729728362414585
[24-10-2024 08:27:31] TimeSource: Could not detect valid PTP time source at nvpps. Fallback to eth0
[24-10-2024 08:27:31] TimeSource Eth: Lost PTP time synchronizaton. Synchronized time will not be available from this timesource.
[24-10-2024 08:27:31] TimeSource: Could not detect valid PTP time source at 'eth0'. Fallback to CLOCK_MONOTONIC.
[24-10-2024 08:27:31] Initialize DriveWorks SDK v4.0.0
[24-10-2024 08:27:31] Release build with GNU 7.3.1 from no-gitversion-build against Drive PDK v5.2.6.0
Context of Driveworks SDK successfully initialized.
Version: 4.0.0
GPU devices detected: 1
[24-10-2024 08:27:31] Platform: currently selected GPU device integrated ID 0
----------------------------------------------
Device: 0, Xavier
CUDA Driver Version / Runtime Version : 10.2 / 10.2
CUDA Capability Major/Minor version number: 7.2
Total amount of global memory in MBytes:28307.1
Memory Clock rate Khz: 1109000
Memory Bus Width bits: 256
L2 Cache Size: 524288
Maximum 1D Texture Dimension Size (x): 131072
Maximum 2D Texture Dimension Size (x,y): 131072, 65536
Maximum 3D Texture Dimension Size (x,y,z): 16384, 16384, 16384
Maximum Layered 1D Texture Size, (x): 32768 num: 2048
Maximum Layered 2D Texture Size, (x,y): 32768, 32768 num: 2048
Total amount of constant memory bytes: 65536
Total amount of shared memory per block bytes: 49152
Total number of registers available per block: 65536
Warp size: 32
Maximum number of threads per multiprocessor: 2048
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): 1024,1024,64
Max dimension size of a grid size (x,y,z): 2147483647,65535,65535
Maximum memory pitch bytes: 2147483647
Texture alignment bytes: 512
Concurrent copy and kernel execution: Yes, copy engines num: 1
Run time limit on kernels: No
Integrated GPU sharing Host Memory: Yes
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Disabled
Device supports Unified Addressing (UVA): Yes
Device PCI Domain ID: 0, Device PCI Bus ID: 0, Device PCI location ID: 0
Compute Mode: Default (multiple host threads can use ::cudaSetDevice() with device simultaneously)
Concurrent kernels: 1
Concurrent memory: 0

[24-10-2024 08:27:31] Releasing Driveworks SDK Context
[24-10-2024 08:27:31] SDK: Release NvMediaDevice
[24-10-2024 08:27:32] SDK: Release NvMedia2D
Happy autonomous driving!

The above output indicates, GPU is detected on target and is working.
On target, GPU drivers are installed as part of DRIVE OS.