Nvidia Jetson Nano emmc flashing fail issue (FAILED TO FLASH/READ T210REF)

I’m using Jetson Nano Module (P3448, emmc version) and getting an error of “FAILED TO FLASH/READ T210REF”:


KEVIN@KEVIN-YOGA:~/DOWNLOADS/EVF/LINUX_FOR_TEGRA$ SUDO ./FLASH.SH -R -K APP JETSON-NANO-EMMC MMCBLK0P1
###############################################################################

L4T BSP INFORMATION:

R32 , REVISION: 2.1

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

TARGET BOARD INFORMATION:

NAME: JETSON-NANO-EMMC, BOARD FAMILY: T210REF, SOC: TEGRA 210,

OPMODE: PRODUCTION, BOOT AUTHENTICATION: ,

###############################################################################
./TEGRAFLASH.PY --CHIP 0X21 --APPLET “/HOME/KEVIN/DOWNLOADS/EVF/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.0023 ] GENERATING RCM MESSAGES
[ 0.0037 ] TEGRARCM --LISTRCM RCM_LIST.XML --CHIP 0X21 0 --DOWNLOAD RCM /HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/NVTBOOT_RECOVERY.BIN 0 0
[ 0.0049 ] RCM 0 IS SAVED AS RCM_0.RCM
[ 0.0057 ] RCM 1 IS SAVED AS RCM_1.RCM
[ 0.0058 ] LIST OF RCM FILES ARE SAVED IN RCM_LIST.XML
[ 0.0058 ]
[ 0.0058 ] SIGNING RCM MESSAGES
[ 0.0076 ] TEGRASIGA --KEY NONE --LIST RCM_LIST.XML --PUBKEYHASH PUB_KEY.KEY
[ 0.0093 ] ASSUMING ZERO FILLED SBK KEY
[ 0.0163 ]
[ 0.0164 ] COPYING SIGNATURE TO RCM MESAGES
[ 0.0175 ] TEGRARCM --CHIP 0X21 0 --UPDATESIG RCM_LIST_SIGNED.XML
[ 0.0191 ]
[ 0.0191 ] BOOT ROM COMMUNICATION
[ 0.0201 ] TEGRARCM --CHIP 0X21 0 --RCM RCM_LIST_SIGNED.XML --SKIPUID
[ 0.0211 ] RCM VERSION 0X210001
[ 0.0641 ] BOOT ROM COMMUNICATION COMPLETED
[ 1.0724 ]
[ 1.0726 ] DUMP EEPROM INFO
[ 1.0758 ] TEGRARCM --OEM PLATFORMDETAILS EEPROM /HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/CVM.BIN
[ 1.0785 ] APPLET VERSION 00.01.0000
[ 1.0933 ] SAVED PLATFORM INFO IN /HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/CVM.BIN
[ 1.1705 ]
BOARD ID(3448) VERSION(400)
COPYING BCTFILE(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/BCT/P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.CFG)… DONE.
COPYING BOOTLOADER(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/CBOOT.BIN)… DONE.
COPYING INITRD(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/L4T_INITRD.IMG)… DONE.
POPULATING KERNEL TO ROOTFS… DONE.
POPULATING INITRD TO ROOTFS… DONE.
POPULATING /HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/KERNEL/DTB/TEGRA210-P3448-0002-P3449-0000-B00.DTB TO ROOTFS… DONE.
MAKING BOOT IMAGE… DONE.
EXISTING SOSFILE(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/NVTBOOT_RECOVERY.BIN) REUSED.
COPYING TEGRABOOT(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/NVTBOOT.BIN)… DONE.
COPYING CPU_BOOTLOADER(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/CBOOT.BIN)… DONE.
COPYING BPFFILE(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/SC7ENTRY-FIRMWARE.BIN)… DONE.
EXISTING BADPAGEFILE(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/BADPAGE.BIN) REUSED.
COPYING WB0BOOT(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/WARMBOOT.BIN)… DONE.
EXISTING TOSFILE(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/TOS-MON-ONLY.IMG) REUSED.
EXISTING EKSFILE(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/EKS.IMG) REUSED.
COPYING DTBFILE(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/KERNEL/DTB/TEGRA210-P3448-0002-P3449-0000-B00.DTB)… DONE.
COPYING NV_BOOT_CONTROL.CONF TO ROOTFS
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
REUSING EXISTING SYSTEM.IMG…
DONE.
EXISTING TBCFILE(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/NVTBOOT_CPU.BIN) REUSED.
COPYING TBCDTBFILE(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/KERNEL/DTB/TEGRA210-P3448-0002-P3449-0000-B00.DTB)… DONE.
COPYING CFGFILE(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/CFG/FLASH_L4T_T210_EMMC_P3448.XML) TO FLASH.XML… DONE.
COPYING FLASHER(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/CBOOT.BIN)… DONE.
EXISTING FLASHAPP(/HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/TEGRAFLASH.PY) REUSED.
*** UPDATING [APP] WITH SYSTEM.IMG ***
./TEGRAFLASH.PY --BL CBOOT.BIN --BLDTB TEGRA210-P3448-0002-P3449-0000-B00.DTB --CHIP 0X21 --APPLET NVTBOOT_RECOVERY.BIN --BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.CFG --CFG FLASH.XML --CMD “WRITE APP SYSTEM.IMG; REBOOT”
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.0072 ] GENERATING RCM MESSAGES
[ 0.0084 ] TEGRARCM --LISTRCM RCM_LIST.XML --CHIP 0X21 0 --DOWNLOAD RCM NVTBOOT_RECOVERY.BIN 0 0
[ 0.0096 ] RCM 0 IS SAVED AS RCM_0.RCM
[ 0.0103 ] RCM 1 IS SAVED AS RCM_1.RCM
[ 0.0103 ] LIST OF RCM FILES ARE SAVED IN RCM_LIST.XML
[ 0.0104 ]
[ 0.0104 ] SIGNING RCM MESSAGES
[ 0.0115 ] TEGRASIGN --KEY NONE --LIST RCM_LIST.XML --PUBKEYHASH PUB_KEY.KEY
[ 0.0128 ] ASSUMING ZERO FILLED SBK KEY
[ 0.0204 ]
[ 0.0204 ] COPYING SIGNATURE TO RCM MESAGES
[ 0.0216 ] TEGRARCM --CHIP 0X21 0 --UPDATESIG RCM_LIST_SIGNED.XML
[ 0.0236 ]
[ 0.0237 ] BOOT ROM COMMUNICATION
[ 0.0249 ] TEGRARCM --CHIP 0X21 0 --RCM RCM_LIST_SIGNED.XML
[ 0.0261 ] BOOTROM IS NOT RUNNING
[ 0.0690 ]
[ 0.0691 ] PARSING PARTITION LAYOUT
[ 0.0718 ] TEGRAPARSER --PT FLASH.XML.TMP
[ 0.0741 ]
[ 0.0742 ] CREATING LIST OF IMAGES TO BE SIGNED
[ 0.0759 ] TEGRAHOST --CHIP 0X21 0 --PARTITIONLAYOUT FLASH.XML.BIN --LIST IMAGES_LIST.XML
[ 0.0829 ]
[ 0.0830 ] GENERATING SIGNATURES
[ 0.0843 ] TEGRASIGN --KEY NONE --LIST IMAGES_LIST.XML --PUBKEYHASH PUB_KEY.KEY
[ 0.0853 ] ASSUMING ZERO FILLED SBK KEY
[ 0.1446 ]
[ 0.1447 ] SEND BCT FROM HOST
[ 0.1447 ] GENERATING BR-BCT
[ 0.1458 ] TEGRABCT --BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.CFG --CHIP 0X21 0
[ 0.1467 ] COPYING SDRAM INFO FROM 0 TO 1 SET
[ 0.1480 ] COPYING SDRAM INFO FROM 1 TO 2 SET
[ 0.1480 ] COPYING SDRAM INFO FROM 2 TO 3 SET
[ 0.1480 ]
[ 0.1480 ] UPDATING BOOT DEVICE PARAMETERS
[ 0.1490 ] TEGRABCT --BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.BCT --CHIP 0X21 0 --UPDATEDEVPARAM FLASH.XML.BIN
[ 0.1500 ] WARNING: NO SDRAM PARAMS
[ 0.1503 ]
[ 0.1503 ] UPDATING BL INFO
[ 0.1514 ] TEGRABCT --BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.BCT --CHIP 0X21 0 --UPDATEBLINFO FLASH.XML.BIN --UPDATESIG IMAGES_LIST_SIGNED.XML
[ 0.1529 ]
[ 0.1529 ] UPDATING SECONDARY STORAGE INFORMATION INTO BCT
[ 0.1538 ] TEGRAPARSER --PT FLASH.XML.BIN --CHIP 0X21 0 --UPDATECUSTINFO P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.BCT
[ 0.1549 ]
[ 0.1550 ] GET SIGNED SECTION OF BCT
[ 0.1562 ] TEGRABCT --BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.BCT --CHIP 0X21 0 --LISTBCT BCT_LIST.XML
[ 0.1575 ]
[ 0.1576 ] SIGNING BCT
[ 0.1604 ] TEGRASIGN --KEY NONE --LIST BCT_LIST.XML --PUBKEYHASH PUB_KEY.KEY
[ 0.1620 ] ASSUMING ZERO FILLED SBK KEY
[ 0.1626 ]
[ 0.1627 ] UPDATING BCT WITH SIGNATURE
[ 0.1637 ] TEGRABCT --BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.BCT --CHIP 0X21 0 --UPDATESIG BCT_LIST_SIGNED.XML
[ 0.1650 ]
[ 0.1650 ] SENDING BCTS
[ 0.1662 ] TEGRARCM --DOWNLOAD BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.BCT
[ 0.1671 ] APPLET VERSION 00.01.0000
[ 0.1826 ] SENDING BCT
[ 0.1827 ] […] 100%
[ 0.2551 ]
[ 0.2552 ] SENDING BOOTLOADER AND PRE-REQUISITE BINARIES
[ 0.2580 ] TEGRARCM --DOWNLOAD EBT CBOOT.BIN 0 0 --DOWNLOAD RP1 TEGRA210-P3448-0002-P3449-0000-B00.DTB 0
[ 0.2606 ] APPLET VERSION 00.01.0000
[ 0.2793 ] SENDING EBT
[ 0.2798 ] […] 100%
[ 0.3901 ] SENDING RP1
[ 0.3904 ] […] 100%
[ 0.4377 ]
[ 0.4409 ] TEGRARCM --BOOT RECOVERY
[ 0.4438 ] APPLET VERSION 00.01.0000
[ 0.4636 ]
[ 0.4637 ] WRITING PARTITION
[ 0.4656 ] TEGRADEVFLASH --WRITE APP /HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/SYSTEM.IMG
[ 0.4672 ] CBOOT VERSION 00.01.0000
[ 0.9905 ] WRITING PARTITION APP WITH /HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/SYSTEM.IMG
[ 1.8668 ] [ ] 000%
ERROR: RETURN VALUE 1
COMMAND TEGRADEVFLASH --WRITE APP /HOME/KEVIN/DOWNLOADS/EVF/LINUX_FOR_TEGRA/BOOTLOADER/SYSTEM.IMG
FAILED TO FLASH/READ T210REF.

