Hello everyone.
I’ve been trying to troubleshoot why this is happening for a week now but no solution i have found online works. Which may be a hardware issue, but please let me know. Any help is appreciated.
Here’s the setup:
- using original TX2 dev kit
- flashing with SDK Manager - Jetpack 4.2
- flashed last month successfully, and several more times as well, but not sure what happened and now it won't work
- running ubuntu 18.04 LTS on host
- i get this now when i boot up the TX2 after the failed flash(login doens't work, and doesn't load to desktop) https://puu.sh/DAgry/e136c0f76a.jpg
- lsusb lists the device but the sdk manager is not picking it up.
log below
12:55:11 INFO : null
12:55:14 INFO : CUDA on Host : download 'CUDA on Host' success
12:55:14 INFO : Drivers for Jetson TX2 & TX2i : download 'Drivers for Jetson TX2 & TX2i' success
12:55:14 INFO : OpenCV on Host : download 'OpenCV on Host' success
12:55:14 INFO : File System and OS : download 'File System and OS' success
12:55:14 INFO : NVIDIA Nsight Graphics : download 'NVIDIA Nsight Graphics' success
12:55:14 INFO : NVIDIA Nsight Systems : download 'NVIDIA Nsight Systems' success
12:55:14 INFO : VisionWorks on Host : download 'VisionWorks on Host' success
12:55:14 INFO : DevTools Documentation : download 'DevTools Documentation' success
12:55:14 INFO : CUDA Cross Compile Package on Host : download 'CUDA Cross Compile Package on Host' success
12:55:14 INFO : install 'CUDA on Host' success
12:55:14 INFO : install 'Drivers for Jetson TX2 & TX2i' success
12:55:14 INFO : install 'OpenCV on Host' success
12:55:14 INFO : install 'File System and OS' success
12:55:14 INFO : install 'NVIDIA Nsight Graphics' success
12:55:14 INFO : install 'NVIDIA Nsight Systems' success
12:55:14 INFO : install 'VisionWorks on Host' success
12:55:14 INFO : install 'DevTools Documentation' success
12:55:14 INFO : install 'CUDA Cross Compile Package on Host' success
12:55:14 INFO : OpenCV on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/libopencv-dev_3.3.1-2-g31ccdfe11_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : OpenCV on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/libopencv_3.3.1-2-g31ccdfe11_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : OpenCV on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/libopencv-python_3.3.1-2-g31ccdfe11_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : OpenCV on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/libopencv-samples_3.3.1-2-g31ccdfe11_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : cuDNN on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/libcudnn7-doc_7.3.1.28-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : TensorRT on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/libnvinfer5_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : TensorRT on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/libnvinfer-dev_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : TensorRT on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/tensorrt_5.0.6.3-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : TensorRT on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/python-libnvinfer_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : TensorRT on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/python-libnvinfer-dev_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : TensorRT on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/python3-libnvinfer_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : TensorRT on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/python3-libnvinfer-dev_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : cuDNN on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/libcudnn7_7.3.1.28-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : TensorRT on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/graphsurgeon-tf_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : TensorRT on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/uff-converter-tf_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : cuDNN on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/libcudnn7-dev_7.3.1.28-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : VisionWorks on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/libvisionworks-sfm-repo_0.90.4_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : VisionWorks on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/libvisionworks-tracking-repo_0.88.2_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : VisionWorks on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/libvisionworks-repo_1.6.0.500n_arm64.deb with correct checksum, skip downloading.
12:55:14 INFO : Multimedia API : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/Tegra_Multimedia_API_R32.1.0_aarch64.tbz2 with correct checksum, skip downloading.
12:55:15 INFO : TensorRT on Target : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/libnvinfer-samples_5.0.6-1+cuda10.0_all.deb with correct checksum, skip downloading.
12:55:15 INFO : CUDA Toolkit for L4T : Found file /home/hiram/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-10-0-local-10.0.166_1.0-1_arm64.deb with correct checksum, skip downloading.
12:55:15 DEBUG : running command < [ `lsusb | grep -c "NVidia Corp"` -ne 1 ] >
12:55:15 ERROR : command terminated with error
12:55:15 INFO : 0955:7c18 detected.
12:55:15 DEBUG : running command < lsusb | grep 0955:7020 >
12:55:15 ERROR : command terminated with error
12:55:15 INFO : Jetson device is in recovery mode.
12:55:15 DEBUG : running command < lsusb | grep 0955:7c18 >
12:55:15 INFO : Bus 001 Device 019: ID e[01;31me[K0955:7c18e[me[K NVidia Corp.
12:55:15 INFO : command finished successfully
12:55:15 INFO : Verified, 0955:7c18 detected in recovery mode.
12:55:15 INFO : Start to install 'Device Mode Host Setup in Flash'
12:55:15 DEBUG : Device Mode Host Setup in Flash : running command < cd '/home/hiram/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310' ; '/opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter' -a='install' -c='eyJpZCI6Ik5WX0w0VF9ERVZJQ0VfTU9ERV9TRVRVUF9DT01QX0lOX0ZMQVNIIiwibmFtZSI6IkRldmljZSBNb2RlIEhvc3QgU2V0dXAgaW4gRmxhc2giLCJkZXNjcmlwdGlvbiI6IlNldHVwcyBmb3IgZGV2aWNlIG1vZGUgaG9zdCBwYXJ0IGluIEw0VCAgYmVmb3JlIGZsYXNoaW5nLCB0byBsZXQgdGhlIHRhcmdldCBjYW4gYWNjZXNzIGhvc3QgaW50ZXJuZXQuIiwiY29tcFR5cGUiOiJmbGFzaCIsImlzVmlzaWJsZSI6ZmFsc2UsImlzRGV0ZWN0YWJsZUluc3RhbGwiOmZhbHNlLCJpc0luc3RhbGxQYXRoQ3VzdG9taXphYmxlIjp0cnVlLCJ2ZXJzaW9uIjoiMS4wIiwib3BlcmF0aW5nU3lzdGVtcyI6WyJ1YnVudHUxNjA0IiwidWJ1bnR1MTgwNCJdLCJpbnN0YWxsU2l6ZU1CIjowLCJkb3dubG9hZEZpbGVzIjpbXSwiaW5zdGFsbFBhcmFtZXRlcnMiOnsiaW5zdGFsbERpciI6Int7VEFSR0VUX1JPT1R9fS97e0JVTkRMRV9USVRMRX19X3t7Qk9BUkRfSUR9fSIsImluc3RhbGxDb21tYW5kcyI6W3siZXhlY0Jhc2giOlsic2V0ICtlIiwiZXRoX3BvcnRfbmFtZT0kKGlwIHJvdXRlIHNob3cgZGVmYXVsdCB8IGF3ayAnL2RlZmF1bHQgdmlhLyB7cHJpbnQ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SJdfV19LCJ0YXJnZXRJZHMiOlsiUDMzMTAiLCJQMzQ4OS0wMDAwIiwiUDI4ODgiLCJQMzQ0OC0wMDAwIl0sImRlcGVuZGVuY2llcyI6W10sImV4dGVybmFsX2RlcGVuZGVuY2llcyI6W10sInRhcmdldElEIjoiUDMzMTAiLCJfaWQiOiJOVl9MNFRfREVWSUNFX01PREVfU0VUVVBfQ09NUF9JTl9GTEFTSEBQMzMxMCIsInBhcmVudElEIjoiTlZfRFJJVkVfRkxBU0hfVEFSR0VUX0dST1VQIiwiX3BhcmVudElEIjoiTlZfRFJJVkVfRkxBU0hfVEFSR0VUX0dST1VQQFAzMzEwIiwiaW5zdGFsbFN0YXR1cyI6Im5vbmUiLCJhY3Rpb24iOjEsImRvd25sb2FkRXJyb3JzIjpbXSwiYnVuZGxlVGl0bGUiOiJKZXRQYWNrXzQuMl9MaW51eCIsImluc3RhbGxQYXRoIjoiL2hvbWUvaGlyYW0vbnZpZGlhL252aWRpYV9zZGsvSmV0UGFja180LjJfTGludXhfUDMzMTAiLCJpbnN0YWxsUm9vdCI6Ii9ob21lL2hpcmFtL252aWRpYS9udmlkaWFfc2RrIiwiYm9hcmRJRCI6IlAzMzEwIiwidGFyZ2V0QWNjZXNzSW5mbyI6eyJ1c2VyIjoibnZpZGlhIiwicGFzc3dvcmQiOiJudmlkaWEiLCJob3N0IjoiMTkyLjE2OC41NS4xIiwicG9ydCI6IjIyIn0sImlzRHJ5UnVuIjpmYWxzZX0=' -i='NV_L4T_DEVICE_MODE_SETUP_COMP_IN_FLASH' -v='1.0' -l='/home/hiram/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310' -L='/home/hiram/.nvsdkm/logs/JetPack_4.2_Linux' -p='28226' -t='P3310' -e='undefined' >
12:55:15 INFO : Device Mode Host Setup in Flash : [ Disk Avail:865.30 GB ]
12:55:15 INFO : Device Mode Host Setup in Flash : Using GenericInstaller to Install NV_L4T_DEVICE_MODE_SETUP_COMP_IN_FLASH
12:55:15 INFO : Device Mode Host Setup in Flash : change working directory to /home/hiram/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310
12:55:15 INFO : Device Mode Host Setup in Flash : [ Component Install Started ]
12:55:15 INFO : Device Mode Host Setup in Flash : current working directory is /home/hiram/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310
12:55:15 INFO : Device Mode Host Setup in Flash : exec_command [host]:
12:55:15 INFO : Device Mode Host Setup in Flash : **********************
12:55:15 INFO : Device Mode Host Setup in Flash : #!/bin/bash
12:55:15 INFO : Device Mode Host Setup in Flash : set -e
12:55:15 INFO : Device Mode Host Setup in Flash :
12:55:15 INFO : Device Mode Host Setup in Flash : function safe_apt_install {
12:55:15 INFO : Device Mode Host Setup in Flash : echo "*begin $1, $2"
12:55:15 INFO : Device Mode Host Setup in Flash : tmp_log=/tmp/jetpack_dpkg_log.txt
12:55:15 INFO : Device Mode Host Setup in Flash : sudo rm -f $tmp_log
12:55:15 INFO : Device Mode Host Setup in Flash : set +e; $1 2>&1 | tee $tmp_log; CMD_STATUS=${PIPESTATUS[0]}; set -e
12:55:15 INFO : Device Mode Host Setup in Flash : while [ ${CMD_STATUS} -ne 0 ]; do
12:55:15 INFO : Device Mode Host Setup in Flash : if grep -q -e "is locked by another process" -e "E: Could not get lock /var/lib" $tmp_log; then
12:55:15 INFO : Device Mode Host Setup in Flash : sudo rm -f $tmp_log
12:55:15 INFO : Device Mode Host Setup in Flash : set +e; $1 2>&1 | tee $tmp_log; CMD_STATUS=${PIPESTATUS[0]}; set -e
12:55:15 INFO : Device Mode Host Setup in Flash : echo "Waiting $2 seconds for apt to be available"; sleep ${2}
12:55:15 INFO : Device Mode Host Setup in Flash : else
12:55:15 INFO : Device Mode Host Setup in Flash : echo "Unhandled error when running $1"; exit 1
12:55:15 INFO : Device Mode Host Setup in Flash : fi
12:55:15 INFO : Device Mode Host Setup in Flash : done
12:55:15 INFO : Device Mode Host Setup in Flash : }
12:55:15 INFO : Device Mode Host Setup in Flash : set +e
12:55:15 INFO : Device Mode Host Setup in Flash : eth_port_name=$(ip route show default | awk '/default via/ {print $5; exit}')
12:55:15 INFO : Device Mode Host Setup in Flash : if [[ $eth_port_name == '' ]]; then
12:55:15 INFO : Device Mode Host Setup in Flash : echo 'Can not found route default $eth_port_name, device mode setup failed!'
12:55:15 INFO : Device Mode Host Setup in Flash : exit 0
12:55:15 INFO : Device Mode Host Setup in Flash : fi
12:55:15 INFO : Device Mode Host Setup in Flash : echo 'Found route default' $eth_port_name', setting up device mode'
12:55:15 INFO : Device Mode Host Setup in Flash : setup_t='192.168.55.0/24'
12:55:15 INFO : Device Mode Host Setup in Flash : sudo iptables -t nat -A POSTROUTING -s $setup_t -o $eth_port_name -j MASQUERADE
12:55:15 INFO : Device Mode Host Setup in Flash : sudo iptables -A FORWARD -s $setup_t -o $eth_port_name -j ACCEPT
12:55:15 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
12:55:15 INFO : Device Mode Host Setup in Flash : sudo sysctl -w net.ipv4.ip_forward=1
12:55:15 INFO : Device Mode Host Setup in Flash : check_google_dns=$(dig @8.8.8.8 nvidia.com || true)
12:55:15 INFO : Device Mode Host Setup in Flash : if [[ $check_google_dns == *'Got answer'* ]]; then
12:55:15 INFO : Device Mode Host Setup in Flash : echo 'Device mode on host successfuly set with DNS 8.8.8.8!'
12:55:15 INFO : Device Mode Host Setup in Flash : exit 0
12:55:15 INFO : Device Mode Host Setup in Flash : else
12:55:15 INFO : Device Mode Host Setup in Flash : echo 'Default google DNS is not working, trying to find a valid server in local host settings!'
12:55:15 INFO : Device Mode Host Setup in Flash : dns_list=$(nmcli -t device show $eth_port_name | grep 'DNS' | grep -o '[^:]*$')
12:55:15 INFO : Device Mode Host Setup in Flash : for dns in $dns_list; do
12:55:15 INFO : Device Mode Host Setup in Flash : check_dns=$(dig @$dns nvidia.com || true)
12:55:15 INFO : Device Mode Host Setup in Flash : if [[ $check_dns == *'Got answer'* ]]; then
12:55:15 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
12:55:15 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
12:55:15 INFO : Device Mode Host Setup in Flash : echo 'Device mode on host successfuly set with DNS' $dns'!'
12:55:15 INFO : Device Mode Host Setup in Flash : exit 0
12:55:15 INFO : Device Mode Host Setup in Flash : fi
12:55:15 INFO : Device Mode Host Setup in Flash : done
12:55:15 INFO : Device Mode Host Setup in Flash : echo 'Can not found a valid DNS server, device mode setup failed!'
12:55:15 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.'
12:55:15 INFO : Device Mode Host Setup in Flash : exit 0
12:55:15 INFO : Device Mode Host Setup in Flash : fi
12:55:15 INFO : Device Mode Host Setup in Flash : **********************
12:55:15 INFO : Device Mode Host Setup in Flash : exec_command: /tmp/tmp_NV_L4T_DEVICE_MODE_SETUP_COMP_IN_FLASH.sh
12:55:15 INFO : Device Mode Host Setup in Flash : Found route default wlp0s20f3, setting up device mode
12:55:15 INFO : Device Mode Host Setup in Flash : [host] [sudo] password for hiram:
12:55:15 INFO : Device Mode Host Setup in Flash :
12:55:15 INFO : Device Mode Host Setup in Flash : net.ipv4.ip_forward = 1
12:55:15 INFO : Device Mode Host Setup in Flash : Device mode on host successfuly set with DNS 8.8.8.8!
12:55:15 INFO : Device Mode Host Setup in Flash : [ Component Install Finished Successfully ]
12:55:15 INFO : Device Mode Host Setup in Flash : [ 12.00 KB used. Disk Avail: 865.30 GB ]
12:55:15 INFO : Device Mode Host Setup in Flash : [ NV_L4T_DEVICE_MODE_SETUP_COMP_IN_FLASH Install took 0s ]
12:55:15 INFO : Device Mode Host Setup in Flash : command finished successfully
12:55:15 INFO : install 'Device Mode Host Setup in Flash' success
12:55:15 INFO : Start to install 'Flash Jetson TX2'
12:55:15 DEBUG : Flash Jetson TX2 : running command < cd '/home/hiram/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310' ; '/opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter' -a='install' -c='eyJpZCI6Ik5WX0w0VF9GTEFTSF9UWDJfV0lUSF9PU19JTUFHRV9DT01QIiwibmFtZSI6IkZsYXNoIEpldHNvbiBUWDIiLCJkZXNjcmlwdGlvbiI6IkZsYXNoIEpldHNvbiBUWDIiLCJjb21wVHlwZSI6ImZsYXNoIiwiaXNWaXNpYmxlIjp0cnVlLCJsaWNlbnNlSWQiOiJOVl9KRVRQQUNLX09TX0VVTEEiLCJpc0RldGVjdGFibGVJbnN0YWxsIjpmYWxzZSwiaXNJbnN0YWxsUGF0aEN1c3RvbWl6YWJsZSI6dHJ1ZSwidGltZW91dFNlY29uZHMiOjM2MDAsInZlcnNpb24iOiIzMi4xIiwib3BlcmF0aW5nU3lzdGVtcyI6WyJ1YnVudHUxNjA0IiwidWJ1bnR1MTgwNCJdLCJpbnN0YWxsU2l6ZU1CIjozMDA1MywiZG93bmxvYWRGaWxlcyI6W10sImluc3RhbGxQYXJhbWV0ZXJzIjp7Imluc3RhbGxEaXIiOiJ7e1RBUkdFVF9ST09UfX0ve3tCVU5ETEVfVElUTEV9fV97e0JPQVJEX0lEfX0vTGludXhfZm9yX1RlZ3JhIiwiaW5zdGFsbENvbW1hbmRzIjpbeyJyZW1vdGVFeGVjQmFzaCI6WyJzdWRvIHJlYm9vdCBmb3JjZWQtcmVjb3ZlcnkiXSwiaWdub3JlRXJyb3IiOnRydWV9LHsiY29tbWVudCI6IndhaXQgZm9yIGRldmljZSB0byBzaHV0ZG93biBhbmQgdG8gZ28gdG8gcmVjb3ZlcnkgbW9kZSIsInVzZXJDb21tYW5kIjoic2xlZXAgMjAifSx7InVzZXJDb21tYW5kIjoic3VkbyAuL2ZsYXNoLnNoIGpldHNvbi10eDIgbW1jYmxrMHAxIn0seyJ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V9zZGsiLCJib2FyZElEIjoiUDMzMTAiLCJ0YXJnZXRBY2Nlc3NJbmZvIjp7InVzZXIiOiJudmlkaWEiLCJwYXNzd29yZCI6Im52aWRpYSIsImhvc3QiOiIxOTIuMTY4LjU1LjEiLCJwb3J0IjoiMjIifSwiaXNEcnlSdW4iOmZhbHNlfQ==' -i='NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP' -v='32.1' -l='/home/hiram/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310' -L='/home/hiram/.nvsdkm/logs/JetPack_4.2_Linux' -p='28226' -t='P3310' -e='undefined' >
12:55:15 INFO : Flash Jetson TX2 : [ Disk Avail:865.30 GB ]
12:55:15 INFO : Flash Jetson TX2 : Using GenericInstaller to Install NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP
12:55:15 INFO : Flash Jetson TX2 : change working directory to /home/hiram/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra
12:55:15 INFO : Flash Jetson TX2 : [ Component Install Started ]
12:55:15 INFO : Flash Jetson TX2 : current working directory is /home/hiram/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra
12:55:15 INFO : Flash Jetson TX2 : exec_command [target]:
12:55:15 INFO : Flash Jetson TX2 : **********************
12:55:15 INFO : Flash Jetson TX2 : #!/bin/bash
12:55:15 INFO : Flash Jetson TX2 : set -e
12:55:15 INFO : Flash Jetson TX2 :
12:55:15 INFO : Flash Jetson TX2 : function safe_apt_install {
12:55:15 INFO : Flash Jetson TX2 : echo "*begin $1, $2"
12:55:15 INFO : Flash Jetson TX2 : tmp_log=/tmp/jetpack_dpkg_log.txt
12:55:15 INFO : Flash Jetson TX2 : sudo rm -f $tmp_log
12:55:15 INFO : Flash Jetson TX2 : set +e; $1 2>&1 | tee $tmp_log; CMD_STATUS=${PIPESTATUS[0]}; set -e
12:55:15 INFO : Flash Jetson TX2 : while [ ${CMD_STATUS} -ne 0 ]; do
12:55:15 INFO : Flash Jetson TX2 : if grep -q -e "is locked by another process" -e "E: Could not get lock /var/lib" $tmp_log; then
12:55:15 INFO : Flash Jetson TX2 : sudo rm -f $tmp_log
12:55:15 INFO : Flash Jetson TX2 : set +e; $1 2>&1 | tee $tmp_log; CMD_STATUS=${PIPESTATUS[0]}; set -e
12:55:15 INFO : Flash Jetson TX2 : echo "Waiting $2 seconds for apt to be available"; sleep ${2}
12:55:15 INFO : Flash Jetson TX2 : else
12:55:15 INFO : Flash Jetson TX2 : echo "Unhandled error when running $1"; exit 1
12:55:15 INFO : Flash Jetson TX2 : fi
12:55:15 INFO : Flash Jetson TX2 : done
12:55:15 INFO : Flash Jetson TX2 : }
12:55:15 INFO : Flash Jetson TX2 : export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8
12:55:15 INFO : Flash Jetson TX2 : sudo reboot forced-recovery
12:55:15 INFO : Flash Jetson TX2 : **********************
12:55:15 INFO : Flash Jetson TX2 : exec_command: scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_FLASH_TX2_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_TX2_WITH_OS_IMAGE_COMP.sh && rm -f ~/tmp_NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP.sh"
12:57:26 ERROR : Flash Jetson TX2 : lost connection
12:59:37 INFO : Flash Jetson TX2 : exit status 255
12:59:37 WARNING : Flash Jetson TX2 : command scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_FLASH_TX2_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_TX2_WITH_OS_IMAGE_COMP.sh && rm -f ~/tmp_NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP.sh" finished with error, but ignored
12:59:37 INFO : Flash Jetson TX2 : exec_command: sleep 20
12:59:57 INFO : Flash Jetson TX2 : exec_command: sudo ./flash.sh jetson-tx2 mmcblk0p1
12:59:57 INFO : Flash Jetson TX2 : ###############################################################################
12:59:57 INFO : Flash Jetson TX2 : # L4T BSP Information:
12:59:57 INFO : Flash Jetson TX2 : # R32 (release), REVISION: 1.0, GCID: 14531094, BOARD: t186ref, EABI: aarch64,
12:59:57 INFO : Flash Jetson TX2 : # DATE: Wed Mar 13 07:41:08 UTC 2019
12:59:57 INFO : Flash Jetson TX2 : ###############################################################################
13:00:02 INFO : Flash Jetson TX2 : Error: probing the target board failed.
13:00:02 INFO : Flash Jetson TX2 : Make sure the target board is connected through
13:00:02 INFO : Flash Jetson TX2 : USB port and is in recovery mode.
13:00:02 INFO : Flash Jetson TX2 : exit status 1
13:00:02 INFO : Flash Jetson TX2 : [ Component Install Finished with Error ]
13:00:02 ERROR : Flash Jetson TX2 : NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP command sudo ./flash.sh jetson-tx2 mmcblk0p1 finished with error
13:00:02 INFO : Flash Jetson TX2 :
13:00:02 INFO : Flash Jetson TX2 : [ 23.29 MB used. Disk Avail: 865.28 GB ]
13:00:02 INFO : Flash Jetson TX2 : [ NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP Install took 4m47s ]
13:00:02 INFO : Flash Jetson TX2 : command sudo ./flash.sh jetson-tx2 mmcblk0p1 finished with error
13:00:02 ERROR : Flash Jetson TX2 : command terminated with error
13:00:02 ERROR : install 'Flash Jetson TX2' failure, command < cd '/home/hiram/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310' ; '/opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter' -a='install' -c='eyJpZCI6Ik5WX0w0VF9GTEFTSF9UWDJfV0lUSF9PU19JTUFHRV9DT01QIiwibmFtZSI6IkZsYXNoIEpldH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' -v='32.1' -l='/home/hiram/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310' -L='/home/hiram/.nvsdkm/logs/JetPack_4.2_Linux' -p='28226' -t='P3310' -e='undefined' > terminated with error
13:00:02 INFO : install 'Device Mode Host Setup in Target SDK' Skipped
13:00:02 INFO : install 'DateTime Target Setup' Skipped
13:00:02 INFO : install 'CUDA Toolkit for L4T' Skipped
13:00:03 INFO : install 'cuDNN on Target' Skipped
13:00:03 INFO : install 'TensorRT on Target' Skipped
13:00:03 INFO : install 'OpenCV on Target' Skipped
13:00:03 INFO : install 'VisionWorks on Target' Skipped
13:00:03 INFO : install 'Multimedia API' Skipped
13:00:04 INFO : All done!