Jetson TX2 failed to flash with unbuntu with SDK manager

In the SDK manager, we are able to get to step 3 and it builds the jetson os image but fails to flash the jetson board. Happens with following terminal statements; Any help and suggestions are greatly appreciated.

10:53:23 DEBUG: Flash Jetson TX2 - flash: using adapter to install NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP@JETSON_TX2_TARGETS to /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_TX2_TARGETS

10:53:23 INFO: Flash Jetson TX2 - flash: exec_command: /tmp/tmp_NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP.sh

10:53:23 INFO: Flash Jetson TX2 - flash: *** Checking target board connection … 1 connections found.

10:53:23 INFO: Flash Jetson TX2 - flash: *** Reading ECID … FUSELEVEL=fuselevel_production hwchipid=0x18 bootauth=NS

10:53:23 INFO: Flash Jetson TX2 - flash: *** Reading EEPROM … “/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_TX2_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py” --chip 0x18 --applet “/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6_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”

10:53:23 INFO: Flash Jetson TX2 - flash: [ 0.0048 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_TX2_TARGETS/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0

10:53:23 INFO: Flash Jetson TX2 - flash: [ 0.0232 ] RCM version 0X180001

10:53:25 INFO: Flash Jetson TX2 - flash: [ 2.0354 ] tegrarcm_v2 --isapplet

10:53:25 INFO: Flash Jetson TX2 - flash: [ 2.0488 ] Applet version 01.00.0000

10:53:25 INFO: Flash Jetson TX2 - flash: [ 2.0673 ] Saved platform info in /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_TX2_TARGETS/Linux_for_Tegra/bootloader/cvm.bin

10:53:25 INFO: Flash Jetson TX2 - flash: [ 2.1414 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_TX2_TARGETS/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0

10:53:25 INFO: Flash Jetson TX2 - flash: [ 2.1530 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml

10:53:31 INFO: Flash Jetson TX2 - flash: [ 2.1551 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml

10:53:32 INFO: Flash Jetson TX2 - flash: [ 8.3269 ] tegrarcm_v2 --isapplet

10:53:32 INFO: Flash Jetson TX2 - flash: [ 8.3398 ] Applet version 01.00.0000

10:53:32 INFO: Flash Jetson TX2 - flash: UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xa4 in position 16: invalid start byte

10:53:32 INFO: Flash Jetson TX2 - flash: — Error: Reading board information failed.

10:53:32 ERROR: Flash Jetson TX2 - flash: command terminated with error

10:53:32 SUMMARY: DateTime Target Setup - target: Depends on failed component

INSTALLATION FAILED

Is the Jetson connected via the micro-B USB cable and in recovery mode? If so, then it is ready to flash (though some third party “OTG”/“charger” cables fail with data).

Is this a natively installed host PC Ubuntu? If this is a VM, then it is likely the VM has not correctly set up USB pass-through.

If all of the above is correct, then you may have hit an actual bug.

One thing I remember from older releases is that if the file path to the flash software had certain non-UTF8 characters in it, or a space, then it failed. I mention this because of:

What do you see on the host PC from “echo $LANG”? Also, does your user’s home directory contain any spaces or non-UTF8 characters in it?

Hi,

I ran sdkmanager from NVidia’s docker container and got the same error.

I was running “docker run …” while my current directory had special characters.
“~/Téléchargements” is “~/Download” directory in french.

If I run “docker run” from another directory, the error disappear.