I follow this link https://elinux.org/Jetson/TX2_DTB to update the dtb file.When the recovery mode of tx2 is ready and I run sudo ./flash -r -k kernel-dtb jetson-tx2 mmcblk0p1 command on my host pc. However some wrong shows. Below is the log.
Thank you for any advice!
./tegraflash.py --chip 0x18 --applet "/home/cheng/64_TX2/Linux_for_Tegra_tx2/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.0038 ] Generating RCM messages
[ 0.0065 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm /home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/mb1_recovery_prod.bin 0 0
[ 0.0106 ] RCM 0 is saved as rcm_0.rcm
[ 0.0108 ] RCM 1 is saved as rcm_1.rcm
[ 0.0108 ] List of rcm files are saved in rcm_list.xml
[ 0.0109 ]
[ 0.0109 ] Signing RCM messages
[ 0.0130 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0183 ] Assuming zero filled SBK key
[ 0.0207 ]
[ 0.0207 ] Copying signature to RCM mesages
[ 0.0284 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[ 0.0319 ]
[ 0.0321 ] Boot Rom communication
[ 0.0336 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml --skipuid
[ 0.0347 ] RCM version 0X180001
[ 0.1296 ] Boot Rom communication completed
[ 1.1613 ]
[ 1.1700 ] tegrarcm_v2 --isapplet
[ 1.1711 ] USB communication failed.Check if device is in recovery
[ 1.2932 ]
[ 1.2949 ] tegradevflash_v2 --iscpubl
[ 1.2963 ] CPU Bootloader is not running on device.
[ 1.4845 ]
[ 2.8073 ] Retrieving EEPROM data
[ 2.8075 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/cvm.bin
[ 2.8129 ] Applet version 01.00.0000
[ 3.1015 ] Saved platform info in /home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/cvm.bin
[ 3.3111 ]
Board ID(3310) version(B02)
copying bctfile(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg)... done.
copying misc_config(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)... done.
copying pinmux_config(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg)... done.
copying pmic_config(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg)... done.
copying pmc_config(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg)... done.
copying prod_config(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg)... done.
copying scr_config(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/minimal_scr.cfg)... done.
copying scr_cold_boot_config(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/mobile_scr.cfg)... done.
copying bootrom_config(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg)... done.
copying dev_params(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/emmc.cfg)... done.
Existing bootloader(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/nvtboot_cpu.bin) reused.
populating kernel to rootfs... done.
populating initrd to rootfs... done.
populating extlinux.conf.emmc to rootfs... done.
populating /home/cheng/64_TX2/Linux_for_Tegra_tx2/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb to rootfs... done.
done.
Making Boot image... done.
Existing sosfile(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/nvtboot.bin)... done.
Existing mb2blfile(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb)... done.
Existing scefile(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/camera-rtcpu-sce.bin) reused.
Existing spefile(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/spe.bin) reused.
copying wb0boot(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/warmboot.bin)... done.
Existing tosfile(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/tos.img) reused.
Existing eksfile(/home/cheng/64_TX2/Linux_for_Tegra_tx2/bootloader/eks.img) reused.
copying dtbfile(/home/cheng/64_TX2/Linux_for_Tegra_tx2/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
Reusing existing system.img...
file does not exist.