ERROR : Flash Jetson AGX Xavier : lost connection

When trying to flash an out-of-the-box Jetson AGX Xavier, I get the error:

ERROR : Flash Jetson AGX Xavier : lost connection

The Jetson is put into Forced Recovery Mode (I Hold the Recovery Button, Press and hold Power Button, then release both)
When I run lsusb on the host device, it appears
I’m trying to use SDK Manager and it fails every time

Is the host a VM? If so, then this would be the cause. If not, then it is something else.

No, the host is an XPS 13 Developer Edition running Ubuntu 18.04.2

Hi jacob0c66g,
The lost connection error can be safely ignored during flashing. Could you please provide the full log for more investigation?

@Jacob,
Python 2.7 must be installed on your system:

Sudo apt-get install python
Reboot just to be on the safe side
Now you will be able to flash with SDK manager without losing connection!

More info here:
https://devtalk.nvidia.com/default/topic/1048872/error-when-install-jetson-software-with-sdk-manager/?offset=1

same problem here:
Brand new Xavier board. Unpacked, installed NVIDIA stuff on the machine as it tells when booting up.
Then downloaded Jetpack 4.2
1st Problem: Doesnt run on ubuntu 18.10, so i setup a 18.04 VM
Installed Jetpack and Python there. forwarded USB: -> lost connection problem
Used other laptop with Ubuntu 16.04 instead, installed SDK Manager there
Again: lost connection.

It ends with “FLASHING FAILED!”
Click on “export logs” opens the download directory, no log file there

Is there a way to install latest Jetpack without flashing? I am out off options.

Hi gaylord,
The log file is a zip file in the download directory. It is saved to this directory automatically.
The lost connection error can be safely ignored during flashing.
It is also possible to deselect flashing component, and only install target components. Please see screenshot below.

@Gaylord: Just FYI, there is no ignoring the ‘connection error’ during the flash, because the routine aborts.

1 Like

+1 had the same problem here. While writing this i figured out how to flash Jetson successfully…

I found the following hints helpful for flashing:

  • First download all the files and flash in a second run
  • .. In step 2, click Download & Install Options
  • .. Tick Download now, install later
  • .. For me the installer said 10GB were required. However, that is not sufficient! In the end the whole process consumed 40GB on my disk including both the downloads and the built files
  • .. Triple check the log for error messages. I had a bunch of "Hash Sum mismatch" errors and ended up downloading the files manually.
  • Unplug all Ethernet cables and disconnect wifi on your host. Network with the jetson is established via the USB-C cable. (this was the critical point for me)
  • Start process again from step 1
  • When the setup asks you for recovery mode, get jetson in recovery mode manually! Automatic never worked for me...

I hope this might help someone.

Hi all. The sdk manager is really strange. First it didnt work in Ubuntu 18.10. It also didn’t work on a VM with 18.04. I then used an old laptop with 16.04 but unfortunately the app requires more than 768 pixels verticaly and it does not have a scrollbar. In the end I switched to a new computer with 18.04 and Nvidia GPU and a lot of free HDD on root partition. I also made sure to only flash the Jetson OS in the first step setting the board to forced recovery first. HDD-wise: It downloads 35 GB of data to the download folder(home volume in my case), then it seems to build images (which filled my root fs unfortunately). Then it tries to install a lot of software on the host system also. It take me some time to realize I needed to uninstall libopencv-dev from the host system before running sdk-manager. Finally after 2 days of struggle, it ran smoothly and when I deselect the os flashing, it works even without errors. This was a very. Expensive experience.

@gaylord thanks for sharing.

For anyone facing this there is a workaround.

In my own experience (with JetPack), USB connection was not so fine and I used to do post-flash install with wired ethernet.

Thanks for the link. I just connected a bigger monitor at first. But then the laptop did not have Nvidia GPU so all the host installs failed. Therefore I used another computer then

agree.

Also it might be worth mentioning that I was never successful in flashing the device when I selected a folder on another partition than my home partition. It was something with “run the command with sudo” followed by an error in the log. So just leave the path untouched ;)

Here’s the full log that I get:

