Nvidia Jetson TX1 flashing fail issue

Installation Failed appeared in SDK Manager. I can see “Flash Jetson TX1: command terminated with error. VPI on Target: Depends on Failed component” in Terminal.

I exported log files. Here is NV_L4T_FLASH_TX1_WITH_OS_IMAGE_COMP.log.

#!/bin/bash
set -e
set -e
if [ -e  ./bootloader/system.img ]; then
    echo sudo ./flash.sh --no-systemimg jetson-tx1 mmcblk0p1
    sudo ./flash.sh --no-systemimg jetson-tx1 mmcblk0p1
else
    echo sudo ./flash.sh jetson-tx1 mmcblk0p1
    sudo ./flash.sh jetson-tx1 mmcblk0p1
fi
sleep 20
**********************
Info: exec_command: /tmp/tmp_NV_L4T_FLASH_TX1_WITH_OS_IMAGE_COMP.sh
sudo ./flash.sh --no-systemimg jetson-tx1 mmcblk0p1
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 4.4
###############################################################################
# Target Board Information:
# Name: jetson-tx1, Board Family: t210ref, SoC: Tegra 210, 
# OpMode: production, Boot Authentication: , 
###############################################################################
./tegraflash.py --chip 0x21 --applet "/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/nvtboot_recovery.bin" --skipuid --cmd "dump eeprom boardinfo cvm.bin" 
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.0114 ] Generating RCM messages
[   0.0395 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0
[   0.0529 ] RCM 0 is saved as rcm_0.rcm
[   0.0694 ] RCM 1 is saved as rcm_1.rcm
[   0.0694 ] List of rcm files are saved in rcm_list.xml
[   0.0694 ] 
[   0.0694 ] Signing RCM messages
[   0.0728 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.1010 ] Assuming zero filled SBK key
[   0.1734 ] 
[   0.1734 ] Copying signature to RCM mesages
[   0.1752 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[   0.2176 ] 
[   0.2176 ] Boot Rom communication
[   0.2209 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[   0.2269 ] RCM version 0X210001
[   0.2977 ] Boot Rom communication completed
[   1.3530 ] 
[   1.3531 ] dump EEPROM info
[   1.3793 ] tegrarcm --oem platformdetails eeprom /home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/cvm.bin
[   1.3979 ] Applet version 00.01.0000
[   1.5229 ] Saved platform info in /home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/cvm.bin
[   1.7250 ] 
copying bctfile(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/t210ref/BCT/P2180_A00_LP4_DSC_204Mhz.cfg)... done.
copying bootloader(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying initrd(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating /home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb to rootfs... done.
Making Boot image... done.
copying bcffile(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/t210ref/cfg/board_config_p2597-devkit.xml)... done.
Existing sosfile(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done.
copying cpu_bootloader(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying bpffile(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done.
Existing badpagefile(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done.
Existing tosfile(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb)... done.
Copying nv_boot_control.conf to rootfs
Skip generating system.img
Existing tbcfile(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb)... done.
copying cfgfile(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/t210ref/cfg/gnu_linux_tegraboot_emmc_full.xml) to flash.xml... done.
copying flasher(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
Existing flashapp(/home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl cboot.bin --bct  P2180_A00_LP4_DSC_204Mhz.cfg --odmdata 0x94000 --bldtb tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb --applet nvtboot_recovery.bin --boardconfig board_config_p2597-devkit.xml --cmd "flash; reboot"  --cfg flash.xml --chip 0x21     
saving flash command in /home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/minada/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_TX1/Linux_for_Tegra/bootloader/flash_win.bat
*** Flashing target device started. ***
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.0116 ] tegrasign --key None --getmode mode.txt
[   0.0137 ] Assuming zero filled SBK key
[   0.0532 ] 
[   0.0532 ] Generating RCM messages
[   0.0627 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[   0.0660 ] RCM 0 is saved as rcm_0.rcm
[   0.0768 ] RCM 1 is saved as rcm_1.rcm
[   0.0789 ] List of rcm files are saved in rcm_list.xml
[   0.0997 ] 
[   0.0997 ] Signing RCM messages
[   0.1055 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.1086 ] Assuming zero filled SBK key
[   0.1651 ] 
[   0.1651 ] Copying signature to RCM mesages
[   0.1734 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[   0.2190 ] 
[   0.2190 ] Parsing partition layout
[   0.2297 ] tegraparser --pt flash.xml.tmp
[   0.2742 ] 
[   0.2743 ] Creating list of images to be signed
[   0.2813 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[   0.4136 ] 
[   0.4136 ] Generating signatures
[   0.4151 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[   0.4382 ] Assuming zero filled SBK key
[   1.2413 ] 
[   1.2413 ] Generating br-bct
[   1.2495 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.cfg --chip 0x21 0
[   1.2507 ] Copying Sdram info from 1 to 2 set
[   1.2699 ] Copying Sdram info from 2 to 3 set
[   1.2923 ] 
[   1.2923 ] Updating boot device parameters
[   1.2934 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[   1.3052 ] Warning: No sdram params
[   1.3326 ] 
[   1.3326 ] Updating bl info
[   1.3357 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   1.3692 ] 
[   1.3693 ] Updating secondary storage information into bct
[   1.3706 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct
[   1.4064 ] 
[   1.4064 ] Updating board information from board config into bct
[   1.4091 ] tegraparser --boardconfig board_config_p2597-devkit.xml --chip 0x21 0 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct
[   1.4657 ] 
[   1.4658 ] Updating Odmdata
[   1.4669 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 0 --updatefields Odmdata =0x94000
[   1.4740 ] Warning: No sdram params
[   1.5009 ] 
[   1.5009 ] Get Signed section of bct
[   1.5082 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 0 --listbct bct_list.xml
[   1.5473 ] 
[   1.5473 ] Signing BCT
[   1.5590 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[   1.5700 ] Assuming zero filled SBK key
[   1.5963 ] 
[   1.5964 ] Updating BCT with signature
[   1.5975 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[   1.6314 ] 
[   1.6314 ] Copying signatures
[   1.6329 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   1.7057 ] 
[   1.7057 ] Updating BFS information on BCT
[   1.7304 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin
[   1.7492 ]    BFS:
[   1.7932 ]      0: [PT ] flash.xml.bin (size=4636/131072)
[   1.8054 ]      1: [TBC] nvtboot_cpu.bin.encrypt (size=65760/196608)
[   1.8060 ]      2: [RP1] tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb.encrypt (size=488288/1048576)
[   1.8118 ]      3: [EBT] cboot.bin.encrypt (size=483888/999424)
[   1.8160 ]      4: [WB0] warmboot.bin.encrypt (size=3952/131072)
[   1.8198 ]      5: [BPF] sc7entry-firmware.bin.encrypt (size=3376/262144)
[   1.8279 ] BFS0: 131072 @ 2784 SUM f4c911b1 over 2768896 bytes
[   1.8341 ]    BFS:
[   1.8404 ]      0: [PT-1] flash.xml.bin (size=4636/131072)
[   1.8408 ]      1: [TBC-1] nvtboot_cpu.bin.encrypt (size=65760/196608)
[   1.8495 ]      2: [RP1-1] tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb.encrypt (size=488288/1048576)
[   1.8551 ]      3: [EBT-1] cboot.bin.encrypt (size=483888/999424)
[   1.8576 ]      4: [WB0-1] warmboot.bin.encrypt (size=3952/131072)
[   1.8671 ]      5: [BPF-1] sc7entry-firmware.bin.encrypt (size=3376/262144)
[   1.8838 ]      7: [VER_b] emmc_bootblob_ver.txt (size=102/32768)
[   1.8902 ]      8: [VER] emmc_bootblob_ver.txt (size=102/32768)
[   1.8937 ] BFS1: 131072 @ 8928 SUM f4c911b1 over 2867200 bytes
[   1.9372 ]    KFS:
[   2.7388 ]      0: [DTB] tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb.encrypt (size=488288/1048576)
[   2.7398 ]      1: [TOS] tos-mon-only.img.encrypt (size=54208/6291456)
[   2.7468 ]      2: [EKS] eks.img (size=1028/81920)
[   2.7489 ]      3: [LNX] boot.img.encrypt (size=495616/67092480)
[   2.7528 ] KFS0: 1048576 @ 29376546 SUM ed6110a3 over 7917568 bytes
[   2.7695 ]    KFS:
[   3.0926 ]      0: [DTB-1] tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb.encrypt (size=488288/1048576)
[   3.0962 ]      1: [TOS-1] tos-mon-only.img.encrypt (size=54208/6291456)
[   3.1013 ]      2: [EKS-1] eks.img (size=1028/81920)
[   3.1021 ]      3: [LNX-1] boot.img.encrypt (size=495616/67092480)
[   3.1100 ] KFS1: 1048576 @ 29522082 SUM ed6110a3 over 7917568 bytes
[   3.1497 ] 
[   3.1498 ] Boot Rom communication
[   3.1509 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml
[   3.1595 ] BootRom is not running
[   3.2236 ] 
[   3.2236 ] Sending BCTs
[   3.2311 ] tegrarcm --download bct P2180_A00_LP4_DSC_204Mhz.bct
[   3.2425 ] Applet version 00.01.0000
[   3.3553 ] Sending bct
[   3.3555 ] [................................................] 100%
[   3.6614 ] 
[   3.6614 ] Sending bootloader and pre-requisite binaries
[   3.6771 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb 0
[   3.6782 ] Applet version 00.01.0000
[   3.7921 ] Sending ebt
[   3.7926 ] [................................................] 100%
[   4.0425 ] Sending rp1
[   4.0826 ] [................................................] 100%
[   4.3933 ] 
[   4.4100 ] tegrarcm --boot recovery
[   4.4147 ] Applet version 00.01.0000
[   4.6684 ] 
[   4.6685 ] Retrieving storage infomation
[   4.6743 ] tegrarcm --oem platformdetails storage storage_info.bin
[   4.7016 ] Applet is not running on device. Continue with Bootloader
[   5.4494 ] 
[   5.4656 ] tegradevflash --oem platformdetails storage storage_info.bin
[   5.4669 ] Cboot version 00.01.0000
[   5.6000 ] Saved platform info in storage_info.bin
[   5.7663 ] 
[   5.7664 ] Flashing the device
[   5.7885 ] tegradevflash --pt flash.xml.bin --storageinfo storage_info.bin --create
[   5.7948 ] Cboot version 00.01.0000
[   5.9112 ] Writing partition GPT with gpt.bin
[   5.9116 ] [................................................] 100%
[   5.9828 ] Writing partition PT with flash.xml.bin
[   6.6302 ] [................................................] 100%
[   6.6944 ] Writing partition PT-1 with flash.xml.bin
[   6.8240 ] [................................................] 100%
[   6.9051 ] Writing partition NVC with nvtboot.bin.encrypt
[   7.0387 ] [................................................] 100%
[   7.1472 ] Writing partition TBC with nvtboot_cpu.bin.encrypt
[   7.3253 ] [................................................] 100%
[   7.4205 ] Writing partition RP1 with tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb.encrypt
[   7.5226 ] [................................................] 100%
[   7.6967 ] Writing partition EBT with cboot.bin.encrypt
[   7.8169 ] [................................................] 100%
[   8.0258 ] Writing partition WB0 with warmboot.bin.encrypt
[   8.2010 ] [................................................] 100%
[   8.2836 ] Writing partition BPF with sc7entry-firmware.bin.encrypt
[   8.4413 ] [................................................] 100%
[   8.5206 ] Writing partition NVC-1 with nvtboot.bin.encrypt
[   8.6758 ] [................................................] 100%
[   8.7890 ] Writing partition TBC-1 with nvtboot_cpu.bin.encrypt
[   8.9369 ] [................................................] 100%
[   9.0302 ] Writing partition RP1-1 with tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb.encrypt
[   9.1568 ] [................................................] 100%
[   9.3404 ] Writing partition EBT-1 with cboot.bin.encrypt
[   9.5428 ] [................................................] 100%
[   9.7315 ] Writing partition WB0-1 with warmboot.bin.encrypt
[   9.8809 ] [................................................] 100%
[   9.9592 ] Writing partition BPF-1 with sc7entry-firmware.bin.encrypt
[  10.1117 ] [................................................] 100%
[  10.1888 ] Writing partition VER_b with emmc_bootblob_ver.txt
[  10.3454 ] [................................................] 100%
[  10.4237 ] Writing partition VER with emmc_bootblob_ver.txt
[  10.5400 ] [................................................] 100%
[  10.6167 ] Writing partition APP with system.img
[  10.7219 ] [                                                ] 000%
[  10.7219 ] [                                                ] 000%
[  10.7219 ] [                                                ] 000%
[  10.7219 ] [                                                ] 000%
[ 697.2426 ] 
Error: Return value 3
Command tegradevflash --pt flash.xml.bin --storageinfo storage_info.bin --create
Failed flashing t210ref.
Info: [ Component Install Finished with Error ]
Info: [host] [ 246.47 MB used. Disk Avail: 17.61 GB ]
Info: [ NV_L4T_FLASH_TX1_WITH_OS_IMAGE_COMP Install took 11m42s ]
Error: [error]: : [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FLASH_TX1_WITH_OS_IMAGE_COMP.sh; [error]: Board ID(2180) version(410)

Could someone have any solution?

Thank you.

Hi,

Are you using VM to flash?

Yes. I am using virtual box that is installed ubuntu 18.04.

Virtual machine is not supported for flash.

1 Like

Ok. Thanks.