Tx2 Flashing get stuck in tegrarcm_v2 --boot recovery

We are currently facing an issue while flashing a custom Jetpack image into the Jetson Tx2 Soc. When we are running the flash.sh script after putting the TX2 in recovery mode, The script gets halted in the command
12:50:23 INFO: Flash Jetson TX2 - flash: [ 11.1350 ] tegrarcm_v2 --boot recovery
12:50:23 INFO: Flash Jetson TX2 - flash: [ 11.1365 ] Applet version 01.00.0000
and then it gets timed out .

We tried flashing the base Jetpack Image using the Nvidia SDK manager also, but the issue remains the same. I am attaching the logs of flash script. Can you please let us know what could be the root cause of this issue?

The complete logs of SDK manager is attached below:

12:49:51 INFO: Start to check if only one device connected...

12:49:51 DEBUG: running command < true >

12:49:51 INFO: command finished successfully

12:49:51 DEBUG: running command < [ lsusb | grep -c "0955:" -ne 1 ] >

12:49:51 DEBUG: command terminated with error

12:49:51 INFO: Only one NVIDIA device detected, as expected.

12:49:51 INFO: Start to check if in device recovery mode…

12:49:51 DEBUG: running command < true >

12:49:51 INFO: command finished successfully

12:49:51 DEBUG: running command < lsusb | grep 0955:7020 >

12:49:51 DEBUG: command terminated with error

12:49:51 INFO: Jetson device is in recovery mode.

12:49:51 INFO: Start to check if the right device connected…

12:49:51 DEBUG: running command < true >

12:49:51 INFO: command finished successfully

12:49:51 DEBUG: running command < lsusb | grep -E ‘0955:7c18’ >

12:49:51 INFO: Bus 003 Device 003: ID 0955:7c18 NVidia Corp.

12:49:51 INFO: command finished successfully

12:49:51 INFO: Verified, 0955:7c18 detected in recovery mode.

12:49:51 DEBUG: running command < true >

12:49:52 INFO: command finished successfully

12:49:52 DEBUG: Device Mode Host Setup in Flash - flash: using adapter to install NV_DEVICE_MODE_SETUP_IMAGE_COMP@JETSON_TX2 to /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2

12:49:52 INFO: Device Mode Host Setup in Flash - flash: Installing component ‘Device Mode Host Setup in Flash’ (NV_DEVICE_MODE_SETUP_IMAGE_COMP)

12:49:52 INFO: Device Mode Host Setup in Flash - flash: exec_command: /tmp/tmp_NV_DEVICE_MODE_SETUP_IMAGE_COMP.sh

12:49:52 INFO: Device Mode Host Setup in Flash - flash: [host] [sudo] password for gor:

12:49:52 INFO: Device Mode Host Setup in Flash - flash: net.ipv4.ip_forward = 1

12:49:52 INFO: Device Mode Host Setup in Flash - flash: Device mode on host successfuly set with DNS 8.8.8.8!

12:49:52 INFO: Device Mode Host Setup in Flash - flash: command finished successfully

12:49:52 SUMMARY: Device Mode Host Setup in Flash - flash: Install completed successfully.

12:49:52 DEBUG: running command < true >

12:49:52 INFO: command finished successfully

12:49:52 DEBUG: Flash Jetson TX2 - flash: using adapter to install NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP@JETSON_TX2 to /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2

12:49:52 INFO: Flash Jetson TX2 - flash: [host] [ Disk Avail:388.98 GB ]

12:49:52 INFO: Flash Jetson TX2 - flash: exec_command: /tmp/tmp_NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP.sh

12:49:52 INFO: Flash Jetson TX2 - flash: sudo ./nvautoflash.sh --no-systemimg

12:49:52 INFO: Flash Jetson TX2 - flash: *** Checking ONLINE mode … OK.

12:49:52 INFO: Flash Jetson TX2 - flash: *** Checking target board connection … 1 connections found.

12:49:52 INFO: Flash Jetson TX2 - flash: *** Finding configuration … jetson-tx2-devkit found.

12:49:52 INFO: Flash Jetson TX2 - flash: /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/flash.sh --no-systemimg jetson-tx2-devkit mmcblk0p1

