SDKmanager is failing on Orin Nano

The instructions are simple, and yet this does not work. I know the board is working because we are able to burn an image on SD card and boot. However that image is missing all the source, cannot find where to download the actual source that is needed to compile a device tree overlay.

Next step was to try the sdkmanager. IT DOES NOT WORK. Tried it in manual with jumper wire and automatic modes. It starts and fails. This is on USB, it does not work on ethernet at all.
Log from sdkmanager


09:23:14 DEBUG: Flash Jetson Linux - flash: using adapter to install NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_ORIN_NANO_TARGETS to /home/fred/code/nvidia/sdkm_downloads/JetPack_6.1_Linux_JETSON_ORIN_NANO_TARGETS
09:23:14 INFO: Flash Jetson Linux - flash: [host] [ Disk Avail on Partition /dev/nvme2n1p1: 493.05 GB ]
09:23:14 INFO: Flash Jetson Linux - flash: Installing component 'Flash Jetson Linux' (NV_L4T_FLASH_JETSON_LINUX_COMP)
09:23:14 INFO: Flash Jetson Linux - flash: change working directory to /home/fred/code/nvidia/sdkm_downloads/JetPack_6.1_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra
09:23:14 INFO: Flash Jetson Linux - flash: [ Component Install Started ]
09:23:14 INFO: Flash Jetson Linux - flash: current working directory is /home/fred/code/nvidia/sdkm_downloads/JetPack_6.1_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra
09:23:14 INFO: Flash Jetson Linux - flash: exec_command [host]:
09:23:14 INFO: Flash Jetson Linux - flash: **********************
09:23:14 INFO: Flash Jetson Linux - flash: set -e
09:23:14 INFO: Flash Jetson Linux - flash: unset LC_ALL
09:23:14 INFO: Flash Jetson Linux - flash: FlashOptions=$(echo "--storage mmcblk1p1" | sed s/mmcblk1p1/mmcblk0p1/)
09:23:14 INFO: Flash Jetson Linux - flash: echo sudo ./nvsdkmanager_flash.sh $FlashOptions
09:23:14 INFO: Flash Jetson Linux - flash: sudo ./nvsdkmanager_flash.sh $FlashOptions
09:23:14 INFO: Flash Jetson Linux - flash: sleep 20
09:23:14 INFO: Flash Jetson Linux - flash: if [[ '--storage mmcblk1p1' == *'--nv-auto-config'* ]]; then
09:23:14 INFO: Flash Jetson Linux - flash: sleep 40
09:23:14 INFO: Flash Jetson Linux - flash: fi
09:23:14 INFO: Flash Jetson Linux - flash: **********************
09:23:14 INFO: Flash Jetson Linux - flash: exec_command: /home/fred/.nvsdkm/replays/scripts/JetPack_6.1_Linux/NV_L4T_FLASH_JETSON_LINUX_COMP.sh
09:23:14 INFO: Flash Jetson Linux - flash: sudo ./nvsdkmanager_flash.sh --storage mmcblk0p1
09:23:14 INFO: Flash Jetson Linux - flash: user entered mmcblk0p1
09:23:14 INFO: Flash Jetson Linux - flash: *** Checking ONLINE mode ... OK.
09:23:14 INFO: Flash Jetson Linux - flash: *** Checking target board connection ... 1 connections found.
09:25:48 INFO: Flash Jetson Linux - flash: [ 0.1611 ] BL: version 1.4.0.4-t234-54845784-e89ea9bc last_boot_error: 0
09:25:48 INFO: Flash Jetson Linux - flash: [ 0.3124 ] Sending bct_mem
09:25:48 INFO: Flash Jetson Linux - flash: [ 0.3201 ] Sending blob
09:25:54 INFO: Flash Jetson Linux - flash: [ 5.9513 ] RCM-boot started
09:25:54 INFO: Flash Jetson Linux - flash: /home/fred/code/nvidia/sdkm_downloads/JetPack_6.1_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra
09:25:54 INFO: Flash Jetson Linux - flash: ***************************************
09:25:54 INFO: Flash Jetson Linux - flash: * *
09:25:54 INFO: Flash Jetson Linux - flash: * Step 3: Start the flashing process *
09:25:54 INFO: Flash Jetson Linux - flash: * *
09:25:54 INFO: Flash Jetson Linux - flash: ***************************************
09:25:54 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:25:55 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:25:56 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:25:57 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:25:58 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:25:59 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:00 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:01 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:02 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:04 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:05 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:06 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:07 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:08 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:09 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:10 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:11 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:12 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:13 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:14 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:15 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:16 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:17 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:18 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:21 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:22 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:23 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:24 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:25 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:26 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:27 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:28 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:29 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:30 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:31 INFO: Flash Jetson Linux - flash: Waiting for target to boot-up...
09:26:43 INFO: Flash Jetson Linux - flash: Waiting for device to expose ssh ...Waiting for device to expose ssh ...Run command: flash on fc00:1:1:0::2
09:26:43 INFO: Flash Jetson Linux - flash: SSH ready
09:29:44 INFO: Flash Jetson Linux - flash: mount.nfs: Connection timed out
09:29:44 INFO: Flash Jetson Linux - flash: Flash failure
09:29:44 INFO: Flash Jetson Linux - flash: Either the device cannot mount the NFS server on the host or a flash command has failed. Check your network setting (VPN, firewall,...) to make sure the device can mount NFS server. Debug log saved to /tmp/tmp.5u28vEr2BU. You can access the target's terminal through "sshpass -p root ssh root@fc00:1:1:0::2"
09:29:49 INFO: Flash Jetson Linux - flash: Cleaning up...
09:29:49 ERROR: Flash Jetson Linux - flash: exportfs: Failed to stat /home/fred/ti-processor-sdk-linux-rt-am335x-evm-08.02.00.24/targetNFS: No such file or directory
09:29:49 ERROR: Flash Jetson Linux - flash: [exec_command]: /bin/bash -c /home/fred/.nvsdkm/replays/scripts/JetPack_6.1_Linux/NV_L4T_FLASH_JETSON_LINUX_COMP.sh; [error]: exportfs: Failed to stat /home/fred/ti-processor-sdk-linux-rt-am335x-evm-08.02.00.24/targetNFS: No such file or directory
09:29:49 INFO: Flash Jetson Linux - flash: [ Component Install Finished with Error ]
09:29:49 INFO: Flash Jetson Linux - flash: [host] [ 14.70 MB released. Disk Avail on Partition /dev/nvme2n1p1: 493.07 GB ]
09:29:49 INFO: Flash Jetson Linux - flash: [ NV_L4T_FLASH_JETSON_LINUX_COMP Install took 6m34s ]
09:29:49 ERROR: Flash Jetson Linux - flash: command terminated with error
09:29:49 SUMMARY: Flash Jetson Linux - flash: First Error: No such file or directory

