the usb-otg cannot flash the dtb

when I flash the dtb on my cunstom carrier board,it can not work,but it can work well through the development kit.The message as follows:

is there any suggestion?

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

L4T BSP Information:

R28 (release), REVISION: 2.0, GCID: 10567845, BOARD: t186ref, EABI: aarch64,

DATE: Fri Mar 2 04:57:01 UTC 2018

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

Target Board Information:

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

OpMode: production, Boot Authentication: ,

###############################################################################
./tegraflash.py --chip 0x18 --applet “/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin” --cmd “dump eeprom boardinfo cvm.bin” --skipuid
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.0037 ] Generating RCM messages
[ 0.0051 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm /home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[ 0.0061 ] RCM 0 is saved as rcm_0.rcm
[ 0.0079 ] RCM 1 is saved as rcm_1.rcm
[ 0.0087 ] List of rcm files are saved in rcm_list.xml
[ 0.0155 ]
[ 0.0156 ] Signing RCM messages
[ 0.0168 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0184 ] Assuming zero filled SBK key
[ 0.0295 ]
[ 0.0296 ] Copying signature to RCM mesages
[ 0.0311 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[ 0.0396 ]
[ 0.0397 ] Boot Rom communication
[ 0.0408 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml --skipuid
[ 0.0417 ] RCM version 0X180001
[ 0.1487 ] Boot Rom communication completed
[ 1.2950 ]
[ 1.2963 ] tegrarcm_v2 --isapplet
[ 1.2972 ] USB communication failed.Check if device is in recovery
[ 1.4671 ]
[ 1.4683 ] tegradevflash_v2 --iscpubl
[ 1.4727 ] CPU Bootloader is not running on device.
[ 1.6348 ]
[ 2.9218 ] Retrieving EEPROM data
[ 2.9220 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/cvm.bin
[ 2.9230 ] Applet version 01.00.0000
[ 3.2061 ] Saved platform info in /home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/cvm.bin
[ 3.3581 ]
Board ID(3310) version(D01)
copying bctfile(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/t186ref/BCT/P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg)… done.
copying misc_config(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)… done.
copying pinmux_config(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg)… done.
copying pmic_config(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg)… done.
copying pmc_config(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg)… done.
copying prod_config(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg)… done.
copying scr_config(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/t186ref/BCT/minimal_scr.cfg)… done.
copying scr_cold_boot_config(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)… done.
copying bootrom_config(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg)… done.
copying dev_params(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)… done.
Existing bootloader(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
populating kernel to rootfs… done.
populating initrd to rootfs… done.
populating extlinux.conf.emmc to rootfs… done.
populating /home/quicktron/tx2_img_linux1604/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb to rootfs… done.
done.
Making Boot image… done.
Existing sosfile(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/t186ref/nvtboot.bin)… done.
Existing mb2blfile(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb)… done.
Existing scefile(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/camera-rtcpu-sce.bin) reused.
Existing spefile(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/spe.bin) reused.
copying wb0boot(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)… done.
Existing tosfile(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/tos.img) reused.
Existing eksfile(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)… done.
Reusing existing system.img…
done.
Existing tbcfile(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)… done.
copying cfgfile(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t186.xml) to flash.xml… done.
Existing flasher(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/tegraflash.py) reused.
*** Updating [kernel-dtb] with tegra186-quill-p3310-1000-c03-00-base.dtb ***
./tegraflash.py --bl nvtboot_recovery_cpu.bin --chip 0x18 --applet mb1_recovery_prod.bin --cfg flash.xml --sdram_config P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --sdram_config P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --misc_config tegra186-mb1-bct-misc-si-l4t.cfg --pinmux_config tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmic_config tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --pmc_config tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --prod_config tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg --scr_config minimal_scr.cfg --scr_cold_boot_config mobile_scr.cfg --br_cmd_config tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --dev_params emmc.cfg --cfg flash.xml --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-c04-00-te770d-ucm2.dtb; tlk tos.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-c03-00-base.dtb” --cmd “sign; write kernel-dtb ./signed/tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt; 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.0147 ] tegrasign_v2 --key None --getmode mode.txt
[ 0.0159 ] Assuming zero filled SBK key
[ 0.0214 ]
[ 0.0215 ] Generating RCM messages
[ 0.0225 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm mb1_recovery_prod.bin 0 0
[ 0.0235 ] RCM 0 is saved as rcm_0.rcm
[ 0.0242 ] RCM 1 is saved as rcm_1.rcm
[ 0.0248 ] List of rcm files are saved in rcm_list.xml
[ 0.0294 ]
[ 0.0295 ] Signing RCM messages
[ 0.0305 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0314 ] Assuming zero filled SBK key
[ 0.0422 ]
[ 0.0423 ] Copying signature to RCM mesages
[ 0.0448 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[ 0.0535 ]
[ 0.0536 ] Parsing partition layout
[ 0.0547 ] tegraparser_v2 --pt flash.xml.tmp
[ 0.0615 ]
[ 0.0615 ] Creating list of images to be signed
[ 0.0626 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[ 0.0976 ]
[ 0.0977 ] Generating signatures
[ 0.0987 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.0995 ] Assuming zero filled SBK key
[ 0.3533 ]
[ 0.3534 ] Generating br-bct
[ 0.3544 ] Updating dev and MSS params in BR BCT
[ 0.3545 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18
[ 0.3773 ]
[ 0.3774 ] Updating bl info
[ 0.3784 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.3894 ]
[ 0.3896 ] Updating smd info
[ 0.3906 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesmdinfo flash.xml.bin
[ 0.3973 ]
[ 0.3974 ] Get Signed section bct
[ 0.3983 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --listbct bct_list.xml
[ 0.4054 ]
[ 0.4055 ] Signing BCT
[ 0.4072 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.4082 ] Assuming zero filled SBK key
[ 0.4160 ]
[ 0.4160 ] Updating BCT with signature
[ 0.4172 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesig bct_list_signed.xml
[ 0.4245 ]
[ 0.4246 ] Generating coldboot mb1-bct
[ 0.4257 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr mobile_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmc tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --pmic tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --prod tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[ 0.4267 ] MB1-BCT version: 0xe
[ 0.4272 ] Copying Sdram info from 2 to 3 set
[ 0.4425 ] Packing sdram param for instance[0]
[ 0.4432 ] Packing sdram param for instance[1]
[ 0.4440 ] Packing sdram param for instance[2]
[ 0.4447 ] Packing sdram param for instance[3]

[ 0.4456 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg
[ 0.4493 ] Appending platform config data of size :- 2904

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

[ 0.4558 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg
[ 0.4571 ] Appending platform config data of size :- 24

[ 0.4580 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg
[ 0.4593 ] Appending platform config data of size :- 708
[ 0.4599 ]
[ 0.4599 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg
[ 0.4600 ] Appending platform config data of size :- 64
[ 0.4600 ]
[ 0.4600 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[ 0.4601 ] Appending platform config data of size :- 1652
[ 0.4601 ]
[ 0.4601 ] Updating mb1-bct with firmware information
[ 0.4611 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 0.4622 ] MB1-BCT version: 0xe
[ 0.4696 ]
[ 0.4697 ] Updating mb1-bct with storage information
[ 0.4707 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 0.4717 ] MB1-BCT version: 0xe
[ 0.4776 ]
[ 0.4785 ] tegrahost_v2 --align mb1_cold_boot_bct_MB1.bct
[ 0.4896 ]
[ 0.4908 ] tegrahost_v2 --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[ 0.4976 ]
[ 0.4989 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml
[ 0.4997 ] Assuming zero filled SBK key
[ 0.5057 ]
[ 0.5072 ] tegrahost_v2 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[ 0.5137 ]
[ 0.5164 ] Generating recovery mb1-bct
[ 0.5189 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr minimal_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmc tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --pmic tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --prod tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[ 0.5205 ] MB1-BCT version: 0xe
[ 0.5212 ] Copying Sdram info from 2 to 3 set
[ 0.5370 ] Packing sdram param for instance[0]
[ 0.5377 ] Packing sdram param for instance[1]
[ 0.5384 ] Packing sdram param for instance[2]
[ 0.5391 ] Packing sdram param for instance[3]

[ 0.5400 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg
[ 0.5413 ] Appending platform config data of size :- 2904

[ 0.5445 ] Parsing config file :minimal_scr.cfg
[ 0.5445 ] Appending platform config data of size :- 12240
[ 0.5446 ]
[ 0.5446 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg
[ 0.5446 ] Appending platform config data of size :- 24
[ 0.5447 ]
[ 0.5447 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg
[ 0.5447 ] Appending platform config data of size :- 708
[ 0.5448 ]
[ 0.5448 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg
[ 0.5448 ] Appending platform config data of size :- 64
[ 0.5449 ]
[ 0.5449 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[ 0.5449 ] Appending platform config data of size :- 1652
[ 0.5449 ]
[ 0.5450 ] Updating mb1-bct with firmware information
[ 0.5463 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 0.5506 ] MB1-BCT version: 0xe
[ 0.5579 ]
[ 0.5580 ] Updating mb1-bct with storage information
[ 0.5592 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 0.5603 ] MB1-BCT version: 0xe
[ 0.5658 ]
[ 0.5666 ] tegrahost_v2 --align mb1_bct_MB1.bct
[ 0.5738 ]
[ 0.5749 ] tegrahost_v2 --appendsigheader mb1_bct_MB1.bct zerosbk
[ 0.5835 ]
[ 0.5862 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml
[ 0.5876 ] Assuming zero filled SBK key
[ 0.5939 ]
[ 0.5956 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[ 0.6019 ]
[ 0.6020 ] Copying signatures
[ 0.6028 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 0.7173 ]
[ 0.7185 ] tegrahost_v2 --align nvtboot_recovery.bin
[ 0.7253 ]
[ 0.7262 ] tegrahost_v2 --appendsigheader nvtboot_recovery.bin zerosbk
[ 0.7329 ]
[ 0.7347 ] tegrasign_v2 --key None --list nvtboot_recovery_sigheader.bin_list.xml
[ 0.7363 ] Assuming zero filled SBK key
[ 0.7475 ]
[ 0.7489 ] tegrahost_v2 --updatesigheader nvtboot_recovery_sigheader.bin.encrypt nvtboot_recovery_sigheader.bin.hash zerosbk
[ 0.7574 ]
[ 0.7586 ] tegrahost_v2 --align preboot_d15_prod_cr.bin
[ 0.7653 ]
[ 0.7661 ] tegrahost_v2 --appendsigheader preboot_d15_prod_cr.bin zerosbk
[ 0.7734 ]
[ 0.7746 ] tegrasign_v2 --key None --list preboot_d15_prod_cr_sigheader.bin_list.xml
[ 0.7755 ] Assuming zero filled SBK key
[ 0.7853 ]
[ 0.7869 ] tegrahost_v2 --updatesigheader preboot_d15_prod_cr_sigheader.bin.encrypt preboot_d15_prod_cr_sigheader.bin.hash zerosbk
[ 0.7934 ]
[ 0.7946 ] tegrahost_v2 --align mce_mts_d15_prod_cr.bin
[ 0.8015 ]
[ 0.8026 ] tegrahost_v2 --appendsigheader mce_mts_d15_prod_cr.bin zerosbk
[ 0.8152 ]
[ 0.8179 ] tegrasign_v2 --key None --list mce_mts_d15_prod_cr_sigheader.bin_list.xml
[ 0.8195 ] Assuming zero filled SBK key
[ 0.8797 ]
[ 0.8810 ] tegrahost_v2 --updatesigheader mce_mts_d15_prod_cr_sigheader.bin.encrypt mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk
[ 0.8897 ]
[ 0.8921 ] tegrahost_v2 --align bpmp.bin
[ 0.8977 ]
[ 0.8988 ] tegrahost_v2 --appendsigheader bpmp.bin zerosbk
[ 0.9084 ]
[ 0.9111 ] tegrasign_v2 --key None --list bpmp_sigheader.bin_list.xml
[ 0.9124 ] Assuming zero filled SBK key
[ 0.9338 ]
[ 0.9351 ] tegrahost_v2 --updatesigheader bpmp_sigheader.bin.encrypt bpmp_sigheader.bin.hash zerosbk
[ 0.9447 ]
[ 0.9462 ] tegrahost_v2 --align tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb
[ 0.9538 ]
[ 0.9550 ] tegrahost_v2 --appendsigheader tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb zerosbk
[ 0.9619 ]
[ 0.9631 ] tegrasign_v2 --key None --list tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb_list.xml
[ 0.9640 ] Assuming zero filled SBK key
[ 0.9860 ]
[ 0.9875 ] tegrahost_v2 --updatesigheader tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.hash zerosbk
[ 0.9939 ]
[ 0.9949 ] tegrahost_v2 --align tos.img
[ 1.0020 ]
[ 1.0030 ] tegrahost_v2 --appendsigheader tos.img zerosbk
[ 1.0122 ]
[ 1.0140 ] tegrasign_v2 --key None --list tos_sigheader.img_list.xml
[ 1.0152 ] Assuming zero filled SBK key
[ 1.0220 ]
[ 1.0234 ] tegrahost_v2 --updatesigheader tos_sigheader.img.encrypt tos_sigheader.img.hash zerosbk
[ 1.0301 ]
[ 1.0312 ] tegrahost_v2 --align eks.img
[ 1.0380 ]
[ 1.0388 ] tegrahost_v2 --appendsigheader eks.img zerosbk
[ 1.0502 ]
[ 1.0515 ] tegrasign_v2 --key None --list eks_sigheader.img_list.xml
[ 1.0524 ] Assuming zero filled SBK key
[ 1.0581 ]
[ 1.0594 ] tegrahost_v2 --updatesigheader eks_sigheader.img.encrypt eks_sigheader.img.hash zerosbk
[ 1.0661 ]
[ 1.0670 ] tegrahost_v2 --align tegra186-quill-p3310-1000-c03-00-base.dtb
[ 1.0732 ]
[ 1.0742 ] tegrahost_v2 --appendsigheader tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[ 1.0853 ]
[ 1.0865 ] tegrasign_v2 --key None --list tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml
[ 1.0874 ] Assuming zero filled SBK key
[ 1.0972 ]
[ 1.0985 ] tegrahost_v2 --updatesigheader tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk
[ 1.1034 ]
[ 1.1043 ] tegrahost_v2 --align nvtboot_recovery_cpu.bin
[ 1.1123 ]
[ 1.1146 ] tegrahost_v2 --appendsigheader nvtboot_recovery_cpu.bin zerosbk
[ 1.1213 ]
[ 1.1226 ] tegrasign_v2 --key None --list nvtboot_recovery_cpu_sigheader.bin_list.xml
[ 1.1235 ] Assuming zero filled SBK key
[ 1.1333 ]
[ 1.1349 ] tegrahost_v2 --updatesigheader nvtboot_recovery_cpu_sigheader.bin.encrypt nvtboot_recovery_cpu_sigheader.bin.hash zerosbk
[ 1.1413 ]
[ 1.1415 ] Copying signed file in /home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/signed
[ 1.1945 ] Generating RCM messages
[ 1.1967 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm mb1_recovery_prod.bin 0 0
[ 1.1978 ] RCM 0 is saved as rcm_0.rcm
[ 1.1987 ] RCM 1 is saved as rcm_1.rcm
[ 1.1995 ] List of rcm files are saved in rcm_list.xml
[ 1.2057 ]
[ 1.2058 ] Signing RCM messages
[ 1.2069 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 1.2079 ] Assuming zero filled SBK key
[ 1.2218 ]
[ 1.2219 ] Copying signature to RCM mesages
[ 1.2230 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[ 1.2297 ]
[ 1.2298 ] Boot Rom communication
[ 1.2308 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml
[ 1.2317 ] BootRom is not running
[ 2.4453 ]
[ 2.4465 ] tegrarcm_v2 --isapplet
[ 2.4474 ] Applet version 01.00.0000
[ 2.7257 ]
[ 2.7268 ] tegrasign_v2 --key None --getmode mode.txt
[ 2.7278 ] Assuming zero filled SBK key
[ 2.7367 ]
[ 2.7369 ] Parsing partition layout
[ 2.7380 ] tegraparser_v2 --pt flash.xml.tmp
[ 2.7427 ]
[ 2.7428 ] Creating list of images to be signed
[ 2.7437 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[ 2.7858 ]
[ 2.7859 ] Generating signatures
[ 2.7869 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[ 2.7878 ] Assuming zero filled SBK key
[ 3.0415 ]
[ 3.0416 ] Reading BCT from device for further operations
[ 3.0417 ] Generating blob
[ 3.0430 ] tegrahost_v2 --align blob_nvtboot_recovery_cpu.bin
[ 3.0495 ]
[ 3.0507 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery_cpu.bin zerosbk
[ 3.0576 ]
[ 3.0591 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_cpu_sigheader.bin_list.xml
[ 3.0601 ] Assuming zero filled SBK key
[ 3.0737 ]
[ 3.0762 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_cpu_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_sigheader.bin.hash zerosbk
[ 3.0816 ]
[ 3.0828 ] tegrahost_v2 --align blob_nvtboot_recovery.bin
[ 3.0896 ]
[ 3.0910 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery.bin zerosbk
[ 3.0977 ]
[ 3.0988 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_sigheader.bin_list.xml
[ 3.0997 ] Assuming zero filled SBK key
[ 3.1137 ]
[ 3.1151 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_sigheader.bin.encrypt blob_nvtboot_recovery_sigheader.bin.hash zerosbk
[ 3.1217 ]
[ 3.1229 ] tegrahost_v2 --align blob_preboot_d15_prod_cr.bin
[ 3.1297 ]
[ 3.1307 ] tegrahost_v2 --appendsigheader blob_preboot_d15_prod_cr.bin zerosbk
[ 3.1384 ]
[ 3.1410 ] tegrasign_v2 --key None --list blob_preboot_d15_prod_cr_sigheader.bin_list.xml
[ 3.1429 ] Assuming zero filled SBK key
[ 3.1498 ]
[ 3.1512 ] tegrahost_v2 --updatesigheader blob_preboot_d15_prod_cr_sigheader.bin.encrypt blob_preboot_d15_prod_cr_sigheader.bin.hash zerosbk
[ 3.1578 ]
[ 3.1591 ] tegrahost_v2 --align blob_mce_mts_d15_prod_cr.bin
[ 3.1658 ]
[ 3.1667 ] tegrahost_v2 --appendsigheader blob_mce_mts_d15_prod_cr.bin zerosbk
[ 3.1859 ]
[ 3.1873 ] tegrasign_v2 --key None --list blob_mce_mts_d15_prod_cr_sigheader.bin_list.xml
[ 3.1882 ] Assuming zero filled SBK key
[ 3.2461 ]
[ 3.2475 ] tegrahost_v2 --updatesigheader blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt blob_mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk
[ 3.2585 ]
[ 3.2597 ] tegrahost_v2 --align blob_bpmp.bin
[ 3.2661 ]
[ 3.2672 ] tegrahost_v2 --appendsigheader blob_bpmp.bin zerosbk
[ 3.2760 ]
[ 3.2792 ] tegrasign_v2 --key None --list blob_bpmp_sigheader.bin_list.xml
[ 3.2812 ] Assuming zero filled SBK key
[ 3.2982 ]
[ 3.2996 ] tegrahost_v2 --updatesigheader blob_bpmp_sigheader.bin.encrypt blob_bpmp_sigheader.bin.hash zerosbk
[ 3.3052 ]
[ 3.3063 ] tegrahost_v2 --align blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb
[ 3.3173 ]
[ 3.3185 ] tegrahost_v2 --appendsigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb zerosbk
[ 3.3253 ]
[ 3.3266 ] tegrasign_v2 --key None --list blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb_list.xml
[ 3.3276 ] Assuming zero filled SBK key
[ 3.3493 ]
[ 3.3511 ] tegrahost_v2 --updatesigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.hash zerosbk
[ 3.3615 ]
[ 3.3631 ] tegrahost_v2 --align blob_tos.img
[ 3.3693 ]
[ 3.3704 ] tegrahost_v2 --appendsigheader blob_tos.img zerosbk
[ 3.3778 ]
[ 3.3806 ] tegrasign_v2 --key None --list blob_tos_sigheader.img_list.xml
[ 3.3822 ] Assuming zero filled SBK key
[ 3.3894 ]
[ 3.3908 ] tegrahost_v2 --updatesigheader blob_tos_sigheader.img.encrypt blob_tos_sigheader.img.hash zerosbk
[ 3.3974 ]
[ 3.3987 ] tegrahost_v2 --align blob_eks.img
[ 3.4055 ]
[ 3.4066 ] tegrahost_v2 --appendsigheader blob_eks.img zerosbk
[ 3.4146 ]
[ 3.4162 ] tegrasign_v2 --key None --list blob_eks_sigheader.img_list.xml
[ 3.4173 ] Assuming zero filled SBK key
[ 3.4215 ]
[ 3.4233 ] tegrahost_v2 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[ 3.4303 ]
[ 3.4316 ] tegrahost_v2 --align blob_tegra186-quill-p3310-1000-c03-00-base.dtb
[ 3.4376 ]
[ 3.4387 ] tegrahost_v2 --appendsigheader blob_tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[ 3.4466 ]
[ 3.4491 ] tegrasign_v2 --key None --list blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml
[ 3.4506 ] Assuming zero filled SBK key
[ 3.4616 ]
[ 3.4632 ] 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
[ 3.4697 ]
[ 3.4711 ] tegrahost_v2 --generateblob blob.xml blob.bin
[ 3.4719 ] number of images in blob are 9
[ 3.4726 ] blobsize is 3684664
[ 3.4730 ] Added binary blob_nvtboot_recovery_cpu_sigheader.bin.encrypt of size 189824
[ 3.4792 ] Added binary blob_nvtboot_recovery_sigheader.bin.encrypt of size 79440
[ 3.4798 ] Added binary blob_preboot_d15_prod_cr_sigheader.bin.encrypt of size 63024
[ 3.4828 ] Added binary blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt of size 2076832
[ 3.4888 ] Added binary blob_bpmp_sigheader.bin.encrypt of size 529440
[ 3.4905 ] Added binary blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt of size 466160
[ 3.4929 ] Added binary blob_tos_sigheader.img.encrypt of size 62976
[ 3.4941 ] Added binary blob_eks_sigheader.img.encrypt of size 1488
[ 3.4951 ] Added binary blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt of size 215328
[ 3.5128 ]
[ 3.5129 ] Sending bootloader and pre-requisite binaries
[ 3.5152 ] tegrarcm_v2 --download blob blob.bin
[ 3.5167 ] Applet version 01.00.0000
[ 3.6564 ] Sending blob
[ 3.6567 ] […] 100%
[ 4.9932 ]
[ 4.9945 ] tegrarcm_v2 --boot recovery
[ 4.9959 ] Applet version 01.00.0000
[ 5.2927 ]
[ 5.2942 ] tegrarcm_v2 --isapplet
[ 6.7696 ]
[ 6.7708 ] tegradevflash_v2 --iscpubl
[ 6.7717 ] CPU Bootloader is not running on device.
[ 6.9332 ]
[ 56.7683 ] Writing partition
[ 56.7696 ] tegradevflash_v2 --write kernel-dtb /home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/signed/tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 56.7707 ] Cannot Open USB
[ 57.0816 ]
Error: Return value 8
Command tegradevflash_v2 --write kernel-dtb /home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/signed/tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
Failed to flash/read t186ref.

Hi,
Do you follow the guidance to flash DTB? https://elinux.org/Jetson/TX2_DTB#TX2

I follow the guidance.
From the log,it shows that:
[ 56.7696 ] tegradevflash_v2 --write kernel-dtb /home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/signed/tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 56.7707 ] Cannot Open USB
[ 57.0816 ]
Error: Return value 8
Command tegradevflash_v2 --write kernel-dtb /home/quicktron/tx2_img_linux1604/Linux_for_Tegra/bootloader/signed/tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
Failed to flash/read t186ref.
I want to know,what does the Error: Return value 8 mean?

Hi,
It looks like the deivce cannot be found. Do you enter force-recovery mode before flashing?
Does it work in doing complete re-flash?

I enter fore-recovery mode before flashing,during the flash ,the otg can not be found.

Hi,
It is more like an issue in hardware. You may compare the hardware design of otg port to default board.

Not sure but this post might helps.

I noticed that as soon as I started the flashing the TX2, the USB device was being disconnected (I discovered this after issueing $dmesg), which is why the flash procedure never completed.

FYI, if your host is a VM, then the VM will be at fault for not reestablishing USB as USB cycles through disconnect and reconnect.