12:49:53 INFO: Flash Jetson TX2 - flash: # L4T BSP Information:

12:49:53 INFO: Flash Jetson TX2 - flash: ###############################################################################

12:49:53 INFO: Flash Jetson TX2 - flash: ./tegraflash.py --chip 0x18 --applet “/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin” --skipuid --cmd “dump eeprom boardinfo cvm.bin”

12:49:53 INFO: Flash Jetson TX2 - flash: [ 0.0538 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0

12:49:53 INFO: Flash Jetson TX2 - flash: [ 0.0838 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key

12:49:53 INFO: Flash Jetson TX2 - flash: [ 0.1283 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml

12:49:53 INFO: Flash Jetson TX2 - flash: [ 0.1353 ] RCM version 0X180001

12:49:55 INFO: Flash Jetson TX2 - flash: [ 2.1505 ] tegrarcm_v2 --isapplet

12:49:55 INFO: Flash Jetson TX2 - flash: [ 2.1740 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/cvm.bin

12:49:55 INFO: Flash Jetson TX2 - flash: [ 2.2675 ]

12:49:55 ERROR: Flash Jetson TX2 - flash: Board ID(3310) version(D00) sku(1000) revision(M.0)

12:49:55 INFO: Flash Jetson TX2 - flash: Copy /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb to /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb.rec

12:49:55 INFO: Flash Jetson TX2 - flash: copying bctfile(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/P3310_A00_8GB_lpddr4_A02_l4t.cfg)… done.

12:49:55 INFO: Flash Jetson TX2 - flash: copying misc_config(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)… done.

12:49:55 INFO: Flash Jetson TX2 - flash: copying pinmux_config(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg)… done.

12:49:55 INFO: Flash Jetson TX2 - flash: copying prod_config(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg)… done.

12:49:55 INFO: Flash Jetson TX2 - flash: copying scr_cold_boot_config(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)… done.

12:49:55 INFO: Flash Jetson TX2 - flash: copying bootrom_config(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg)… done.

12:49:55 INFO: Flash Jetson TX2 - flash: copying dev_params(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)… done.

12:49:56 INFO: Flash Jetson TX2 - flash: Existing bootloader(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.

12:49:56 INFO: Flash Jetson TX2 - flash: copying initrd(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/l4t_initrd.img)… done.

12:49:57 INFO: Flash Jetson TX2 - flash: populating kernel to rootfs… done.

12:49:57 INFO: Flash Jetson TX2 - flash: populating initrd to rootfs… done.

12:49:57 INFO: Flash Jetson TX2 - flash: populating /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb to rootfs… done.

12:49:57 INFO: Flash Jetson TX2 - flash: Making Boot image… done.

12:49:57 INFO: Flash Jetson TX2 - flash: /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x18 --key --cmd sign boot.img

12:49:57 INFO: Flash Jetson TX2 - flash: [ 0.0029 ] tegrasign_v2 --key --getmode mode.txt

12:49:58 INFO: Flash Jetson TX2 - flash: [ 0.1101 ] Signed file: /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt

12:49:58 INFO: Flash Jetson TX2 - flash: l4t_sign_image.sh: Generate 16-byte-size-aligned base file for boot_sigheader.img.encrypt

12:49:58 INFO: Flash Jetson TX2 - flash: done.

12:49:58 INFO: Flash Jetson TX2 - flash: Re-generating recovery ramdisk for recovery image…

12:49:58 INFO: Flash Jetson TX2 - flash: ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/ramdisk_tmp ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra

12:49:58 ERROR: Flash Jetson TX2 - flash: 30402 blocks

12:49:59 INFO: Flash Jetson TX2 - flash: _BASE_KERNEL_VERSION=4.9.201-tegra

12:50:01 INFO: Flash Jetson TX2 - flash: ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/ramdisk_tmp/lib ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/ramdisk_tmp ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra

12:50:09 ERROR: Flash Jetson TX2 - flash: 65752 blocks

12:50:10 INFO: Flash Jetson TX2 - flash: Making Recovery image…

12:50:11 INFO: Flash Jetson TX2 - flash: copying recdtbfile(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb.rec)… done.

12:50:11 INFO: Flash Jetson TX2 - flash: 20 bytes copied, 0.000443267 s, 45.1 kB/s

12:50:11 INFO: Flash Jetson TX2 - flash: Existing sosfile(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.

12:50:11 INFO: Flash Jetson TX2 - flash: Existing mtspreboot(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.

12:50:11 INFO: Flash Jetson TX2 - flash: Existing bpffile(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/bpmp.bin) reused.

12:50:11 INFO: Flash Jetson TX2 - flash: copying bpfdtbfile(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb)… done.

12:50:11 INFO: Flash Jetson TX2 - flash: copying wb0boot(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)… done.

12:50:11 INFO: Flash Jetson TX2 - flash: Copying nv_boot_control.conf to rootfs

12:50:11 INFO: Flash Jetson TX2 - flash: /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x18 --key --cmd sign kernel_tegra186-quill-p3310-1000-c03-00-base.dtb

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0020 ] tegrasign_v2 --key --getmode mode.txt

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0107 ] tegrahost_v2 --appendsigheader 1_kernel_tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0480 ] tegrahost_v2 --updatesigheader 1_kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt 1_kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0520 ] Signed file: /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt

12:50:12 INFO: Flash Jetson TX2 - flash: copying tbcdtbfile(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)… done.

12:50:12 INFO: Flash Jetson TX2 - flash: *** Flashing target device started. ***

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0015 ] tegrasign_v2 --key None --getmode mode.txt

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0089 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0569 ] tegraparser_v2 --pt flash.xml.tmp

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0679 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.2535 ] Assuming zero filled SBK key

