Issue flashing jetpack 4.6.2 on to jetson TX2 using SDK manager

Hi guys,

I am having trouble re-flashing my Jetson TX2 using SDK manager. I am using ubuntu 18.04 as a host (no VM). I put the TX2 in recovery mode by holding down the recovery button, pressing and releasing the reset button, and releasing the recovery button after at least two seconds.

When I run SDK manager, the software recognizes the TX2 connected through USB. When the software asks how to flash the TX2, I chose the manual option. Shortly after pressing the flash button, I get an installation failure.

I have tried running the flash.sh file in the Linux_for_Tegra directory using sudo ./flash.sh jetson-tx2 nvme0n1p1. This flashes the TX2, but when the TX2 is booted, the USB port is disconnected, making it impossible to interact with.

Any advice would be really appreciated. Thank you in advanced. Bellow is the terminal output from the failed flash from the SDK manager.

12:54:46 INFO: File System and OS - target_image: Disabling NetworkManager-wait-online.service

12:54:46 INFO: File System and OS - target_image: Disable the ondemand service by changing the runlevels to 'K'

12:54:46 INFO: File System and OS - target_image: Success!

12:54:46 INFO: File System and OS - target_image: [ Package Install Finished Successfully ]

12:54:46 INFO: File System and OS - target_image: command finished successfully

12:54:46 SUMMARY: File System and OS - target_image: Install completed successfully.

13:13:11 ERROR: Can not find matching device in recovery mode.

13:13:11 DEBUG: running command < true >

13:13:11 INFO: exec_command: true

13:13:11 INFO: command finished successfully

13:13:11 DEBUG: running command < /tmp/device_mode_host_setup.sh >

13:13:11 INFO: exec_command: /tmp/device_mode_host_setup.sh

13:13:11 INFO: Found route default enp39s0, setting up device mode

13:13:11 INFO: [host] [sudo] password for willup:

13:13:11 INFO: net.ipv4.ip_forward = 1

13:13:11 INFO: Device mode on host successfully set with DNS 8.8.8.8!

13:13:11 INFO: command finished successfully

13:13:11 DEBUG: running command < true >

13:13:11 INFO: exec_command: true

13:13:11 INFO: command finished successfully

13:13:11 DEBUG: Flash Jetson TX2 - flash: using adapter to install NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP@JETSON_TX2_TARGETS to /home/willup/nvidia/nvidia_sdk/JetPack_4.6.2_Linux_JETSON_TX2_TARGETS

13:13:11 INFO: Flash Jetson TX2 - flash: change working directory to /home/willup/nvidia/nvidia_sdk/JetPack_4.6.2_Linux_JETSON_TX2_TARGETS/Linux_for_Tegra

13:13:11 INFO: Flash Jetson TX2 - flash: sudo ./nvsdkmanager_flash.sh --nv-auto-config --username vsml

13:13:11 INFO: Flash Jetson TX2 - flash: [OEMPreconfig] SDKM_INSTALL_ERROR Password for L4T new user vsml:

13:13:11 INFO: Flash Jetson TX2 - flash: *** Checking ONLINE mode ... OK.

13:13:11 INFO: Flash Jetson TX2 - flash: *** Checking target board connection ... 1 connections found.

13:13:11 INFO: Flash Jetson TX2 - flash: *** Reading ECID ... FUSELEVEL=fuselevel_production hwchipid=0x18 bootauth=NS

13:13:11 INFO: Flash Jetson TX2 - flash: *** Reading EEPROM ... "/home/willup/nvidia/nvidia_sdk/JetPack_4.6.2_Linux_JETSON_TX2_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py" --chip 0x18 --applet "/home/willup/nvidia/nvidia_sdk/JetPack_4.6.2_Linux_JETSON_TX2_TARGETS/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin" --skipuid --cmd "dump eeprom boardinfo cvm.bin; dump eeprom baseinfo bbd.bin; reboot recovery"

