Flashing issue in TX2

Hi,

I am using Jetson TX2 4GB varient (model:3489) for one of my project. while doing the bringup of TX2 SOM, i am getting below error while flashing the images using flash.sh script under Linux_for_Tegra(R32.4.3).

Host System : Ubuntu 18.04.4 LTS

=====================================================================================
###############################################################################

L4T BSP Information:

R32 , REVISION: 4.3

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

Target Board Information:

Name: jetson-tx2, Board Family: t186ref, SoC: Tegra 186,

OpMode: production, Boot Authentication: NS,

###############################################################################
./tegraflash.py --chip 0x18 --applet “/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/mb1_recovery_prod.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.0075 ] Generating RCM messages
[ 0.0093 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm /home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[ 0.0111 ] RCM 0 is saved as rcm_0.rcm
[ 0.0121 ] RCM 1 is saved as rcm_1.rcm
[ 0.0121 ] List of rcm files are saved in rcm_list.xml
[ 0.0121 ]
[ 0.0122 ] Signing RCM messages
[ 0.0140 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0157 ] Assuming zero filled SBK key
[ 0.0235 ]
[ 0.0236 ] Copying signature to RCM mesages
[ 0.0267 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[ 0.0291 ]
[ 0.0292 ] Boot Rom communication
[ 0.0309 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0326 ] RCM version 0X180001
[ 0.0339 ] Boot Rom communication completed
[ 1.0402 ]
[ 2.0452 ] tegrarcm_v2 --isapplet
[ 2.0485 ] Applet version 01.00.0000
[ 2.0715 ]
[ 2.0758 ] Retrieving EEPROM data
[ 2.0764 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/cvm.bin
[ 2.0812 ] Applet version 01.00.0000
[ 2.1034 ] Saved platform info in /home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/cvm.bin
[ 2.1763 ]
Board ID(3489) version(300) sku(0888) revision(H.0)
Copy /home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-a00-00-base.dtb to /home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-a00-00-base.dtb.rec
copying bctfile(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/P3310_A00_8GB_lpddr4_A02_l4t.cfg)… done.
copying misc_config(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)… done.
copying pinmux_config(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-a00.cfg)… done.
copying pmic_config(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-quill-p3310-1000-a00.cfg)… done.
copying pmc_config(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3310-1000-a00.cfg)… done.
copying prod_config(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-quill-p3310-1000-a00.cfg)… done.
copying scr_config(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/minimal_scr.cfg)… done.
copying scr_cold_boot_config(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)… done.
copying bootrom_config(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3310-1000-a00.cfg)… done.
copying dev_params(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)… done.
Existing bootloader(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying initrd(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/l4t_initrd.img)… done.
populating kernel to rootfs… done.
populating initrd to rootfs… done.
populating /home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-a00-00-base.dtb to rootfs… done.
Making Boot image… done.
20+0 records in
20+0 records out
20 bytes copied, 0.00033127 s, 60.4 kB/s
Existing sosfile(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/nvtboot.bin)… done.
Existing cpu_bootloader(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
Existing mb2blfile(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-quill-p3310-1000-a00-00-te770d-ucm2.dtb)… done.
Existing scefile(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing spefile(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/spe.bin) reused.
Existing drameccfile(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/dram-ecc.bin) reused.
Existing badpagefile(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)… done.
Existing tosfile(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/tos-trusty.img) reused.
Existing eksfile(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-a00-00-base.dtb)… done.
Copying nv_boot_control.conf to rootfs
Making system.img…
populating rootfs from /home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/rootfs … done.
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/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-a00-00-base.dtb)… done.
copying cfgfile(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t186.xml) to flash.xml… done.
Existing flasher(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl nvtboot_recovery_cpu.bin --sdram_config P3310_A00_8GB_lpddr4_A02_l4t.cfg --odmdata 0x1090000 --applet mb1_recovery_prod.bin --cmd “flash; reboot” --cfg flash.xml --chip 0x18 --misc_config tegra186-mb1-bct-misc-si-l4t.cfg --pinmux_config tegra186-mb1-bct-pinmux-quill-p3310-1000-a00.cfg --pmic_config tegra186-mb1-bct-pmic-quill-p3310-1000-a00.cfg --pmc_config tegra186-mb1-bct-pad-quill-p3310-1000-a00.cfg --prod_config tegra186-mb1-bct-prod-quill-p3310-1000-a00.cfg --scr_config minimal_scr.cfg --scr_cold_boot_config mobile_scr.cfg --br_cmd_config tegra186-mb1-bct-bootrom-quill-p3310-1000-a00.cfg --dev_params emmc.cfg --bins “mb2_bootloader nvtboot_recovery.bin; mts_preboot preboot_d15_prod_cr.bin; mts_bootpack mce_mts_d15_prod_cr.bin; bpmp_fw bpmp.bin; bpmp_fw_dtb tegra186-a02-bpmp-quill-p3310-1000-a00-00-te770d-ucm2.dtb; tlk tos-trusty.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-a00-00-base.dtb”
saving flash command in /home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/vvdn/projects/ntdi_bag2/Code_chekout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/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.1105 ] tegrasign_v2 --key None --getmode mode.txt
[ 0.1130 ] Assuming zero filled SBK key
[ 0.2196 ]
[ 0.2197 ] Generating RCM messages
[ 0.2834 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm mb1_recovery_prod.bin 0 0
[ 0.2869 ] RCM 0 is saved as rcm_0.rcm
[ 0.7865 ] RCM 1 is saved as rcm_1.rcm
[ 0.7865 ] List of rcm files are saved in rcm_list.xml
[ 0.7865 ]
[ 0.7865 ] Signing RCM messages
[ 0.7884 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.7910 ] Assuming zero filled SBK key
[ 0.8059 ]
[ 0.8060 ] Copying signature to RCM mesages
[ 0.8103 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[ 0.8184 ]
[ 0.8185 ] Parsing partition layout
[ 0.8753 ] tegraparser_v2 --pt flash.xml.tmp
[ 0.9080 ]
[ 0.9081 ] Creating list of images to be signed
[ 1.1094 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[ 2.5467 ]
[ 2.5468 ] Generating signatures
[ 2.5486 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[ 2.5502 ] Assuming zero filled SBK key
[ 3.2145 ]
[ 3.2146 ] Generating br-bct
[ 3.2596 ] Updating dev and MSS params in BR BCT
[ 3.2598 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3310_A00_8GB_lpddr4_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18 0
[ 3.4125 ]
[ 3.4126 ] Updating bl info
[ 3.4145 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 3.4182 ]
[ 3.4182 ] Updating smd info
[ 3.4199 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesmdinfo flash.xml.bin
[ 3.4221 ]
[ 3.4222 ] Updating Odmdata
[ 3.4244 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updatefields Odmdata =0x1090000
[ 3.4277 ]
[ 3.4278 ] Get Signed section of bct
[ 3.4302 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --listbct bct_list.xml
[ 3.4333 ]
[ 3.4351 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 3.4367 ] Assuming zero filled SBK key
[ 3.4372 ]
[ 3.4372 ] Updating BCT with signature
[ 3.4389 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updatesig bct_list_signed.xml
[ 3.4415 ]
[ 3.4415 ] Generating coldboot mb1-bct
[ 3.4441 ] tegrabct_v2 --chip 0x18 0 --mb1bct mb1_cold_boot_bct.cfg --sdram P3310_A00_8GB_lpddr4_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr mobile_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-1000-a00.cfg --pmc tegra186-mb1-bct-pad-quill-p3310-1000-a00.cfg --pmic tegra186-mb1-bct-pmic-quill-p3310-1000-a00.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3310-1000-a00.cfg --prod tegra186-mb1-bct-prod-quill-p3310-1000-a00.cfg
[ 3.4481 ] MB1-BCT version: 0xf
[ 3.4490 ] Packing sdram param for instance[0]
[ 3.4994 ] Packing sdram param for instance[1]
[ 3.5000 ] Packing sdram param for instance[2]
[ 3.5006 ] Packing sdram param for instance[3]

[ 3.5110 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-a00.cfg
[ 3.5126 ] Appending platform config data of size :- 2952

[ 3.5231 ] Parsing config file :mobile_scr.cfg
[ 3.5241 ] Appending platform config data of size :- 12240

[ 3.5559 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-a00.cfg
[ 3.5567 ] Appending platform config data of size :- 24
[ 3.5573 ]
[ 3.5573 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-a00.cfg
[ 3.5574 ] Appending platform config data of size :- 468
[ 3.5574 ]
[ 3.5574 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-a00.cfg
[ 3.5575 ] Appending platform config data of size :- 64
[ 3.5575 ]
[ 3.5575 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-a00.cfg
[ 3.5575 ] Appending platform config data of size :- 1628
[ 3.5575 ]
[ 3.5576 ] Updating mb1-bct with firmware information
[ 3.5598 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 3.5616 ] MB1-BCT version: 0xf
[ 3.5624 ]
[ 3.5624 ] Updating mb1-bct with storage information
[ 3.5644 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 3.5666 ] MB1-BCT version: 0xf
[ 3.5675 ]
[ 3.5720 ] tegrahost_v2 --chip 0x18 --align mb1_cold_boot_bct_MB1.bct
[ 3.5748 ]
[ 3.5776 ] tegrahost_v2 --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[ 3.5822 ]
[ 3.5850 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 3.5867 ] Assuming zero filled SBK key
[ 3.5904 ]
[ 3.5939 ] tegrahost_v2 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[ 3.5965 ]
[ 3.5966 ] Generating recovery mb1-bct
[ 3.5986 ] tegrabct_v2 --chip 0x18 0 --mb1bct mb1_bct.cfg --sdram P3310_A00_8GB_lpddr4_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr minimal_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-1000-a00.cfg --pmc tegra186-mb1-bct-pad-quill-p3310-1000-a00.cfg --pmic tegra186-mb1-bct-pmic-quill-p3310-1000-a00.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3310-1000-a00.cfg --prod tegra186-mb1-bct-prod-quill-p3310-1000-a00.cfg
[ 3.6007 ] MB1-BCT version: 0xf
[ 3.6013 ] Packing sdram param for instance[0]
[ 3.6505 ] Packing sdram param for instance[1]
[ 3.6512 ] Packing sdram param for instance[2]
[ 3.6518 ] Packing sdram param for instance[3]

[ 3.6523 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-a00.cfg
[ 3.6534 ] Appending platform config data of size :- 2952

[ 3.6541 ] Parsing config file :minimal_scr.cfg
[ 3.6547 ] Appending platform config data of size :- 12240
[ 3.6827 ]
[ 3.6828 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-a00.cfg
[ 3.6828 ] Appending platform config data of size :- 24
[ 3.6828 ]
[ 3.6828 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-a00.cfg
[ 3.6828 ] Appending platform config data of size :- 468
[ 3.6828 ]
[ 3.6828 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-a00.cfg
[ 3.6828 ] Appending platform config data of size :- 64
[ 3.6829 ]
[ 3.6829 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-a00.cfg
[ 3.6829 ] Appending platform config data of size :- 1628
[ 3.6829 ]
[ 3.6830 ] Updating mb1-bct with firmware information
[ 3.6854 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 3.6878 ] MB1-BCT version: 0xf
[ 3.6889 ]
[ 3.6890 ] Updating mb1-bct with storage information
[ 3.6916 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 3.6937 ] MB1-BCT version: 0xf
[ 3.6946 ]
[ 3.6966 ] tegrahost_v2 --chip 0x18 --align mb1_bct_MB1.bct
[ 3.6990 ]
[ 3.7014 ] tegrahost_v2 --appendsigheader mb1_bct_MB1.bct zerosbk
[ 3.7037 ]
[ 3.7061 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 3.7083 ] Assuming zero filled SBK key
[ 3.7127 ]
[ 3.7165 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[ 3.7188 ]
[ 3.7189 ] Copying signatures
[ 3.7208 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 3.7743 ]
[ 3.7745 ] Boot Rom communication
[ 3.7767 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml
[ 3.7788 ] BootRom is not running
[ 8.8106 ]
[ 9.8143 ] tegrarcm_v2 --isapplet
[ 9.8172 ] Applet version 01.00.0000
[ 9.8323 ]
[ 9.8324 ] Sending BCTs
[ 9.8363 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[ 9.8395 ] Applet version 01.00.0000
[ 9.8733 ] Sending bct_bootrom
[ 9.8740 ] […] 100%
[ 9.8773 ] Sending bct_mb1
[ 9.8786 ] […] 100%
[ 9.8869 ]
Error: Return value 8
Command tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
Failed flashing t186ref.

Please suggest how to proceed further on this.

I guess you used the wrong board config to flash your board. What was your flash.sh command?

Hi

I used “sudo ./flash.sh jetson-tx2 mmcblk0p1” for generating system.img and flashing as well .

Please use that one with 4gb suffix.
You can check the name under Linux_For_Tegra.

Hi,

I tried with below flash command for 4GB varient:-

sudo ./flash.sh jetson-tx2-4GB mmcblk0p1
sudo ./flash.sh jetson-tx2-as-4GB mmcblk0p1

But getting same error while flashing

[ 1.0587 ] Copying signatures
[ 1.0613 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 1.1128 ]
[ 1.1128 ] Boot Rom communication
[ 1.1148 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml
[ 1.1166 ] BootRom is not running
[ 6.3065 ]
[ 7.3111 ] tegrarcm_v2 --isapplet
[ 7.3143 ] Applet version 01.00.0000
[ 7.3328 ]
[ 7.3330 ] Sending BCTs
[ 7.3364 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[ 7.3392 ] Applet version 01.00.0000
[ 7.3733 ] Sending bct_bootrom
[ 7.3738 ] […] 100%
[ 7.3755 ] Sending bct_mb1
[ 7.3763 ] […] 100%
[ 7.3827 ]
Error: Return value 8
Command tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
Failed flashing t186ref.

Please suggest further on this.

The first command is correct.

Please check below page and dump the log.

https://elinux.org/Jetson/General_debug

If you don’t understand anything, please ask.

Hi Wayne,

The provided link is for setting up USB/Serial Console for Jetson devices. All this environment is already in place as i have worked on Tx1 varient also.

Right now we are using TX2-4GB SOM on our older main board and replaced TX1 with TX2 SOM on it.

Please clarify-
Can we flash images in the TX2-SOM mounted on our main board (without Evaluation Kit) using SDKManager ?
how can i debug further as “sudo ./flash.sh jetson-tx2-4GB mmcblk0p1” also gave same error

Error: Return value 8
Command tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
Failed flashing t186ref.

please help on this.

Hi,

Please do read what this page tries to tell you.

There are two logs needed to debug the flash problem. I mean, two logs will start to print after you enter the flash.sh command.

  1. The log on host. You already shared this.

  2. The log from serial consle, which you don’t provide yet.

Did this tx2 4gb module ever get flashed and boot up before?

Can we flash images in the TX2-SOM mounted on our main board (without Evaluation Kit) using SDKManager ?

This is unknown because we don’t know whether your carrier board has any defect or not.

You better using a nv devkit to verify this module first.

Hi Wayne,

This is newly purchased Tx2-4GB SOM. Since the time we have mounted, its always coming in recovery mode only whenever power cable is connected and detecting as
Bus 002 Device 069: ID 0955:7418 NVidia Corp.

console side on minicom nothing is coming.

Could you use other TX2 module to verify your serial console setup is correct?

It sounds like this is your first time to dump the serial console log.

Hi Wayne,

Serial console is setup properly, as with TX1 my console is working, i am able to flash and device is booting properly.
This problem is encountered with TX2 only . Device is always going in recovery mode. and when i tried to flash images , its failing after “BootRom is not running”. you can also refer the logs attached in the first query.

Please help why at that point the flashing is failing.

Hi,

We cannot help you if there is no flash log from serial console.

  1. Is this board a nvidia devkit or your custom carrier board?
  2. What does that mean “Device is always going in recovery mode”? Is it in recovery mode right after you power up?

Hi Wayne

please find the response:

  1. this is our custom carrier board which works perfectly with TX1. and we have just replaced the TX1 with TX2 on it.
  2. yes, as soon as power is connected device is always going in recovery mode only.

Hi,

Please find a nvidia devkit and check if this module still goes to recovery mode on the devkit.

Hi Wayne,

Ok, i will verify the JETSON-TX2-4GB SOM with EVK.

Meanwhile i also tried flashing the default images using jetpack4.4 and with them also i faced similar error. I have a query that the default images downloaded and flashed by SDKManager are of EMMC ?

NV_L4T_FILE_SYSTEM_AND_OS_T186_COMP.log (12.0 KB) NV_L4T_FLASH_TX2_4GB_WITH_OS_IMAGE_COMP.log (18.7 KB)

Hi,

I don’t get what you are trying to ask in last comment. Could you elaborate?

In the beginning, you already said flash.sh had a problem and cannot flash.

Now you tell me sdkmanager cannot flash either.

I don’t see anything special or different here. Are you trying to tell me you didn’t use sdkmanager in the beginning?

I am able to flash image in TX2-4GB SOM on devkit only not with the carrier board of TX1. Will look into this.
Thanks for the help.

1 Like