12:50:15 INFO: Flash Jetson TX2 - flash: [ 2.9395 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3310_A00_8GB_lpddr4_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18 0

12:50:15 INFO: Flash Jetson TX2 - flash: [ 3.0676 ] MB1-BCT version: 0xf

12:50:15 INFO: Flash Jetson TX2 - flash: [ 3.1462 ] MB1-BCT version: 0xf

12:50:15 INFO: Flash Jetson TX2 - flash: [ 3.1468 ] Packing sdram param for instance[0]

12:50:15 INFO: Flash Jetson TX2 - flash: [ 3.2323 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk

12:50:16 INFO: Flash Jetson TX2 - flash: [ 3.2372 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml

12:50:21 INFO: Flash Jetson TX2 - flash: [ 4.0827 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.1213 ] tegrarcm_v2 --isapplet

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.1858 ] […] 100%

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.2037 ] tegrahost_v2 --chip 0x18 --align blob_nvtboot_recovery_cpu.bin

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.2627 ] tegrahost_v2 --chip 0x18 --align blob_preboot_d15_prod_cr.bin

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.2856 ] tegrahost_v2 --chip 0x18 --align blob_mce_mts_d15_prod_cr.bin

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.3042 ] Assuming zero filled SBK key

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.4137 ] tegrahost_v2 --updatesigheader blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt blob_mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.4218 ] tegrahost_v2 --chip 0x18 --align blob_bpmp.bin

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.4331 ] Assuming zero filled SBK key

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.4771 ] Assuming zero filled SBK key

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.5203 ] Assuming zero filled SBK key

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.5438 ] tegrahost_v2 --updatesigheader blob_tos-trusty_sigheader.img.encrypt blob_tos-trusty_sigheader.img.hash zerosbk

12:50:23 INFO: Flash Jetson TX2 - flash: [ 10.6105 ] tegrahost_v2 --updatesigheader blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk

12:50:23 INFO: Flash Jetson TX2 - flash: [ 10.6290 ] Added binary blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt of size 2082144

12:50:23 INFO: Flash Jetson TX2 - flash: [ 10.6557 ] Sending blob

12:50:23 INFO: Flash Jetson TX2 - flash: [ 11.1350 ] tegrarcm_v2 --boot recovery

12:50:23 INFO: Flash Jetson TX2 - flash: [ 11.1365 ] Applet version 01.00.0000

hello inderjeet.y,

to help this thread easy reading, suggest you should enable code block, i.e.<code>LOGs</code> to paste the logs.

couple of questions.

  1. is this a customize board, or, you would like to flash the customize image to the Jetson TX2 DevKit?
  2. did you already had system.img generated? so you’re using this command to flash the target, flash.sh --no-systemimg jetson-tx2-devkit mmcblk0p1?

