Hello,
I am trying to flash my Jetson Orin Dev kit to the latest version Jetpack 5.1.2 on a 20.04 Ubuntu host machine with the SDK manager. I have connected the kit via a USB (type C to the jetson type A to the host machine).
I have verified the device is in recovery mode using sdkmanager --list-connected
Jetson:
Device Name | USB Port | USB Bus/Device | USB Specification | Network Interface | MAC Address | Status
--------------------------------------------------------------------------------------------------------
| 1-1 | 001/010 | 2.00 | null | null | Recovery
Please find the attached logs
20:07:10 SUMMARY: File System and OS - target_image: Install completed successfully.
20:07:16 INFO: Start to check If Jetson device Ready To Flash Recovery...
20:07:16 DEBUG: running command < true >
20:07:16 INFO: exec_command: true
20:07:16 INFO: command finished successfully
20:07:16 DEBUG: running command < /tmp/device_mode_host_setup.vatsuak.sh >
20:07:16 INFO: exec_command: /tmp/device_mode_host_setup.vatsuak.sh
20:07:16 INFO: Found route default wlo1, setting up device mode
20:07:16 INFO: net.ipv4.ip_forward = 1
20:07:16 INFO: Device mode on host successfully set with DNS 8.8.8.8!
20:07:16 INFO: command finished successfully
20:07:16 DEBUG: running command < true >
20:07:16 INFO: exec_command: true
20:07:16 INFO: command finished successfully
20:07:16 DEBUG: Flash Jetson Linux - flash: using adapter to install NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS to /home/vatsuak/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS
20:07:16 INFO: Flash Jetson Linux - flash: current working directory is /home/vatsuak/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra
20:07:16 INFO: Flash Jetson Linux - flash: sudo ./nvsdkmanager_flash.sh --nv-auto-config --username vatsuak
20:07:16 INFO: Flash Jetson Linux - flash: [OEMPreconfig] SDKM_INSTALL_ERROR Password for L4T new user vatsuak:
20:07:16 INFO: Flash Jetson Linux - flash: *** Checking ONLINE mode ... OK.
20:07:16 INFO: Flash Jetson Linux - flash: *** Checking target board connection ... 1 connections found.
20:07:17 INFO: Flash Jetson Linux - flash: *** Reading ECID ... FUSELEVEL=fuselevel_production hwchipid=0x23 bootauth=NS
20:07:17 INFO: Flash Jetson Linux - flash: *** Reading EEPROM ... "/home/vatsuak/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py" --chip 0x23 --applet "/home/vatsuak/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_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"
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.0625 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --list images_list.xml zerosbk
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.0706 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.0712 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.0764 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.0771 ] adding BCH for mb2_t234_aligned.bin
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.0803 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.0915 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.0920 ] adding BCH for mb2_t234_aligned.bin
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.1171 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.1178 ] WARNING: boot chain is not completed. set to 0
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.1260 ] Assuming zero filled SBK key
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.1393 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.1400 ] WARNING: boot chain is not completed. set to 0
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.1499 ] Assuming zero filled SBK key
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.1480 ] Offset :4608 Len :3584
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.1555 ] Assuming zero filled SBK key
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.1555 ] MB1-BCT version: 0.10
20:07:17 ERROR: Flash Jetson Linux - flash: [ 0.1568 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.1615 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.1701 ] Assuming zero filled SBK key
20:07:17 ERROR: Flash Jetson Linux - flash: [ 0.1700 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.1755 ] adding BCH for mb1_bct_MB1_aligned.bct
20:07:17 INFO: Flash Jetson Linux - flash: [ 0.1833 ] Assuming zero filled SBK key
20:07:17 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
20:07:17 ERROR: Flash Jetson Linux - flash: --- Error: Reading board information failed.
20:07:17 ERROR: Flash Jetson Linux - flash: command terminated with error
20:07:17 SUMMARY: Flash Jetson Linux - flash: First Error: Installation failed.
Update:
I have also tried to manually flash using the CLI:
sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1
Resullting error logs:
###############################################################################
# L4T BSP Information:
# R35 , REVISION: 4.1
# User release: 0.0
###############################################################################
# Target Board Information:
# Name: jetson-agx-orin-devkit, Board Family: t186ref, SoC: Tegra 234,
# OpMode: production, Boot Authentication: NS,
# Disk encryption: disabled ,
###############################################################################
copying emc_fuse_dev_params(/home/vatsuak/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct-diag-boot.dts)... done.
copying device_config(/home/vatsuak/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-device-p3701-0000.dts)... done.
copying misc_config(/home/vatsuak/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-misc-p3701-0000.dts)... done.
./tegraflash.py --chip 0x23 --applet "/home/vatsuak/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/bootloader/mb1_t234_prod.bin" --skipuid --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" --cmd "dump eeprom cvm cvm.bin; dump custinfo custinfo_out.bin; reboot recovery"
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
[ 0.0177 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.0184 ] File rcm_state open failed
[ 0.0185 ] ERROR: failed to read rcm_state
[ 0.0185 ]
[ 0.0200 ] tegrasign_v3.py --key None --getmode mode.txt
[ 0.0202 ] Assuming zero filled SBK key
[ 0.0189 ] Pre-processing config: tegra234-mb1-bct-device-p3701-0000.dts
[ 0.0281 ] Pre-processing config: tegra234-mb1-bct-misc-p3701-0000.dts
[ 0.0364 ] Parsing partition layout
[ 0.0372 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.0385 ] Kernel DTB used: None
[ 0.0385 ] WARNING: dce base dtb is not provided
[ 0.0385 ] Parsing partition layout
[ 0.0393 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.0402 ] Creating list of images to be signed
[ 0.0410 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --list images_list.xml zerosbk
[ 0.0417 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.0427 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.0429 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.0483 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.0489 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.0529 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.0532 ] adding BCH for mb2_t234_aligned.bin
[ 0.0555 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.0664 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.0667 ] adding BCH for mb2_t234_aligned.bin
[ 0.0804 ] Filling MB1 storage info
[ 0.0804 ] Parsing dev params for multi chains
[ 0.0861 ] Generating br-bct
[ 0.0868 ] Updating dev and MSS params in BR BCT
[ 0.0869 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.0877 ] Updating bl info
[ 0.0884 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin
[ 0.0892 ] WARNING: boot chain is not completed. set to 0
[ 0.0900 ] Generating signatures
[ 0.0915 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.0916 ] Assuming zero filled SBK key
[ 0.1013 ] Warning: pub_key.key is not found
[ 0.1001 ] Parsing dev params for multi chains
[ 0.1001 ] Generating br-bct
[ 0.1008 ] Updating dev and MSS params in BR BCT
[ 0.1009 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.1018 ] Updating bl info
[ 0.1026 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 0.1032 ] WARNING: boot chain is not completed. set to 0
[ 0.1040 ] Get Signed section of bct
[ 0.1047 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[ 0.1056 ] Signing BCT
[ 0.1071 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.1073 ] Assuming zero filled SBK key
[ 0.1096 ] Sha saved in br_bct_BR.sha
[ 0.1099 ] Warning: pub_key.key is not found
[ 0.1085 ] Updating BCT with signature
[ 0.1093 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml
[ 0.1100 ] Offset :4608 Len :3584
[ 0.1104 ] Generating SHA2 Hash
[ 0.1118 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[ 0.1120 ] Assuming zero filled SBK key
[ 0.1120 ] Assuming zero filled SBK key
[ 0.1144 ] Sha saved in br_bct_BR.sha
[ 0.1133 ] Updating BCT with SHA2 Hash
[ 0.1140 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[ 0.1146 ] Offset :4608 Len :3584
[ 0.1149 ] Offset :68 Len :8124
[ 0.1150 ] Generating coldboot mb1-bct
[ 0.1158 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct.cfg --misc tegra234-mb1-bct-misc-p3701-0000_cpp.dtb --device tegra234-mb1-bct-device-p3701-0000_cpp.dtb
[ 0.1164 ] MB1-BCT version: 0.10
[ 0.1166 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.1170 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.1173 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.1176 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[ 0.1178 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[ 0.1181 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[ 0.1181 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[ 0.1181 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[ 0.1181 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[ 0.1181 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[ 0.1181 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[ 0.1181 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[ 0.1181 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[ 0.1181 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[ 0.1181 ]
[ 0.1181 ] Parsing config file :tegra234-mb1-bct-device-p3701-0000_cpp.dtb
[ 0.1181 ] Added Platform Config 9 data with size :- 100
[ 0.1181 ]
[ 0.1181 ] Updating mb1-bct with firmware information
[ 0.1189 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.1206 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[ 0.1221 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[ 0.1228 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[ 0.1249 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.1251 ] Assuming zero filled SBK key
[ 0.1265 ] Warning: pub_key.key is not found
[ 0.1259 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_aligned_sigheader.bct.hash zerosbk
[ 0.1271 ] Generating recovery mb1-bct
[ 0.1278 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct.cfg --misc tegra234-mb1-bct-misc-p3701-0000_cpp.dtb --device tegra234-mb1-bct-device-p3701-0000_cpp.dtb
[ 0.1284 ] MB1-BCT version: 0.10
[ 0.1285 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.1289 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.1292 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.1295 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[ 0.1297 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[ 0.1300 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[ 0.1301 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[ 0.1301 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[ 0.1301 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[ 0.1301 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[ 0.1301 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[ 0.1301 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[ 0.1301 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[ 0.1301 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[ 0.1301 ]
[ 0.1301 ] Parsing config file :tegra234-mb1-bct-device-p3701-0000_cpp.dtb
[ 0.1301 ] Added Platform Config 9 data with size :- 100
[ 0.1301 ]
[ 0.1301 ] Updating mb1-bct with firmware information
[ 0.1308 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.1325 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[ 0.1339 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[ 0.1346 ] adding BCH for mb1_bct_MB1_aligned.bct
[ 0.1367 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.1369 ] Assuming zero filled SBK key
[ 0.1383 ] Warning: pub_key.key is not found
[ 0.1377 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[ 0.1388 ] Error: Skip generating mem_bct because sdram_config is not defined
[ 0.1388 ] Error: Skip generating mem_bct because sdram_config is not defined
[ 0.1388 ] Copying signatures
[ 0.1395 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 0.1442 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[ 0.1443 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[ 0.1443 ] Boot Rom communication
[ 0.1453 ] 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
[ 0.1460 ] BR_CID: 0x80012344705DD4227C00000001008080
[ 0.1791 ] Sending bct_br
[ 0.2219 ] ERROR: might be timeout in USB write.
Error: Return value 3
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
Reading board information failed.