SDK Manager fails to flash Orin Nano from Host virtual machine

I recently acquired a Jetson Orin Nano Developer Kit and hit a number of problems with setting it up using the SDK Manager.

My first attempts were using a Virtual Machine under Proxmox/QEMU with Ubuntu 20.04 and 18.04 installed, each failed to flash the Nano due to USB error.

19:53:38 INFO: Start to check If Jetson device Ready To Flash Recovery...
19:53:38 DEBUG: running command < true >
19:53:38 INFO: exec_command: true
19:53:38 INFO: command finished successfully
19:53:38 DEBUG: running command < /tmp/device_mode_host_setup.jetson.sh >
19:53:38 INFO: exec_command: /tmp/device_mode_host_setup.jetson.sh
19:53:38 INFO: Found route default enp6s18, setting up device mode
19:53:38 INFO: net.ipv4.ip_forward = 1
19:53:38 INFO: Device mode on host successfully set with DNS 8.8.8.8!
19:53:38 INFO: command finished successfully
19:53:38 DEBUG: running command < true >
19:53:38 INFO: command finished successfully
19:53:38 DEBUG: Flash Jetson Linux - flash: using adapter to install NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_ORIN_NANO_TARGETS to /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_ORIN_NANO_TARGETS
19:53:38 INFO: Flash Jetson Linux - flash: [ Component Install Started ]
19:53:38 INFO: Flash Jetson Linux - flash: exec_command: /tmp/tmp_NV_L4T_FLASH_JETSON_LINUX_COMP.jetson.sh
19:53:38 INFO: Flash Jetson Linux - flash: sudo ./nvsdkmanager_flash.sh --storage nvme0n1p1 --nv-auto-config --username jetson
19:53:38 INFO: Flash Jetson Linux - flash: user entered nvme0n1p1 --nv-auto-config --username jetson
19:53:38 INFO: Flash Jetson Linux - flash: *** Checking ONLINE mode ... OK.
19:53:38 INFO: Flash Jetson Linux - flash: *** Checking target board connection ... 1 connections found.
19:53:38 INFO: Flash Jetson Linux - flash: *** Reading ECID ... FUSELEVEL=fuselevel_production hwchipid=0x23 bootauth=NS
19:53:38 INFO: Flash Jetson Linux - flash: *** Reading EEPROM ... "/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py" --chip 0x23 --applet "/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/bootloader/mb1_t234_prod.bin" --cfg readinfo_t234_min_prod.xml --dev_params tegra234-br-bct-diag-boot.dts --device_config tegra234-mb1-bct-device-p3701-0000.dts --misc_config tegra234-mb1-bct-misc-p3701-0000.dts --bins "mb2_applet applet_t234.bin" --skipuid --cmd "dump eeprom cvm cvm.bin; reboot recovery"
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.0273 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.0278 ] File rcm_state open failed
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.0751 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.0802 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.0804 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.0846 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.0848 ] adding BCH for mb2_t234_aligned.bin
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.0911 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.0985 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.0986 ] adding BCH for mb2_t234_aligned.bin
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.1200 ] WARNING: boot chain is not completed. set to 0
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.1255 ] Assuming zero filled SBK key
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.1350 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.1425 ] Assuming zero filled SBK key
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.1461 ] Assuming zero filled SBK key
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.1447 ] Offset :68 Len :8124
19:53:38 ERROR: Flash Jetson Linux - flash: [ 0.1468 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.1506 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.1572 ] MB1-BCT version: 0.10
19:53:38 ERROR: Flash Jetson Linux - flash: [ 0.1585 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.1634 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.1697 ] Assuming zero filled SBK key
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.1743 ] tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
19:53:38 INFO: Flash Jetson Linux - flash: [ 0.1753 ] BR_CID: 0x80012344705DE8DB780000000D020280
19:53:39 INFO: Flash Jetson Linux - flash: [ 0.2047 ] Sending bct_br
19:53:44 ERROR: Flash Jetson Linux - flash: [ 0.2478 ] ERROR: might be timeout in USB write.
19:53:44 INFO: Flash Jetson Linux - flash: Command tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
19:53:44 ERROR: Flash Jetson Linux - flash: command terminated with error
19:53:44 SUMMARY: DateTime Target Setup - target: Depends on failed component

There must be something about the USB pass through from the physical Host to the Virtual Machine that the sdkmanager does not like.

The above issue goes unsolved, but have added it here in case others come up against this problem.

I ended up flashing the Nano successfully using a Laptop running Ubuntu 20.04 on the physical host.

You’ll have to configure the VM to keep the USB even if it disconnects and reconnects (which it does during flash). The flash software has no way to handle the VM, you’d basically have to get help from the VM vendor on how to keep the USB during a disconnect/connect event.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.