Hello Jerry,
1. I would like to flash a customized image to the Jetson Tx2 Devkit for which I used the flash.sh utility.
2. Yes I have a generated system.img. And I am using the following command to flash.
sudo ./flash.sh -r -c ./bootloader/t186ref/cfg/flash_l4t_t186_user.xml jetson-tx2 mmcblk0p1

Also, I have tried flashing the TX2 SoC using the Nvidia SDK Manager with the base jetpack image. But the issue remains the same.

hello inderjeet.y,

had you also updated the flash partition table configuration file?
how about only update the customize system.img as following, $ sudo ./flash.sh -r jetson-tx2 mmcblk0p1.

Hello Jerry,
Yes I have another partition for keeping the data . Updating the system.img with the above command will result in same behavior because as I said I tried flashing the base Jetpack using the SDK manager but the issue persists in that case as well

hello inderjeet.y,

may I know which JetPack release you’re working with.
according to To determine whether the developer kit is in Force Recovery mode, please also share four-digit number that represents the type of Jetson module for reference,
thanks

Hi Jerry ,
The four-digit no representing the type of jetson module is - 7c18 . I was trying to flash Jetpack 4.5.1

hello inderjeet.y,

could you please re-install the JetPack release, it’s suggest to delete all the files and download the image via SDKManger.
please gather the flash logs again with the following flash command-line.
for example, $ sudo ./flash.sh -r jetson-tx2 mmcblk0p1.
thanks

Hi Jerry,
When I said I tried flashing the base Jetpack 4.5.1, I had deleted all the old downloaded files and downloaded the image via SDK Manager only . The logs attached in this thread is for from the SDK manager terminal only, when I tried to install a fresh Nvidia released Jetpack Image (No customization done on the image).
The SDK manager downloaded the image from the beginning and tried to flash the image but as I said it keeps on getting stuck at the same point. We have six Tx2 boards in our production line which are having the same issue. I am attaching the logs again which I attached earlier:

12:49:51 INFO: Start to check if only one device connected…

12:49:51 DEBUG: running command < true >

12:49:51 INFO: command finished successfully

12:49:51 DEBUG: running command < [ lsusb | grep -c "0955:" -ne 1 ] >

12:49:51 DEBUG: command terminated with error

12:49:51 INFO: Only one NVIDIA device detected, as expected.

12:49:51 INFO: Start to check if in device recovery mode…

12:49:51 DEBUG: running command < true >

12:49:51 INFO: command finished successfully

12:49:51 DEBUG: running command < lsusb | grep 0955:7020 >

12:49:51 DEBUG: command terminated with error

12:49:51 INFO: Jetson device is in recovery mode.

12:49:51 INFO: Start to check if the right device connected…

12:49:51 DEBUG: running command < true >

12:49:51 INFO: command finished successfully

12:49:51 DEBUG: running command < lsusb | grep -E ‘0955:7c18’ >

12:49:51 INFO: Bus 003 Device 003: ID 0955:7c18 NVidia Corp.

12:49:51 INFO: command finished successfully

12:49:51 INFO: Verified, 0955:7c18 detected in recovery mode.

12:49:51 DEBUG: running command < true >

12:49:52 INFO: command finished successfully

12:49:52 DEBUG: Device Mode Host Setup in Flash - flash: using adapter to install NV_DEVICE_MODE_SETUP_IMAGE_COMP@JETSON_TX2 to /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2

12:49:52 INFO: Device Mode Host Setup in Flash - flash: Installing component ‘Device Mode Host Setup in Flash’ (NV_DEVICE_MODE_SETUP_IMAGE_COMP)

12:49:52 INFO: Device Mode Host Setup in Flash - flash: exec_command: /tmp/tmp_NV_DEVICE_MODE_SETUP_IMAGE_COMP.sh

12:49:52 INFO: Device Mode Host Setup in Flash - flash: [host] [sudo] password for gor:

12:49:52 INFO: Device Mode Host Setup in Flash - flash: net.ipv4.ip_forward = 1

12:49:52 INFO: Device Mode Host Setup in Flash - flash: Device mode on host successfuly set with DNS 8.8.8.8!