DETAILS TERMINAL
Component Name: All
Message Type: All

Filter text here…

13:39:32 INFO : null
13:39:38 INFO : Drivers for Jetson AGX : download ‘Drivers for Jetson AGX’ success
13:39:38 INFO : File System and OS : download ‘File System and OS’ success
13:39:38 INFO : Drivers for Jetson AGX : install ‘Drivers for Jetson AGX’ success
13:39:38 INFO : File System and OS : install ‘File System and OS’ success
13:39:43 INFO : [host] [sudo] password for hansen:
13:39:43 INFO :
13:39:43 INFO :
13:39:43 DEBUG : running command < lsusb | grep “NVidia Corp” >
13:39:43 INFO : Bus 001 Device 008: ID 0955:7019 e[01;31me[KNVidia Corpe[me[K.
13:39:43 INFO : command finished successfully
13:39:43 DEBUG : running command < lsusb | grep 0955:7020 >
13:39:43 ERROR : command terminated with error
13:39:43 INFO : Jetson device is in recovery mode.
13:39:43 INFO : Device Mode Host Setup in Flash : Start to install ‘Device Mode Host Setup in Flash’
13:39:43 DEBUG : Device Mode Host Setup in Flash : running command < cd ‘/home/hansen/nvidia/nvidia_sdk/JetPack_4.2_Linux_P2888’ ; /opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter -a=‘install’ -c=‘eyJpZCI6Ik5WX0w0VF9ERVZJQ0VfTU9ERV9TRVRVUF9DT01QX0lOX0ZMQVNIIiwibmFtZSI6IkRldmljZSBNb2RlIEhvc3QgU2V0dXAgaW4gRmxhc2giLCJkZXNjcmlwdGlvbiI6IlNldHVwcyBmb3IgZGV2aWNlIG1vZGUgaG9zdCBwYXJ0IGluIEw0VCAgYmVmb3JlIGZsYXNoaW5nLCB0byBsZXQgdGhlIHRhcmdldCBjYW4gYWNjZXNzIGhvc3QgaW50ZXJuZXQuIiwiY29tcFR5cGUiOiJmbGFzaCIsImlzVmlzaWJsZSI6ZmFsc2UsImlzRGV0ZWN0YWJsZUluc3RhbGwiOmZhbHNlLCJpc0luc3RhbGxQYXRoQ3VzdG9taXphYmxlIjp0cnVlLCJ2ZXJzaW9uIjoiMS4wIiwib3BlcmF0aW5nU3lzdGVtcyI6WyJ1YnVudHUxNjA0IiwidWJ1bnR1MTgwNCJdLCJpbnN0YWxsU2l6ZU1CIjowLCJkb3dubG9hZEZpbGVzIjpbXSwiaW5zdGFsbFBhcmFtZXRlcnMiOnsiaW5zdGFsbERpciI6Int7VEFSR0VUX1JPT1R9fS97e0JVTkRMRV9USVRMRX19X3t7Qk9BUkRfSUR9fSIsImluc3RhbGxDb21tYW5kcyI6W3siZXhlY0Jhc2giOlsic2V0ICtlIiwiZXRoX3BvcnRfbmFtZT0kKGlwIHJvdXRlIHNob3cgZGVmYXVsdCB8IGF3ayAnL2RlZmF1bHQgdmlhLyB7cHJpbnQgJDU7IGV4aXR9JykiLCJpZiBbWyAkZXRoX3BvcnRfbmFtZSA9PSAnJyBdXTsgdGhlbiIsIiAgIGVjaG8gJ0NhbiBub3QgZm91bmQgcm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I6W10sImV4dGVybmFsX2RlcGVuZGVuY2llcyI6W10sInBhcmVudElEIjoiTlZfRFJJVkVfRkxBU0hfVEFSR0VUX0dST1VQIiwiYWN0aW9uIjoxLCJkb3dubG9hZEVycm9ycyI6W10sImluc3RhbGxQYXRoIjoiL2hvbWUvaGFuc2VuL252aWRpYS9udmlkaWFfc2RrL0pldFBhY2tfNC4yX0xpbnV4X1AyODg4IiwiYnVuZGxlVGl0bGUiOiJKZXRQYWNrXzQuMl9MaW51eCIsImluc3RhbGxSb290IjoiL2hvbWUvaGFuc2VuL252aWRpYS9udmlkaWFfc2RrIiwiYm9hcmRJRCI6IlAyODg4IiwidGFyZ2V0QWNjZXNzSW5mbyI6eyJ1c2VyIjoibnZpZGlhIiwicGFzc3dvcmQiOiJudmlkaWEiLCJob3N0IjoiMTkyLjE2OC41NS4xIiwicG9ydCI6IjIyIn19’ -i=‘NV_L4T_DEVICE_MODE_SETUP_COMP_IN_FLASH’ -v=‘1.0’ -l=’/home/hansen/nvidia/nvidia_sdk/JetPack_4.2_Linux_P2888’ -L=’/home/hansen/.nvsdkm/logs/JetPack_4.2_Linux’ -p=‘24467’ -t=‘P2888’ -e=‘undefined’ >
13:39:43 INFO : Device Mode Host Setup in Flash : [ Disk Avail:171.59 GB ]
13:39:43 INFO : Device Mode Host Setup in Flash : Using GenericInstaller to Install NV_L4T_DEVICE_MODE_SETUP_COMP_IN_FLASH
13:39:43 INFO : Device Mode Host Setup in Flash : enter working directory: /home/hansen/nvidia/nvidia_sdk/JetPack_4.2_Linux_P2888
13:39:43 INFO : Device Mode Host Setup in Flash : [ Component Install Started ]
13:39:43 INFO : Device Mode Host Setup in Flash : current working directory is /home/hansen/nvidia/nvidia_sdk/JetPack_4.2_Linux_P2888
13:39:43 INFO : Device Mode Host Setup in Flash : exec_command [host]:
13:39:43 INFO : Device Mode Host Setup in Flash : **********************
13:39:43 INFO : Device Mode Host Setup in Flash : #!/bin/bash
13:39:43 INFO : Device Mode Host Setup in Flash : set -e
13:39:43 INFO : Device Mode Host Setup in Flash : set +e
13:39:43 INFO : Device Mode Host Setup in Flash : eth_port_name=$(ip route show default | awk ‘/default via/ {print $5; exit}’)
13:39:43 INFO : Device Mode Host Setup in Flash : if [[ $eth_port_name == ‘’ ]]; then
13:39:43 INFO : Device Mode Host Setup in Flash : echo ‘Can not found route default $eth_port_name, device mode setup failed!’
13:39:43 INFO : Device Mode Host Setup in Flash : exit 0
13:39:43 INFO : Device Mode Host Setup in Flash : fi
13:39:43 INFO : Device Mode Host Setup in Flash : echo ‘Found route default’ $eth_port_name’, setting up device mode’
13:39:43 INFO : Device Mode Host Setup in Flash : setup_t=‘192.168.55.0/24’
13:39:43 INFO : Device Mode Host Setup in Flash : sudo iptables -t nat -A POSTROUTING -s $setup_t -o $eth_port_name -j MASQUERADE
13:39:43 INFO : Device Mode Host Setup in Flash : sudo iptables -A FORWARD -s $setup_t -o $eth_port_name -j ACCEPT
13:39:43 INFO : Device Mode Host Setup in Flash : sudo iptables -A FORWARD -d $setup_t -m state --state ESTABLISHED,RELATED -i eth_port_name -j ACCEPT 13:39:43 INFO : Device Mode Host Setup in Flash : sudo sysctl -w net.ipv4.ip_forward=1 13:39:43 INFO : Device Mode Host Setup in Flash : check_google_dns=(dig @8.8.8.8 nvidia.com || true)
13:39:43 INFO : Device Mode Host Setup in Flash : if [[ check_google_dns == *'Got answer'* ]]; then 13:39:43 INFO : Device Mode Host Setup in Flash : echo 'Device mode on host successfuly set with DNS 8.8.8.8!' 13:39:43 INFO : Device Mode Host Setup in Flash : exit 0 13:39:43 INFO : Device Mode Host Setup in Flash : else 13:39:43 INFO : Device Mode Host Setup in Flash : echo 'Default google DNS is not working, trying to find a valid server in local host settings!' 13:39:43 INFO : Device Mode Host Setup in Flash : dns_list=(nmcli -t device show eth_port_name | grep 'DNS' | grep -o '[^:]*‘)
13:39:43 INFO : Device Mode Host Setup in Flash : for dns in dns_list; do 13:39:43 INFO : Device Mode Host Setup in Flash : check_dns=(dig @$dns nvidia.com || true)
13:39:43 INFO : Device Mode Host Setup in Flash : if [[ $check_dns == ‘Got answer’ ]]; then
13:39:43 INFO : Device Mode Host Setup in Flash : sudo iptables -t nat -A PREROUTING -p tcp -d 8.8.8.8 --dport 53 -j DNAT --to-destination $dns
13:39:43 INFO : Device Mode Host Setup in Flash : sudo iptables -t nat -A PREROUTING -p udp -d 8.8.8.8 --dport 53 -j DNAT --to-destination $dns
13:39:43 INFO : Device Mode Host Setup in Flash : echo ‘Device mode on host successfuly set with DNS’ $dns’!’
13:39:43 INFO : Device Mode Host Setup in Flash : exit 0
13:39:43 INFO : Device Mode Host Setup in Flash : fi
13:39:43 INFO : Device Mode Host Setup in Flash : done
13:39:43 INFO : Device Mode Host Setup in Flash : echo ‘Can not found a valid DNS server, device mode setup failed!’
13:39:43 INFO : Device Mode Host Setup in Flash : echo ‘If needed to use device mode, please change the target default dns to a valid server by following the steps in release note.’
13:39:43 INFO : Device Mode Host Setup in Flash : exit 0
13:39:43 INFO : Device Mode Host Setup in Flash : fi
13:39:43 INFO : Device Mode Host Setup in Flash : **********************
13:39:43 INFO : Device Mode Host Setup in Flash : exec_command: /tmp/tmp_NV_L4T_DEVICE_MODE_SETUP_COMP_IN_FLASH.sh
13:39:43 INFO : Device Mode Host Setup in Flash : Found route default wlp2s0, setting up device mode
13:39:43 INFO : Device Mode Host Setup in Flash : net.ipv4.ip_forward = 1
13:39:43 INFO : Device Mode Host Setup in Flash : Device mode on host successfuly set with DNS 8.8.8.8!
13:39:43 INFO : Device Mode Host Setup in Flash : [ Component Install Finished Successfully ]
13:39:43 INFO : Device Mode Host Setup in Flash : [ 12.00 KB used. Disk Avail: 171.59 GB ]
13:39:43 INFO : Device Mode Host Setup in Flash : [ NV_L4T_DEVICE_MODE_SETUP_COMP_IN_FLASH Install took 1s ]
13:39:43 INFO : Device Mode Host Setup in Flash : command finished successfully
13:39:43 INFO : Device Mode Host Setup in Flash : install ‘Device Mode Host Setup in Flash’ success
13:39:43 INFO : Flash Jetson AGX Xavier : Start to install ‘Flash Jetson AGX Xavier’
13:39:44 DEBUG : Flash Jetson AGX Xavier : running command < cd ‘/home/hansen/nvidia/nvidia_sdk/JetPack_4.2_Linux_P2888’ ; /opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter -a=‘install’ -c=‘eyJpZCI6Ik5WX0w0VF9GTEFTSF9YQVZJRVJfV0lUSF9PU19JTUFHRV9DT01QIiwibmFtZSI6IkZsYXNoIEpldHNvbiBBR1ggWGF2aWVyIiwiZGVzY3JpcHRpb24iOiJGbGFzaCBKZXRzb24gQUdYIiwiY29tcFR5cGUiOiJmbGFzaCIsImlzVmlzaWJsZSI6dHJ1ZSwibGljZW5zZUlkIjoiTlZfSkVUUEFDS19PU19FVUxBIiwiaXNEZXRlY3RhYmxlSW5zdGFsbCI6ZmFsc2UsImlzSW5zdGFsbFBhdGhDdXN0b21pemFibGUiOnRydWUsInRpbWVvdXRTZWNvbmRzIjozNjAwLCJ2ZXJzaW9uIjoiMzIuMSIsIm9wZXJhdGluZ1N5c3RlbXMiOlsidWJ1bnR1MTYwNCIsInVidW50dTE4MDQiXSwiaW5zdGFsbFNpemVNQiI6MzAwNTMsImRvd25sb2FkRmlsZXMiOltdLCJpbnN0YWxsUGFyYW1ldGVycyI6eyJpbnN0YWxsRGlyIjoie3tUQVJHRVRfUk9PVH19L3t7QlVORExFX1RJVExFfX1fe3tCT0FSRF9JRH19L0xpbnV4X2Zvcl9UZWdyYSIsImluc3RhbGxDb21tYW5kcyI6W3sicmVtb3RlRXhlY0Jhc2giOlsic3VkbyByZWJvb3QgZm9yY2VkLXJlY292ZXJ5Il0sImlnbm9yZUVycm9yIjp0cnVlfSx7ImNvbW1lbnQiOiJ3YWl0IGZvciBkZXZpY2UgdG8gc2h1dGRvd24gYW5kIHRvIGdvIHRvIHJlY292ZXJ5IG1vZGUiLCJ1c2VyQ29tbWFuZCI6InNsZWVwIDIwIn0seyJ1c2VyQ29tbWFuZCI6InN1ZG8gLi9mbGFz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undefined’ >
13:39:44 INFO : Flash Jetson AGX Xavier : [ Disk Avail:171.59 GB ]
13:39:44 INFO : Flash Jetson AGX Xavier : Using GenericInstaller to Install NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP
13:39:44 INFO : Flash Jetson AGX Xavier : enter working directory: /home/hansen/nvidia/nvidia_sdk/JetPack_4.2_Linux_P2888/Linux_for_Tegra
13:39:44 INFO : Flash Jetson AGX Xavier : [ Component Install Started ]
13:39:44 INFO : Flash Jetson AGX Xavier : current working directory is /home/hansen/nvidia/nvidia_sdk/JetPack_4.2_Linux_P2888/Linux_for_Tegra
13:39:44 INFO : Flash Jetson AGX Xavier : exec_command [target]:
13:39:44 INFO : Flash Jetson AGX Xavier : **********************
13:39:44 INFO : Flash Jetson AGX Xavier : #!/bin/bash
13:39:44 INFO : Flash Jetson AGX Xavier : set -e
13:39:44 INFO : Flash Jetson AGX Xavier : export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8
13:39:44 INFO : Flash Jetson AGX Xavier : sudo reboot forced-recovery
13:39:44 INFO : Flash Jetson AGX Xavier : **********************
13:39:44 INFO : Flash Jetson AGX Xavier : exec_command: scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP.sh nvidia@192.168.55.1:~; ssh -t -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no nvidia@192.168.55.1 “~/tmp_NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP.sh && rm -f ~/tmp_NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP.sh”
13:41:54 ERROR : Flash Jetson AGX Xavier : lost connection
13:44:05 INFO : Flash Jetson AGX Xavier : exit status 255
13:44:05 WARNING : Flash Jetson AGX Xavier : command scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP.sh nvidia@192.168.55.1:~; ssh -t -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no nvidia@192.168.55.1 “~/tmp_NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP.sh && rm -f ~/tmp_NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP.sh” finished with error, but ignored
13:44:05 INFO : Flash Jetson AGX Xavier : exec_command: sleep 20
13:44:25 INFO : Flash Jetson AGX Xavier : exec_command: sudo ./flash.sh jetson-xavier mmcblk0p1
13:44:25 INFO : Flash Jetson AGX Xavier : ###############################################################################
13:44:25 INFO : Flash Jetson AGX Xavier : # L4T BSP Information:
13:44:25 INFO : Flash Jetson AGX Xavier : # R32 (release), REVISION: 1.0, GCID: 14531094, BOARD: t186ref, EABI: aarch64,
13:44:25 INFO : Flash Jetson AGX Xavier : # DATE: Wed Mar 13 07:41:08 UTC 2019
13:44:25 INFO : Flash Jetson AGX Xavier : ###############################################################################
13:44:33 INFO : Flash Jetson AGX Xavier : Error: probing the target board failed.
13:44:33 INFO : Flash Jetson AGX Xavier : Make sure the target board is connected through
13:44:33 INFO : Flash Jetson AGX Xavier : USB port and is in recovery mode.
13:44:33 INFO : Flash Jetson AGX Xavier : exit status 1
13:44:33 INFO : Flash Jetson AGX Xavier : [ Component Install Finished with Error ]
13:44:33 ERROR : Flash Jetson AGX Xavier : NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP command sudo ./flash.sh jetson-xavier mmcblk0p1 finished with error
13:44:33 INFO : Flash Jetson AGX Xavier :
13:44:33 INFO : Flash Jetson AGX Xavier : [ 19.73 MB used. Disk Avail: 171.57 GB ]
13:44:33 INFO : Flash Jetson AGX Xavier : [ NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP Install took 4m49s ]
13:44:33 INFO : Flash Jetson AGX Xavier : command sudo ./flash.sh jetson-xavier mmcblk0p1 finished with error
13:44:33 ERROR : Flash Jetson AGX Xavier : command terminated with error
13:44:33 ERROR : Flash Jetson AGX Xavier : install ‘Flash Jetson AGX Xavier’ failure, command < cd ‘/home/hansen/nvidia/nvidia_sdk/JetPack_4.2_Linux_P2888’ ; /opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter -a=‘install’ -c=‘eyJpZCI6Ik5WX0w0VF9GTEFTSF9YQVZJRVJfV0lUSF9PU19JTUFHRV9DT01QIiwibmFtZSI6IkZsYXNoIEpldHNvbiBBR1ggWGF2aWVyIiwiZGVzY3JpcHRpb24iOiJGbGFzaCBKZXRzb24gQUdYIiwiY29tcFR5cGUiOiJmbGFzaCIsImlzVmlzaWJsZSI6dHJ1ZSwibGljZW5zZUlkIjoiTlZfSkVUUEFDS19PU19FVUxBIiwiaXNEZXRlY3RhYmxlSW5zdGFsbCI6ZmFsc2UsImlzSW5zdGFsbFBhdGhDdXN0b21pemFibGUiOnRydWUsInRpbWVvdXRTZWNvbmRzIjozNjAwLCJ2ZXJzaW9uIjoiMzIuMSIsIm9wZXJhdGluZ1N5c3RlbXMiOlsidWJ1bnR1MTYwNCIsInVidW50dTE4MDQiXSwiaW5zdGFsbFNpemVNQiI6MzAwNTMsImRvd25sb2FkRmlsZXMiOltdLCJpbnN0YWxsUGFyYW1ldGVycyI6eyJpbnN0YWxsRGlyIjoie3tUQVJHRVRfUk9PVH19L3t7QlVORExFX1RJVExFfX1fe3tCT0FSRF9JRH19L0xpbnV4X2Zvcl9UZWdyYSIsImluc3RhbGxDb21tYW5kcyI6W3sicmVtb3RlRXhlY0Jhc2giOlsic3VkbyByZWJvb3QgZm9yY2VkLXJlY292ZXJ5Il0sImlnbm9yZUVycm9yIjp0cnVlfSx7ImNvbW1lbnQiOiJ3YWl0IGZvciBkZXZpY2UgdG8gc2h1dGRvd24gYW5kIHRvIGdvIHRvIHJlY292ZXJ5IG1vZGUiLCJ1c2VyQ29tbWFuZCI6InNsZWVwIDIwIn0seyJ1c2VyQ29tbWFuZCI6InN1ZG8gLi9mbGFzaC5zaCBqZXRzb24teGF2aWVyIG1tY2JsazBwMSJ9LHsidXNlckNvbW1hbmQiOiJzbGVlcCAxMCJ9XX0sInRhcmdldElkcyI6WyJQMjg4OCJdLCJkZXBlbmRlbmNpZXMiOlt7ImlkIjoiTlZfTDRUX0ZJTEVfU1lTVEVNX0FORF9PU19YQVZJRVJfQ09NUCIsIm9wZXJhdG9yIjoiPT0iLCJ2ZXIiOiIzMi4xIn0seyJpZCI6Ik5WX0w0VF9EUklWRVJTX1hBVklFUl9DT01QIiwib3BlcmF0b3IiOiI9PSIsInZlciI6IjMyLjEifSx7ImlkIjoiTlZfTDRUX0RFVklDRV9NT0RFX1NFVFVQX0NPTVBfSU5fRkxBU0giLCJvcGVyYXRvciI6Ij09IiwidmVyIjoiMS4wIn1dLCJleHRlcm5hbF9kZXBlbmRlbmNpZXMiOltdLCJwYXJlbnRJRCI6Ik5WX0RSSVZFX0ZMQVNIX1RBUkdFVF9HUk9VUCIsImFjdGlvbiI6MSwiZG93bmxvYWRFcnJvcnMiOltdLCJpbnN0YWxsUGF0aCI6Ii9ob21lL2hhbnNlbi9udmlkaWEvbnZpZGlhX3Nkay9KZXRQYWNrXzQuMl9MaW51eF9QMjg4OCIsImJ1bmRsZVRpdGxlIjoiSmV0UGFja180LjJfTGludXgiLCJpbnN0YWxsUm9vdCI6Ii9ob21lL2hhbnNlbi9udmlkaWEvbnZpZGlhX3NkayIsImJvYXJkSUQiOiJQMjg4OCIsInRhcmdldEFjY2Vzc0luZm8iOnsidXNlciI6Im52aWRpYSIsInBhc3N3b3JkIjoibnZpZGlhIiwiaG9zdCI6IjE5Mi4xNjguNTUuMSIsInBvcnQiOiIyMiJ9fQ==’ -i=‘NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP’ -v=‘32.1’ -l=’/home/hansen/nvidia/nvidia_sdk/JetPack_4.2_Linux_P2888’ -L=’/home/hansen/.nvsdkm/logs/JetPack_4.2_Linux’ -p=‘24467’ -t=‘P2888’ -e=‘undefined’ > terminated with error

Hi jacob0c66g,
Could you please try to manually flash board with below steps and paste the error log if any?

  1. Manually put device to recovery mode:
    1. If Jetson is powered off:
      1a) Press and hold the recovery button
      1b) Power on Jetson
      1c) Wait a second
      1d) Release the recovery button

    2. If Jetson is already powered on (even if lsusb shows Jetson as being in recovery mode):
      2a) Press and hold the recovery button
      2b) Wait a second
      2c) Press and release the reset button
      2d) Wait a second
      2e) Release the recovery button

  2. cd ~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P2888
  3. sudo ./flash.sh jetson-xavier mmcblk0p1

@FelixB: Unplugging the ethernet cable helped me.

Here’s the error I get in terminal:

###############################################################################

L4T BSP Information:

R32 (release), REVISION: 1.0, GCID: 14531094, BOARD: t186ref, EABI: aarch64,

DATE: Wed Mar 13 07:41:08 UTC 2019

###############################################################################
Error: probing the target board failed.
Make sure the target board is connected through
USB port and is in recovery mode.

And just for kicks and grins I tried running the automatic mode through the SDK manager. There was a popup warning that only lasted for a split second but said something to the effect of “Failed to setup Network”

Hi jacob0c66g,
If manually flashing doesn’t work, please put device to recovery mode again then flash, lsusb alone is not sufficient. Please see comments from Stephen https://devtalk.nvidia.com/default/topic/1048660/jetson-tx2/i-can-t-install-jetpack-4-2-sdk-on-my-tx2/post/5328041/#5328041

Hi jacob0c66g,

Have you managed to get the Xaviar flashing successfully?
Any result can be shared?

Thanks