Nvidia Jetson Nano Flashing Problem

I bought the Jetson Nano Developer Kit 16G eMMC, and it was working great right away. However, one day I plugged it in and it wouldn’t boot up. The light and fan would come on, but nothing would be seen on the monitor. I was told to re-flash the eMMC with the commands in this link. However, the flashing process kept failing. See the log below

###############################################################################

L4T BSP Information:

R32 , REVISION: 6.1

###############################################################################

Target Board Information:

Name: jetson-nano-emmc, Board Family: t210ref, SoC: Tegra 210,

OpMode: production, Boot Authentication: ,

Disk encryption: disabled ,

###############################################################################
./tegraflash.py --chip 0x21 --applet “/home/kraken/Downloads/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.0119 ] Generating RCM messages
[ 0.0154 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/kraken/Downloads/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0
[ 0.0172 ] RCM 0 is saved as rcm_0.rcm
[ 0.0282 ] RCM 1 is saved as rcm_1.rcm
[ 0.0282 ] List of rcm files are saved in rcm_list.xml
[ 0.0283 ]
[ 0.0284 ] Signing RCM messages
[ 0.0450 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0475 ] Assuming zero filled SBK key
[ 0.1019 ]
[ 0.1020 ] Copying signature to RCM mesages
[ 0.1059 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.1088 ]
[ 0.1090 ] Boot Rom communication
[ 0.1126 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[ 0.1147 ] RCM version 0X210001
[ 0.1630 ] Boot Rom communication completed
[ 1.1712 ]
[ 1.1713 ] dump EEPROM info
[ 1.1752 ] tegrarcm --oem platformdetails eeprom /home/kraken/Downloads/Linux_for_Tegra/bootloader/cvm.bin
[ 1.1777 ] Applet version 00.01.0000
[ 1.1839 ] Saved platform info in /home/kraken/Downloads/Linux_for_Tegra/bootloader/cvm.bin
[ 1.2624 ]
[ 1.2665 ] tegrarcm --reboot recovery
[ 1.2688 ] Applet version 00.01.0000
[ 1.2745 ]
Board ID(3448) version(401)
copying bctfile(/home/kraken/Downloads/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_lpddr4_204Mhz_P987.cfg)… done.
copying bootloader(/home/kraken/Downloads/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
copying initrd(/home/kraken/Downloads/Linux_for_Tegra/bootloader/l4t_initrd.img)… done.
Making Boot image… done.
Existing sosfile(/home/kraken/Downloads/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/kraken/Downloads/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)… done.
copying cpu_bootloader(/home/kraken/Downloads/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
copying bpffile(/home/kraken/Downloads/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)… done.
copying wb0boot(/home/kraken/Downloads/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)… done.
Existing tosfile(/home/kraken/Downloads/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/kraken/Downloads/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/kraken/Downloads/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)… done.
Copying nv_boot_control.conf to rootfs
populating kernel to rootfs… done.
populating initrd to rootfs… done.
populating kernel_tegra210-p3448-0002-p3449-0000-b00.dtb to rootfs… done.
Making system.img…
populating rootfs from /home/kraken/Downloads/Linux_for_Tegra/rootfs … populating /boot/extlinux/extlinux.conf … done.
Sync’ing system.img … done.
Converting RAW image to Sparse image… done.
system.img built successfully.
Existing tbcfile(/home/kraken/Downloads/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/home/kraken/Downloads/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)… done.
copying cfgfile(/home/kraken/Downloads/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_emmc_p3448.xml) to flash.xml… done.
copying flasher(/home/kraken/Downloads/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
Existing flashapp(/home/kraken/Downloads/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl cboot.bin --bct P3448_A00_lpddr4_204Mhz_P987.cfg --odmdata 0xa4000 --bldtb kernel_tegra210-p3448-0002-p3449-0000-b00.dtb --applet nvtboot_recovery.bin --cmd “flash; reboot” --cfg flash.xml --chip 0x21 --bins “EBT cboot.bin; DTB tegra210-p3448-0002-p3449-0000-b00.dtb”
saving flash command in /home/kraken/Downloads/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/kraken/Downloads/Linux_for_Tegra/bootloader/flash_win.bat
assign_value: crc-flash.xml.bin 1 131056 1
printf ‘\x1’ | dd of=crc-flash.xml.bin bs=1 seek=131056 count=1 conv=notrunc
1+0 records in
1+0 records out
1 byte copied, 0.000167221 s, 6.0 kB/s
assign_value: crc-flash.xml.bin 0 131057 1
printf ‘\x0’ | dd of=crc-flash.xml.bin bs=1 seek=131057 count=1 conv=notrunc
1+0 records in
1+0 records out
1 byte copied, 9.8024e-05 s, 10.2 kB/s
assign_string: crc-flash.xml.bin PTHD 131064 4
echo PTHD | dd of=crc-flash.xml.bin bs=1 seek=131064 count=4 conv=notrunc
4+0 records in
4+0 records out
4 bytes copied, 8.2608e-05 s, 48.4 kB/s
*** 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.0558 ] tegrasign --getmode mode.txt --key None
[ 0.0582 ] Assuming zero filled SBK key
[ 0.1090 ]
[ 0.1096 ] Generating RCM messages
[ 0.2624 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[ 0.2653 ] RCM 0 is saved as rcm_0.rcm
[ 0.3132 ] RCM 1 is saved as rcm_1.rcm
[ 0.3133 ] List of rcm files are saved in rcm_list.xml
[ 0.3133 ]
[ 0.3134 ] Signing RCM messages
[ 0.3167 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.3191 ] Assuming zero filled SBK key
[ 0.3347 ]
[ 0.3348 ] Copying signature to RCM mesages
[ 0.3388 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.3419 ]
[ 0.3420 ] Parsing partition layout
[ 0.3457 ] tegraparser --pt flash.xml.tmp
[ 0.3488 ]
[ 0.3491 ] Using default ramcode: 0
[ 0.3491 ] Disable BPMP dtb trim, using default dtb
[ 0.3491 ]
[ 0.3492 ] Creating list of images to be signed
[ 0.3525 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[ 0.4719 ]
[ 0.4721 ] Generating signatures
[ 0.4766 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.4791 ] Assuming zero filled SBK key
[ 0.7459 ]
[ 0.7460 ] Generating br-bct
[ 0.7800 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0
[ 0.8236 ]
[ 0.8237 ] Updating boot device parameters
[ 0.8269 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[ 0.8286 ] Warning: No sdram params
[ 0.8291 ]
[ 0.8292 ] Updating bl info
[ 0.8325 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.8367 ]
[ 0.8368 ] Updating secondary storage information into bct
[ 0.8406 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct
[ 0.8433 ]
[ 0.8434 ] Updating Odmdata
[ 0.8468 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000
[ 0.8488 ] Warning: No sdram params
[ 0.8497 ]
[ 0.8499 ] Get Signed section of bct
[ 0.8535 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml
[ 0.8559 ]
[ 0.8560 ] Signing BCT
[ 0.8615 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.8633 ] Assuming zero filled SBK key
[ 0.8646 ]
[ 0.8646 ] Updating BCT with signature
[ 0.8678 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[ 0.8704 ]
[ 0.8705 ] Copying signatures
[ 0.8748 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 0.8995 ]
[ 0.8997 ] Updating BFS information on BCT
[ 0.9040 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin
[ 0.9067 ] BFS:
[ 0.9099 ] 0: [PT ] crc-flash.xml.bin (size=131072/131072)
[ 0.9118 ] 1: [TBC] nvtboot_cpu.bin.encrypt (size=65760/196608)
[ 0.9139 ] 2: [RP1] kernel_tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=238144/1048576)
[ 0.9158 ] 3: [EBT] cboot.bin.encrypt (size=485392/655360)
[ 0.9175 ] 4: [WB0] warmboot.bin.encrypt (size=3952/131072)
[ 0.9192 ] 5: [BPF] sc7entry-firmware.bin.encrypt (size=3376/262144)
[ 0.9212 ] BFS0: 131072 @ 2560 SUM 8947cbee over 2883584 bytes
[ 0.9228 ] BFS:
[ 0.9231 ] 0: [PT-1] crc-flash.xml.bin (size=131072/131072)
[ 0.9247 ] 1: [TBC-1] nvtboot_cpu.bin.encrypt (size=65760/196608)
[ 0.9262 ] 2: [RP1-1] kernel_tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=238144/1048576)
[ 0.9285 ] 3: [EBT-1] cboot.bin.encrypt (size=485392/655360)
[ 0.9299 ] 4: [WB0-1] warmboot.bin.encrypt (size=3952/131072)
[ 0.9311 ] 5: [BPF-1] sc7entry-firmware.bin.encrypt (size=3376/262144)
[ 0.9326 ] 8: [VER_b] emmc_bootblob_ver.txt (size=101/32768)
[ 0.9514 ] 9: [VER] emmc_bootblob_ver.txt (size=101/32768)
[ 0.9528 ] BFS1: 131072 @ 8704 SUM 8947cbee over 2981888 bytes
[ 0.9561 ] KFS:
[ 1.0101 ] 0: [DTB] kernel_tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=238144/1048576)
[ 1.0131 ] 1: [TOS] tos-mon-only.img.encrypt (size=54208/6291456)
[ 1.0146 ] 2: [EKS] eks.img (size=1028/81920)
[ 1.1283 ] 3: [LNX] boot.img.encrypt (size=667648/67092480)
[ 1.1294 ] KFS0: 1048576 @ 29376546 SUM 16e2432e over 8089600 bytes
[ 1.1383 ] KFS:
[ 1.1865 ] 0: [DTB-1] kernel_tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=238144/1048576)
[ 1.1884 ] 1: [TOS-1] tos-mon-only.img.encrypt (size=54208/6291456)
[ 1.1896 ] 2: [EKS-1] eks.img (size=1028/81920)
[ 1.1904 ] 3: [LNX-1] boot.img.encrypt (size=667648/67092480)
[ 1.1915 ] KFS1: 1048576 @ 29522082 SUM 16e2432e over 8089600 bytes
[ 1.1978 ]
[ 1.1979 ] Boot Rom communication
[ 1.2016 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml
[ 1.2036 ] BR_CID: 0x32101001643206412400000018030040
[ 1.2060 ] RCM version 0X210001
[ 1.2068 ] Boot Rom communication completed
[ 2.2133 ]
[ 2.2134 ] Sending BCTs
[ 2.2174 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct
[ 2.2200 ] Applet version 00.01.0000
[ 2.2258 ] Sending bct
[ 2.2264 ] […] 100%
[ 2.4512 ]
[ 2.4556 ] tegrahost --chip 0x21 --align cboot.bin
[ 2.4584 ]
[ 2.4625 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader
[ 2.4685 ]
[ 2.4737 ] tegrasign --key None --list cboot.bin_list.xml
[ 2.4756 ] Assuming zero filled SBK key
[ 2.5078 ]
[ 2.5126 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk
[ 2.5175 ]
[ 2.5235 ] tegrahost --chip 0x21 --align tegra210-p3448-0002-p3449-0000-b00.dtb
[ 2.5255 ]
[ 2.5285 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0002-p3449-0000-b00.dtb tegra210-p3448-0002-p3449-0000-b00.dtb_blheader
[ 2.5330 ]
[ 2.5372 ] tegrasign --key None --list tegra210-p3448-0002-p3449-0000-b00.dtb_list.xml
[ 2.5390 ] Assuming zero filled SBK key
[ 2.5570 ]
[ 2.5617 ] tegrahost --updatesigheader tegra210-p3448-0002-p3449-0000-b00.dtb_blheader.encrypt tegra210-p3448-0002-p3449-0000-b00.dtb_blheader.hash zerosbk
[ 2.5649 ]
[ 2.5666 ] Sending bootloader and pre-requisite binaries
[ 2.5706 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt 0
[ 2.5722 ] Applet version 00.01.0000
[ 2.5773 ] Sending ebt
[ 2.6868 ]
Error: Return value 1
Command tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt 0
Failed flashing t210ref.

Hi, please change the following command in red frame of user guide by sudo ./flash.sh jetson-nano-emmc mmcblk0p1 .

‘Subsequent flashes can be added with the -r option’

so,the cmd maybe change to

sudo ./flash.sh -r jetson-nano-emmc mmcblk0p1