12:49:52 INFO: Device Mode Host Setup in Flash - flash: command finished successfully

12:49:52 SUMMARY: Device Mode Host Setup in Flash - flash: Install completed successfully.

12:49:52 DEBUG: running command < true >

12:49:52 INFO: command finished successfully

12:49:52 DEBUG: Flash Jetson TX2 - flash: using adapter to install NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP@JETSON_TX2 to /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2

12:49:52 INFO: Flash Jetson TX2 - flash: [host] [ Disk Avail:388.98 GB ]

12:49:52 INFO: Flash Jetson TX2 - flash: exec_command: /tmp/tmp_NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP.sh

12:49:52 INFO: Flash Jetson TX2 - flash: sudo ./nvautoflash.sh --no-systemimg

12:49:52 INFO: Flash Jetson TX2 - flash: *** Checking ONLINE mode … OK.

12:49:52 INFO: Flash Jetson TX2 - flash: *** Checking target board connection … 1 connections found.

12:49:52 INFO: Flash Jetson TX2 - flash: *** Finding configuration … jetson-tx2-devkit found.

12:49:52 INFO: Flash Jetson TX2 - flash: /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/flash.sh --no-systemimg jetson-tx2-devkit mmcblk0p1

12:49:53 INFO: Flash Jetson TX2 - flash: # L4T BSP Information:

12:49:53 INFO: Flash Jetson TX2 - flash: ###############################################################################

12:49:53 INFO: Flash Jetson TX2 - flash: ./tegraflash.py --chip 0x18 --applet “/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin” --skipuid --cmd “dump eeprom boardinfo cvm.bin”