Not sure why it is looking for NVMe, it only has a SD card installed. Our working setup that was burned directly onto SD had NVMe connected. This SD only is to find the source so an overlay can be compiled. Does it require NVMe connected?? Did not see that mentioned any place.

I just noticed this, what is this none sense. It is trying to pull from our Ti sdk.

09:29:49 ERROR: Flash Jetson Linux - flash: exportfs: Failed to stat /home/fred/ti-processor-sdk-linux-rt-am335x-evm-08.02.00.24/targetNFS: No such file or directory

How can that even happen. I am running in your protected application. Has this sdkmanager been tested and is it secure? This is beginning to look like a serious problem when it is pulling or exporting to a path it has no business being on.

UPDATE: 12/15/2024
Installed sdkmanager on our dedicated yocto build box and it works perfectly, installed on NVMe and SD. The dev workstation is the wild west. What appears to have gone wrong is env variables.

The solution would involve a startup script that should be sourced and set env variables then launch sdkmanager, with an env that is specific to sdkmanager. I would guess the Ti and Nvidia sdk share some env names and by not being sourced with a startup script it became confused. Thus loading something from the Ti source package.

Hi,

You might close the firewall and run the sdk manager again.
Also some questions to confirm,

  1. Is your host a ubuntu 20.04 or18.04 ?
  2. Is your host running on a physical machine or a virtual machine (e.g. WSL, VirtualBox, VMware) ?
  3. Is your Orin Nano a dev kit or a custom carrier board?

Thanks

22.04
native
dev kit

What is the Jetpack Version you want to flash?
The ubuntu 22.04 only support flash Jetpack 6.x.
You can refer to this doc to confirm.

Thanks

Jetpack 6.1

Suggest disable the firewall and run the sdk mananger again.

Thanks