13:13:11 INFO: Flash Jetson TX2 - flash: [ 0.0040 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm /home/willup/nvidia/nvidia_sdk/JetPack_4.6.2_Linux_JETSON_TX2_TARGETS/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0

13:13:11 INFO: Flash Jetson TX2 - flash: [ 0.0072 ] Assuming zero filled SBK key

13:13:11 INFO: Flash Jetson TX2 - flash: [ 0.0147 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml

13:13:12 INFO: Flash Jetson TX2 - flash: [ 0.0174 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml --skipuid

13:13:12 INFO: Flash Jetson TX2 - flash: [ 0.0182 ] RCM version 0X180001

13:13:14 INFO: Flash Jetson TX2 - flash: [ 2.2859 ] tegrarcm_v2 --isapplet

13:13:15 INFO: Flash Jetson TX2 - flash: [ 2.8081 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/willup/nvidia/nvidia_sdk/JetPack_4.6.2_Linux_JETSON_TX2_TARGETS/Linux_for_Tegra/bootloader/cvm.bin

13:13:15 INFO: Flash Jetson TX2 - flash: [ 2.8088 ] Applet version 01.00.0000

13:13:15 INFO: Flash Jetson TX2 - flash: [ 3.3217 ] Saved platform info in /home/willup/nvidia/nvidia_sdk/JetPack_4.6.2_Linux_JETSON_TX2_TARGETS/Linux_for_Tegra/bootloader/cvm.bin

13:13:15 INFO: Flash Jetson TX2 - flash: [ 3.3980 ] RCM 0 is saved as rcm_0.rcm

13:13:15 INFO: Flash Jetson TX2 - flash: [ 3.4005 ] Assuming zero filled SBK key

13:13:15 INFO: Flash Jetson TX2 - flash: [ 3.4086 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml

13:13:20 INFO: Flash Jetson TX2 - flash: [ 3.4109 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml

13:13:22 INFO: Flash Jetson TX2 - flash: [ 9.9033 ] tegrarcm_v2 --isapplet

13:13:22 INFO: Flash Jetson TX2 - flash: [ 10.4280 ] tegrarcm_v2 --oem platformdetails eeprom cvb /home/willup/nvidia/nvidia_sdk/JetPack_4.6.2_Linux_JETSON_TX2_TARGETS/Linux_for_Tegra/bootloader/bbd.bin

13:13:22 INFO: Flash Jetson TX2 - flash: [ 10.4287 ] Applet version 01.00.0000

13:13:22 ERROR: Flash Jetson TX2 - flash: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa4 in position 8: invalid start byte

13:13:22 ERROR: Flash Jetson TX2 - flash: --- Error: Reading board information failed.

13:13:22 ERROR: Flash Jetson TX2 - flash: command terminated with error

13:13:22 SUMMARY: DateTime Target Setup - target: Depends on failed component

INSTALLATION FAILED
Please review the terminal tab for details. Resolve and RETRY.

EXPORT LOGS

RETRY

FAILED ITEMS

![](/opt/nvidia/sdkmanager/resources/app/output/dist/electron/images/icon_retry.svg)

STOP TRYING

![](/opt/nvidia/sdkmanager/resources/app/output/dist/electron/images/NVIDIA-logo-dark.svg)

Copyright © 2022, [NVIDIA CORPORATION](http://www.nvidia.com/page/home.html). All rights reserved. | [NVIDIA Developer](https://developer.nvidia.com/)

Hi willpivik,

After you put device into recovery mode by manually, please use ‘lsusb’ to check you can see the device on host PC.
And using below command to flash image:

$ cd Linux_for_Tegra
$ sudo ./flash.sh jetson-tx2 mmcblk0p1

Thank you for your response. I checked lsusb, and the device comes up in recovery mode as 0955:7c18 NVidia Corp. I used your line to flash, but the same issue occurs. The device boots up, but with no usb connection. Below is the picture of the boot screen showing this error.

Please check if your locale on the host is us_en or not.

I am a novice with Linux, but here is my terminal output when running the locale command. Thanks again!

Please remove your BSP folder (Linux_for_Tegra), download it again and flash the board with carolyuuu’s suggestion again.

Also, is this TX2 using developer kit? or a board from other vendor?

The device I am using is this: https://connecttech.com/product/orbitty-carrier-for-nvidia-jetson-tx2-tx1/

Since this is not devkit, please consult with the board vendor for the BSP they are using.

Thanks, you are right. Sorry for the obvious mistake. Like I said, I am a novice.

1 Like

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