12:49:53 INFO: Flash Jetson TX2 - flash: [ 0.0538 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0

12:49:53 INFO: Flash Jetson TX2 - flash: [ 0.0838 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key

12:49:53 INFO: Flash Jetson TX2 - flash: [ 0.1283 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml

12:49:53 INFO: Flash Jetson TX2 - flash: [ 0.1353 ] RCM version 0X180001

12:49:55 INFO: Flash Jetson TX2 - flash: [ 2.1505 ] tegrarcm_v2 --isapplet

12:49:55 INFO: Flash Jetson TX2 - flash: [ 2.1740 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/cvm.bin

12:49:55 INFO: Flash Jetson TX2 - flash: [ 2.2675 ]

12:49:55 ERROR: Flash Jetson TX2 - flash: Board ID(3310) version(D00) sku(1000) revision(M.0)

12:49:55 INFO: Flash Jetson TX2 - flash: Copy /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb to /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb.rec

12:49:55 INFO: Flash Jetson TX2 - flash: copying bctfile(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/P3310_A00_8GB_lpddr4_A02_l4t.cfg)… done.

12:49:55 INFO: Flash Jetson TX2 - flash: copying misc_config(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)… done.

12:49:55 INFO: Flash Jetson TX2 - flash: copying pinmux_config(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg)… done.

12:49:55 INFO: Flash Jetson TX2 - flash: copying prod_config(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg)… done.

12:49:55 INFO: Flash Jetson TX2 - flash: copying scr_cold_boot_config(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)… done.

12:49:55 INFO: Flash Jetson TX2 - flash: copying bootrom_config(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg)… done.

12:49:55 INFO: Flash Jetson TX2 - flash: copying dev_params(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)… done.

12:49:56 INFO: Flash Jetson TX2 - flash: Existing bootloader(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.

12:49:56 INFO: Flash Jetson TX2 - flash: copying initrd(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/l4t_initrd.img)… done.

12:49:57 INFO: Flash Jetson TX2 - flash: populating kernel to rootfs… done.

12:49:57 INFO: Flash Jetson TX2 - flash: populating initrd to rootfs… done.

12:49:57 INFO: Flash Jetson TX2 - flash: populating /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb to rootfs… done.

12:49:57 INFO: Flash Jetson TX2 - flash: Making Boot image… done.

12:49:57 INFO: Flash Jetson TX2 - flash: /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x18 --key --cmd sign boot.img

12:49:57 INFO: Flash Jetson TX2 - flash: [ 0.0029 ] tegrasign_v2 --key --getmode mode.txt

12:49:58 INFO: Flash Jetson TX2 - flash: [ 0.1101 ] Signed file: /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt

12:49:58 INFO: Flash Jetson TX2 - flash: l4t_sign_image.sh: Generate 16-byte-size-aligned base file for boot_sigheader.img.encrypt

12:49:58 INFO: Flash Jetson TX2 - flash: done.

12:49:58 INFO: Flash Jetson TX2 - flash: Re-generating recovery ramdisk for recovery image…

12:49:58 INFO: Flash Jetson TX2 - flash: ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/ramdisk_tmp ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra

12:49:58 ERROR: Flash Jetson TX2 - flash: 30402 blocks

12:49:59 INFO: Flash Jetson TX2 - flash: _BASE_KERNEL_VERSION=4.9.201-tegra

12:50:01 INFO: Flash Jetson TX2 - flash: ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/ramdisk_tmp/lib ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/ramdisk_tmp ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra

12:50:09 ERROR: Flash Jetson TX2 - flash: 65752 blocks

12:50:10 INFO: Flash Jetson TX2 - flash: Making Recovery image…

12:50:11 INFO: Flash Jetson TX2 - flash: copying recdtbfile(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb.rec)… done.

12:50:11 INFO: Flash Jetson TX2 - flash: 20 bytes copied, 0.000443267 s, 45.1 kB/s

12:50:11 INFO: Flash Jetson TX2 - flash: Existing sosfile(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.

12:50:11 INFO: Flash Jetson TX2 - flash: Existing mtspreboot(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.

12:50:11 INFO: Flash Jetson TX2 - flash: Existing bpffile(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/bpmp.bin) reused.

12:50:11 INFO: Flash Jetson TX2 - flash: copying bpfdtbfile(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb)… done.

12:50:11 INFO: Flash Jetson TX2 - flash: copying wb0boot(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)… done.

12:50:11 INFO: Flash Jetson TX2 - flash: Copying nv_boot_control.conf to rootfs

12:50:11 INFO: Flash Jetson TX2 - flash: /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x18 --key --cmd sign kernel_tegra186-quill-p3310-1000-c03-00-base.dtb

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0020 ] tegrasign_v2 --key --getmode mode.txt

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0107 ] tegrahost_v2 --appendsigheader 1_kernel_tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0480 ] tegrahost_v2 --updatesigheader 1_kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt 1_kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0520 ] Signed file: /home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt

12:50:12 INFO: Flash Jetson TX2 - flash: copying tbcdtbfile(/home/gor/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)… done.

12:50:12 INFO: Flash Jetson TX2 - flash: *** Flashing target device started. ***

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0015 ] tegrasign_v2 --key None --getmode mode.txt

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0089 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0569 ] tegraparser_v2 --pt flash.xml.tmp

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.0679 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk

12:50:12 INFO: Flash Jetson TX2 - flash: [ 0.2535 ] Assuming zero filled SBK key

12:50:15 INFO: Flash Jetson TX2 - flash: [ 2.9395 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3310_A00_8GB_lpddr4_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18 0

12:50:15 INFO: Flash Jetson TX2 - flash: [ 3.0676 ] MB1-BCT version: 0xf

12:50:15 INFO: Flash Jetson TX2 - flash: [ 3.1462 ] MB1-BCT version: 0xf

12:50:15 INFO: Flash Jetson TX2 - flash: [ 3.1468 ] Packing sdram param for instance[0]

12:50:15 INFO: Flash Jetson TX2 - flash: [ 3.2323 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk

12:50:16 INFO: Flash Jetson TX2 - flash: [ 3.2372 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml

12:50:21 INFO: Flash Jetson TX2 - flash: [ 4.0827 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.1213 ] tegrarcm_v2 --isapplet

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.1858 ] […] 100%

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.2037 ] tegrahost_v2 --chip 0x18 --align blob_nvtboot_recovery_cpu.bin

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.2627 ] tegrahost_v2 --chip 0x18 --align blob_preboot_d15_prod_cr.bin

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.2856 ] tegrahost_v2 --chip 0x18 --align blob_mce_mts_d15_prod_cr.bin

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.3042 ] Assuming zero filled SBK key

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.4137 ] tegrahost_v2 --updatesigheader blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt blob_mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.4218 ] tegrahost_v2 --chip 0x18 --align blob_bpmp.bin

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.4331 ] Assuming zero filled SBK key

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.4771 ] Assuming zero filled SBK key

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.5203 ] Assuming zero filled SBK key