Having searched my problem in this forum and found an similar thread:
https://devtalk.nvidia.com/default/topic/1068097/jetson-nano/-nvidia-jetson-nano-flashing-emmc-fail-issue/

So I tried ./Flash.sh instead of ./Flash.sh -R -K APP but the progress stopped at 18% and still failed flashing t210ref.


KEVIN@KEVIN-YOGA:~/DOWNLOADS/LINUX_FOR_TEGRA$ SUDO ./FLASH.SH JETSON-NANO-EMMC MMCBLK0P1
[SUDO] PASSWORD FOR KEVIN:
###############################################################################

L4T BSP INFORMATION:

R32 , REVISION: 2.1

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

TARGET BOARD INFORMATION:

NAME: JETSON-NANO-EMMC, BOARD FAMILY: T210REF, SOC: TEGRA 210,

OPMODE: PRODUCTION, BOOT AUTHENTICATION: ,

###############################################################################
./TEGRAFLASH.PY --CHIP 0X21 --APPLET “/HOME/KEVIN/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.0019 ] GENERATING RCM MESSAGES
[ 0.0030 ] TEGRARCM --LISTRCM RCM_LIST.XML --CHIP 0X21 0 --DOWNLOAD RCM /HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/NVTBOOT_RECOVERY.BIN 0 0
[ 0.0041 ] RCM 0 IS SAVED AS RCM_0.RCM
[ 0.0051 ] RCM 1 IS SAVED AS RCM_1.RCM
[ 0.0051 ] LIST OF RCM FILES ARE SAVED IN RCM_LIST.XML
[ 0.0051 ]
[ 0.0051 ] SIGNING RCM MESSAGES
[ 0.0065 ] TEGRASIGN --KEY NONE --LIST RCM_LIST.XML --PUBKEYHASH PUB_KEY.KEY
[ 0.0077 ] ASSUMING ZERO FILLED SBK KEY
[ 0.0151 ]
[ 0.0151 ] COPYING SIGNATURE TO RCM MESAGES
[ 0.0162 ] TEGRARCM --CHIP 0X21 0 --UPDATESIG RCM_LIST_SIGNED.XML
[ 0.0193 ]
[ 0.0193 ] BOOT ROM COMMUNICATION
[ 0.0209 ] TEGRARCM --CHIP 0X21 0 --RCM RCM_LIST_SIGNED.XML --SKIPUID
[ 0.0224 ] RCM VERSION 0X210001
[ 0.0666 ] BOOT ROM COMMUNICATION COMPLETED
[ 1.0740 ]
[ 1.0742 ] DUMP EEPROM INFO
[ 1.0785 ] TEGRARCM --OEM PLATFORMDETAILS EEPROM /HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/CVM.BIN
[ 1.0806 ] APPLET VERSION 00.01.0000
[ 1.0955 ] SAVED PLATFORM INFO IN /HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/CVM.BIN
[ 1.1724 ]
BOARD ID(3448) VERSION(400)
COPYING BCTFILE(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/BCT/P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.CFG)… DONE.
COPYING BOOTLOADER(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/CBOOT.BIN)… DONE.
COPYING INITRD(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/L4T_INITRD.IMG)… DONE.
POPULATING KERNEL TO ROOTFS… DONE.
POPULATING INITRD TO ROOTFS… DONE.
POPULATING /HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/KERNEL/DTB/TEGRA210-P3448-0002-P3449-0000-B00.DTB TO ROOTFS… DONE.
MAKING BOOT IMAGE… DONE.
EXISTING SOSFILE(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/NVTBOOT_RECOVERY.BIN) REUSED.
COPYING TEGRABOOT(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/NVTBOOT.BIN)… DONE.
COPYING CPU_BOOTLOADER(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/CBOOT.BIN)… DONE.
COPYING BPFFILE(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/SC7ENTRY-FIRMWARE.BIN)… DONE.
EXISTING BADPAGEFILE(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/BADPAGE.BIN) REUSED.
COPYING WB0BOOT(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/WARMBOOT.BIN)… DONE.
EXISTING TOSFILE(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/TOS-MON-ONLY.IMG) REUSED.
EXISTING EKSFILE(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/EKS.IMG) REUSED.
COPYING DTBFILE(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/KERNEL/DTB/TEGRA210-P3448-0002-P3449-0000-B00.DTB)… DONE.
COPYING NV_BOOT_CONTROL.CONF TO ROOTFS
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
SED: CAN’T READ /HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/ROOTFS/ETC/NV_BOOT_CONTROL.CONF: NOT A DIRECTORY
MAKING SYSTEM.IMG…
POPULATING ROOTFS FROM /HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/ROOTFS … DONE.
SYNC’ING SYSTEM.IMG … DONE.
CONVERTING RAW IMAGE TO SPARSE IMAGE…
---- RAW TO SPARSE IMAGE CONVERTER V1.0 ----------------------------
0: RAW: 4194304( 4 BLKS) ==> 28:4194316
1: SKP: 32505856( 31 BLKS) ==> 4194344:12
2: RAW: 1048576( 1 BLKS) ==> 4194356:1048588
3: SKP: 96468992( 92 BLKS) ==> 5242944:12
4: RAW: 1048576( 1 BLKS) ==> 5242956:1048588
5: SKP: 2097152( 2 BLKS) ==> 6291544:12
6: RAW: 2097152( 2 BLKS) ==> 6291556:2097164
7: SKP: 3145728( 3 BLKS) ==> 8388720:12
8: RAW: 23068672( 22 BLKS) ==> 8388732:23068684
9: SKP: 1048576( 1 BLKS) ==> 31457416:12
10: RAW: 9437184( 9 BLKS) ==> 31457428:9437196
11: SKP: 226492416( 216 BLKS) ==> 40894624:12
12: RAW: 1048576( 1 BLKS) ==> 40894636:1048588
13: SKP: 267386880( 255 BLKS) ==> 41943224:12
14: RAW: 1048576( 1 BLKS) ==> 41943236:1048588
15: SKP: 267386880( 255 BLKS) ==> 42991824:12
16: RAW: 1048576( 1 BLKS) ==> 42991836:1048588
17: SKP: 267386880( 255 BLKS) ==> 44040424:12
18: RAW: 1048576( 1 BLKS) ==> 44040436:1048588
19: SKP: 938475520( 895 BLKS) ==> 45089024:12
20: RAW: 1048576( 1 BLKS) ==> 45089036:1048588
21: SKP: 1206910976( 1151 BLKS) ==> 46137624:12
22: RAW: 1048576( 1 BLKS) ==> 46137636:1048588
23: SKP: 267386880( 255 BLKS) ==> 47186224:12
24: RAW: 1048576( 1 BLKS) ==> 47186236:1048588
25: SKP: 670040064( 639 BLKS) ==> 48234824:12
26: RAW: 1048576( 1 BLKS) ==> 48234836:1048588
27: SKP: 2146435072( 2047 BLKS) ==> 49283424:12
28: RAW: 1048576( 1 BLKS) ==> 49283436:1048588
29: SKP: 133169152( 127 BLKS) ==> 50332024:12
30: RAW: 1048576( 1 BLKS) ==> 50332036:1048588
31: SKP: 2097152( 2 BLKS) ==> 51380624:12
32: RAW: 1048576( 1 BLKS) ==> 51380636:1048588
33: SKP: 2009071616( 1916 BLKS) ==> 52429224:12
34: RAW: 1048576( 1 BLKS) ==> 52429236:1048588
35: SKP: 32505856( 31 BLKS) ==> 53477824:12
36: RAW: 1048576( 1 BLKS) ==> 53477836:1048588
37: SKP: 99614720( 95 BLKS) ==> 54526424:12
38: RAW: 6291456( 6 BLKS) ==> 54526436:6291468
39: SKP: 2006974464( 1914 BLKS) ==> 60817904:12
40: RAW: 1048576( 1 BLKS) ==> 60817916:1048588
41: SKP: 133169152( 127 BLKS) ==> 61866504:12
42: RAW: 1048576( 1 BLKS) ==> 61866516:1048588
43: SKP: 2012217344( 1919 BLKS) ==> 62915104:12
44: RAW: 1048576( 1 BLKS) ==> 62915116:1048588
45: SKP: 2146435072( 2047 BLKS) ==> 63963704:12
– TOTAL: ---------------------------------------------------
46 CHUNK 15032385536( 14336 BLKS) ==> 63963716(61 BLKS)
DONE.
SYSTEM.IMG BUILT SUCCESSFULLY.
EXISTING TBCFILE(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/NVTBOOT_CPU.BIN) REUSED.
COPYING TBCDTBFILE(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/KERNEL/DTB/TEGRA210-P3448-0002-P3449-0000-B00.DTB)… DONE.
COPYING CFGFILE(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/CFG/FLASH_L4T_T210_EMMC_P3448.XML) TO FLASH.XML… DONE.
COPYING FLASHER(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/T210REF/CBOOT.BIN)… DONE.
EXISTING FLASHAPP(/HOME/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/TEGRAFLASH.PY) REUSED.
./TEGRAFLASH.PY --BL CBOOT.BIN --BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.CFG --ODMDATA 0X94000 --BLDTB 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/KEVIN/DOWNLOADS/LINUX_FOR_TEGRA/BOOTLOADER/FLASHCMD.TXT
SAVING WINDOWS FLASH COMMAND TO /HOME/KEVIN/DOWNLOADS/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.0065 ] TEGRASIGN --KEY NONE --GETMODE MODE.TXT
[ 0.0091 ] ASSUMING ZERO FILLED SBK KEY
[ 0.0094 ]
[ 0.0096 ] GENERATING RCM MESSAGES
[ 0.0116 ] TEGRARCM --LISTRCM RCM_LIST.XML --CHIP 0X21 0 --DOWNLOAD RCM NVTBOOT_RECOVERY.BIN 0 0
[ 0.0129 ] RCM 0 IS SAVED AS RCM_0.RCM
[ 0.0136 ] RCM 1 IS SAVED AS RCM_1.RCM
[ 0.0136 ] LIST OF RCM FILES ARE SAVED IN RCM_LIST.XML
[ 0.0136 ]
[ 0.0136 ] SIGNING RCM MESSAGES
[ 0.0148 ] TEGRASIGN --KEY NONE --LIST RCM_LIST.XML --PUBKEYHASH PUB_KEY.KEY
[ 0.0158 ] ASSUMING ZERO FILLED SBK KEY
[ 0.0230 ]
[ 0.0230 ] COPYING SIGNATURE TO RCM MESAGES
[ 0.0241 ] TEGRARCM --CHIP 0X21 0 --UPDATESIG RCM_LIST_SIGNED.XML
[ 0.0257 ]
[ 0.0258 ] PARSING PARTITION LAYOUT
[ 0.0315 ] TEGRAPARSER --PT FLASH.XML.TMP
[ 0.0333 ]
[ 0.0333 ] CREATING LIST OF IMAGES TO BE SIGNED
[ 0.0347 ] TEGRAHOST --CHIP 0X21 0 --PARTITIONLAYOUT FLASH.XML.BIN --LIST IMAGES_LIST.XML
[ 0.0474 ]
[ 0.0475 ] GENERATING SIGNATURES
[ 0.0489 ] TEGRASIGN --KEY NONE --LIST IMAGES_LIST.XML --PUBKEYHASH PUB_KEY.KEY
[ 0.0500 ] ASSUMING ZERO FILLED SBK KEY
[ 0.1157 ]
[ 0.1157 ] GENERATING BR-BCT
[ 0.1177 ] TEGRABCT --BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.CFG --CHIP 0X21 0
[ 0.1188 ] COPYING SDRAM INFO FROM 0 TO 1 SET
[ 0.1245 ] COPYING SDRAM INFO FROM 1 TO 2 SET
[ 0.1245 ] COPYING SDRAM INFO FROM 2 TO 3 SET
[ 0.1245 ]
[ 0.1245 ] UPDATING BOOT DEVICE PARAMETERS
[ 0.1257 ] TEGRABCT --BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.BCT --CHIP 0X21 0 --UPDATEDEVPARAM FLASH.XML.BIN
[ 0.1267 ] WARNING: NO SDRAM PARAMS
[ 0.1270 ]
[ 0.1271 ] UPDATING BL INFO
[ 0.1282 ] TEGRABCT --BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.BCT --CHIP 0X21 0 --UPDATEBLINFO FLASH.XML.BIN --UPDATESIG IMAGES_LIST_SIGNED.XML
[ 0.1298 ]
[ 0.1298 ] UPDATING SECONDARY STORAGE INFORMATION INTO BCT
[ 0.1309 ] TEGRAPARSER --PT FLASH.XML.BIN --CHIP 0X21 0 --UPDATECUSTINFO P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.BCT
[ 0.1322 ]
[ 0.1323 ] UPDATING ODMDATA
[ 0.1334 ] TEGRABCT --BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.BCT --CHIP 0X21 0 --UPDATEFIELDS ODMDATA =0X94000
[ 0.1359 ] WARNING: NO SDRAM PARAMS
[ 0.1360 ]
[ 0.1360 ] GET SIGNED SECTION OF BCT
[ 0.1376 ] TEGRABCT --BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.BCT --CHIP 0X21 0 --LISTBCT BCT_LIST.XML
[ 0.1398 ]
[ 0.1399 ] SIGNING BCT
[ 0.1434 ] TEGRASIGN --KEY NONE --LIST BCT_LIST.XML --PUBKEYHASH PUB_KEY.KEY
[ 0.1450 ] ASSUMING ZERO FILLED SBK KEY
[ 0.1458 ]
[ 0.1459 ] UPDATING BCT WITH SIGNATURE
[ 0.1472 ] TEGRABCT --BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.BCT --CHIP 0X21 0 --UPDATESIG BCT_LIST_SIGNED.XML
[ 0.1487 ]
[ 0.1487 ] COPYING SIGNATURES
[ 0.1500 ] TEGRAHOST --CHIP 0X21 0 --PARTITIONLAYOUT FLASH.XML.BIN --UPDATESIG IMAGES_LIST_SIGNED.XML
[ 0.1543 ]
[ 0.1543 ] UPDATING BFS INFORMATION ON BCT
[ 0.1557 ] TEGRABCT --BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.BCT --CHIP 0X21 0 --UPDATEBFSINFO FLASH.XML.BIN
[ 0.1568 ] BFS:
[ 0.1614 ] 0: [PT ] FLASH.XML.BIN (SIZE=2306/65536)
[ 0.1619 ] 2: [VER] EMMC_BOOTBLOB_VER.TXT (SIZE=57/65536)
[ 0.1687 ] BFS0: 65536 @ 896 SUM D5A24153 OVER 7929856 BYTES
[ 0.1697 ]
[ 0.1698 ] BOOT ROM COMMUNICATION
[ 0.1718 ] TEGRARCM --CHIP 0X21 0 --RCM RCM_LIST_SIGNED.XML
[ 0.1751 ] BOOTROM IS NOT RUNNING
[ 0.2165 ]
[ 0.2166 ] SENDING BCTS
[ 0.2178 ] TEGRARCM --DOWNLOAD BCT P3448_A00_4GB_MICRON_4GB_LPDDR4_204MHZ_P987.BCT
[ 0.2189 ] APPLET VERSION 00.01.0000
[ 0.2344 ] SENDING BCT
[ 0.2346 ] […] 100%
[ 0.4162 ]
[ 0.4187 ] TEGRAHOST --CHIP 0X21 --ALIGN CBOOT.BIN
[ 0.4222 ]
[ 0.4242 ] TEGRAHOST --MAGICID EBT --APPENDSIGHEADER CBOOT.BIN CBOOT.BIN_BLHEADER
[ 0.4283 ]
[ 0.4311 ] TEGRASIGN --KEY NONE --LIST CBOOT.BIN_LIST.XML
[ 0.4329 ] ASSUMING ZERO FILLED SBK KEY
[ 0.4522 ]
[ 0.4539 ] TEGRAHOST --UPDATESIGHEADER CBOOT.BIN_BLHEADER.ENCRYPT CBOOT.BIN_BLHEADER.HASH ZEROSBK
[ 0.4562 ]
[ 0.4584 ] TEGRAHOST --CHIP 0X21 --ALIGN TEGRA210-P3448-0002-P3449-0000-B00.DTB
[ 0.4594 ]
[ 0.4608 ] TEGRAHOST --MAGICID DTB --APPENDSIGHEADER TEGRA210-P3448-0002-P3449-0000-B00.DTB TEGRA210-P3448-0002-P3449-0000-B00.DTB_BLHEADER
[ 0.4642 ]
[ 0.4663 ] TEGRASIGN --KEY NONE --LIST TEGRA210-P3448-0002-P3449-0000-B00.DTB_LIST.XML
[ 0.4672 ] ASSUMING ZERO FILLED SBK KEY
[ 0.4753 ]
[ 0.4775 ] TEGRAHOST --UPDATESIGHEADER TEGRA210-P3448-0002-P3449-0000-B00.DTB_BLHEADER.ENCRYPT TEGRA210-P3448-0002-P3449-0000-B00.DTB_BLHEADER.HASH ZEROSBK
[ 0.4796 ]
[ 0.4803 ] SENDING BOOTLOADER AND PRE-REQUISITE BINARIES
[ 0.4823 ] TEGRARCM --DOWNLOAD EBT CBOOT.BIN.ENCRYPT 0 0 --DOWNLOAD RP1 TEGRA210-P3448-0002-P3449-0000-B00.DTB.ENCRYPT 0
[ 0.4839 ] APPLET VERSION 00.01.0000
[ 0.5028 ] SENDING EBT
[ 0.5030 ] […] 100%
[ 0.6137 ] SENDING RP1
[ 0.6180 ] […] 100%
[ 0.6686 ]
[ 0.6719 ] TEGRARCM --BOOT RECOVERY
[ 0.6751 ] APPLET VERSION 00.01.0000
[ 0.6915 ]
[ 0.6916 ] RETRIEVING STORAGE INFOMATION
[ 0.6935 ] TEGRARCM --OEM PLATFORMDETAILS STORAGE STORAGE_INFO.BIN
[ 0.6953 ] APPLET IS NOT RUNNING ON DEVICE. CONTINUE WITH BOOTLOADER
[ 1.2763 ]
[ 1.2794 ] TEGRADEVFLASH --OEM PLATFORMDETAILS STORAGE STORAGE_INFO.BIN
[ 1.2809 ] CBOOT VERSION 00.01.0000
[ 1.2831 ] SAVED PLATFORM INFO IN STORAGE_INFO.BIN
[ 1.2842 ]
[ 1.2843 ] FLASHING THE DEVICE
[ 1.2858 ] TEGRADEVFLASH --PT FLASH.XML.BIN --STORAGEINFO STORAGE_INFO.BIN --CREATE
[ 1.2873 ] CBOOT VERSION 00.01.0000
[ 1.3024 ] WRITING PARTITION GPT WITH GPT.BIN
[ 1.3030 ] […] 100%
[ 1.3085 ] WRITING PARTITION NVC WITH NVTBOOT.BIN.ENCRYPT
[ 2.8352 ] […] 100%
[ 2.8441 ] WRITING PARTITION PT WITH FLASH.XML.BIN
[ 2.8689 ] […] 100%
[ 2.8719 ] WRITING PARTITION VER WITH EMMC_BOOTBLOB_VER.TXT
[ 2.8946 ] […] 100%
[ 2.9111 ] WRITING PARTITION APP WITH SYSTEM.IMG
[ 3.4555 ] [… ] 018%
ERROR: RETURN VALUE 1
COMMAND TEGRADEVFLASH --PT FLASH.XML.BIN --STORAGEINFO STORAGE_INFO.BIN --CREATE
FAILED FLASHING T210REF.

Could someone shed a light on my problem? Thank you.

hello Kevinzubc,

may I know had you generated system image before, running flash script with the “-r” option would skip building and reuse existing system.img.
thanks

Thanks Jerry - after trying other 3 mirco-USB cables, finally I re-flashed my Nano module successfully with the 3rd one. So it was caused by previous shitty usb cables.