12:50:22 INFO: Flash Jetson TX2 - flash: [ 10.5438 ] tegrahost_v2 --updatesigheader blob_tos-trusty_sigheader.img.encrypt blob_tos-trusty_sigheader.img.hash zerosbk

12:50:23 INFO: Flash Jetson TX2 - flash: [ 10.6105 ] tegrahost_v2 --updatesigheader blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk

12:50:23 INFO: Flash Jetson TX2 - flash: [ 10.6290 ] Added binary blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt of size 2082144

12:50:23 INFO: Flash Jetson TX2 - flash: [ 10.6557 ] Sending blob

12:50:23 INFO: Flash Jetson TX2 - flash: [ 11.1350 ] tegrarcm_v2 --boot recovery

12:50:23 INFO: Flash Jetson TX2 - flash: [ 11.1365 ] Applet version 01.00.0000

hello inderjeet.y,

may I know what’s your development environment,
for example, are you running with virtual machine, or, a laptop, or, a native ubuntu desktop?
there should be expose the log files within SDKManager installation folder, could you please also attach them to include the details.
thanks

Hi jerry,
I am using a native ubuntu(18.04) desktop. can you help me with the location of the file or the exact name of the log file?. I can’t find it in my sdkmanager installation directory i.e /opt/nvidia/sdkmanager.

hello inderjeet.y,

please check this, Install Jetson Software with SDK Manager :: NVIDIA SDK Manager Documentation.
please enable Export Debug Logs to create a ZIP file of all logs.
thanks

Hi Jerry,
Please find the attached logs :
SDKM_logs_JetPack_4.5.1_Linux_for_Jetson_TX2_2021-06-23_14-07-18.zip (43.4 KB)

hello inderjeet.y,

what’s the revision of your TX2 module?
please also check Jetson TX2 PCN for reference, thanks

Hi Jerry,
I am currently not sure about the revision of our Tx2 Module, therefore I am asking the relevant people to help me with that. Once I get the info I will update it here. But for now I can share the details of the TX2 that is printed in the SOM.

TX2 8Gb Module.

1 . Model : P3310
2. P/N : 135-0807-002 R1
3. FCC ID: VOB-P3310
4. IC: 7361A-P3310

there’s sticker on the TX2 SoM to show the part number, for example, 699-83310-****.

Hi Jerry,
the part number mentioned is 900-83310-0001-000 AU
please check the attached image also to confirm.

hello santosh.k,

this is not a Jetson TX2 DevKit, you cannot use the default flash configuration file to flash this.
for example, $ sudo ./flash.sh jetson-tx2-devkit mmcblk0p1.

check this, Jetson TX2 Platform Adaptation and Bring-Up, if you’re having carrier board customization,
as the documentation mentioned, if your board schematic differs from that for Jetson TX2 Developer Kit board, you must change the pinmux configuration applied by the software. please access pinmux spreadsheets via download center to have customization.
thanks

Hi Jerry,

I work with Inderjeet.y. To answer your question we do have Tx2 dev kit and jetson SDK manager installed on our system. We have two TX2s one working and other not working.

With the help of SDK manager we are able to flash the working TX2 but not the faulty one. We are stuck in production as we could not find the problem in bootloading sequence of the faulty TX2 (similarly we have many number). It would be helpful you can find the issue by Analysing the SDK manager logs.

Thanks

Are you performing a full flash without customization (e.g., not reusing a component and not a custom device tree)? Is your host a native Ubuntu 18.04? On the failing unit what happens if you flash manually with the unit in recovery mode? Assuming not a custom carrier board, and with logging:
sudo ./flash.sh jetson-tx2-devkit mmcblk0p1 2>&1 | tee log_flash.txt

I’m curious if the absolute minimum case works (the above flash should work even if the unit doesn’t boot, but it should also boot if it really is a dev kit and the flash software was not customized).