Hi all
i want to flash .dtb file to nano development kit using this cmd,but it is retuen error,the log and cmd is like this
sudo ./flash.sh -k kernel-dtb jetson-nano-qspi-sd mmcblk0p1
wdg@wdg-HP-EliteBook-8560p:~/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra$ sudo ./flash.sh -k kernel-dtb jetson-nano-qspi-sd mmcblk0p1
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 2.1
###############################################################################
# Target Board Information:
# Name: jetson-nano-qspi-sd, Board Family: t210ref, SoC: Tegra 210,
# OpMode: production, Boot Authentication: ,
###############################################################################
./tegraflash.py --chip 0x21 --applet "/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/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.0029 ] Generating RCM messages
[ 0.0045 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0
[ 0.0059 ] RCM 0 is saved as rcm_0.rcm
[ 0.0068 ] RCM 1 is saved as rcm_1.rcm
[ 0.0069 ] List of rcm files are saved in rcm_list.xml
[ 0.0069 ]
[ 0.0069 ] Signing RCM messages
[ 0.0086 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0101 ] Assuming zero filled SBK key
[ 0.0210 ]
[ 0.0210 ] Copying signature to RCM mesages
[ 0.0230 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0263 ]
[ 0.0264 ] Boot Rom communication
[ 0.0288 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0312 ] RCM version 0X210001
[ 0.0821 ] Boot Rom communication completed
[ 1.0921 ]
[ 1.0924 ] dump EEPROM info
[ 1.0967 ] tegrarcm --oem platformdetails eeprom /home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/cvm.bin
[ 1.1002 ] Applet version 00.01.0000
[ 1.1207 ] Saved platform info in /home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/cvm.bin
[ 1.2011 ]
Board ID(3448) version(200)
chien:Board ID(3448) version(200)
chien:./flash.sh,0000 a02
copying bctfile(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg)... done.
copying bootloader(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying initrd(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
populating kernel to rootfs... done.
populating initrd to rootfs... done.
populating /home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-a02.dtb to rootfs... done.
Making Boot image... done.
Existing sosfile(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done.
copying cpu_bootloader(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying bpffile(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done.
Existing badpagefile(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done.
Existing tosfile(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-a02.dtb)... done.
Copying nv_boot_control.conf to rootfs
Existing tbcfile(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-a02.dtb)... done.
copying cfgfile(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_spi_sd_p3448.xml) to flash.xml... done.
copying flasher(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
Existing flashapp(/home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/tegraflash.py) reused.
*** Updating [kernel-dtb] with tegra210-p3448-0000-p3449-0000-a02.dtb ***
./tegraflash.py --bl cboot.bin --bldtb tegra210-p3448-0000-p3449-0000-a02.dtb --chip 0x21 --applet nvtboot_recovery.bin --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --cfg flash.xml --cmd "sign; write kernel-dtb ./signed/tegra210-p3448-0000-p3449-0000-a02.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.0098 ] tegrasign --key None --getmode mode.txt
[ 0.0112 ] Assuming zero filled SBK key
[ 0.0116 ]
[ 0.0117 ] Generating RCM messages
[ 0.0134 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[ 0.0149 ] RCM 0 is saved as rcm_0.rcm
[ 0.0158 ] RCM 1 is saved as rcm_1.rcm
[ 0.0158 ] List of rcm files are saved in rcm_list.xml
[ 0.0158 ]
[ 0.0159 ] Signing RCM messages
[ 0.0176 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0192 ] Assuming zero filled SBK key
[ 0.0268 ]
[ 0.0269 ] Copying signature to RCM mesages
[ 0.0281 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0299 ]
[ 0.0299 ] Parsing partition layout
[ 0.0311 ] tegraparser --pt flash.xml.tmp
[ 0.0327 ]
[ 0.0328 ] Creating list of images to be signed
[ 0.0339 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[ 0.0407 ]
[ 0.0408 ] Generating signatures
[ 0.0422 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.0435 ] Assuming zero filled SBK key
[ 0.1095 ]
[ 0.1096 ] Generating br-bct
[ 0.1110 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --chip 0x21 0
[ 0.1122 ] Copying Sdram info from 0 to 1 set
[ 0.1138 ] Copying Sdram info from 1 to 2 set
[ 0.1138 ] Copying Sdram info from 2 to 3 set
[ 0.1138 ]
[ 0.1139 ] Updating boot device parameters
[ 0.1151 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[ 0.1162 ] Warning: No sdram params
[ 0.1166 ]
[ 0.1166 ] Updating bl info
[ 0.1178 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.1198 ]
[ 0.1198 ] Updating secondary storage information into bct
[ 0.1212 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct
[ 0.1227 ]
[ 0.1228 ] Get Signed section of bct
[ 0.1240 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml
[ 0.1255 ]
[ 0.1256 ] Signing BCT
[ 0.1280 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.1292 ] Assuming zero filled SBK key
[ 0.1300 ]
[ 0.1300 ] Updating BCT with signature
[ 0.1312 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[ 0.1328 ]
[ 0.1329 ] Copying signatures
[ 0.1342 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 0.1402 ]
[ 0.1404 ] Copying signed file in /home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/signed
[ 0.2340 ] Generating RCM messages
[ 0.2362 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[ 0.2382 ] RCM 0 is saved as rcm_0.rcm
[ 0.2394 ] RCM 1 is saved as rcm_1.rcm
[ 0.2394 ] List of rcm files are saved in rcm_list.xml
[ 0.2394 ]
[ 0.2394 ] Signing RCM messages
[ 0.2413 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.2432 ] Assuming zero filled SBK key
[ 0.2504 ]
[ 0.2505 ] Copying signature to RCM mesages
[ 0.2519 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.2914 ]
[ 0.2916 ] Boot Rom communication
[ 0.2952 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml
[ 0.2987 ] BootRom is not running
[ 0.3449 ]
[ 0.3451 ] Parsing partition layout
[ 0.3491 ] tegraparser --pt flash.xml.tmp
[ 0.3537 ]
[ 0.3539 ] Creating list of images to be signed
[ 0.3558 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[ 0.3609 ]
[ 0.3610 ] Generating signatures
[ 0.3625 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.3636 ] Assuming zero filled SBK key
[ 0.4271 ]
[ 0.4272 ] Send BCT from Host
[ 0.4272 ] Generating br-bct
[ 0.4287 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --chip 0x21 0
[ 0.4300 ] Copying Sdram info from 0 to 1 set
[ 0.4315 ] Copying Sdram info from 1 to 2 set
[ 0.4315 ] Copying Sdram info from 2 to 3 set
[ 0.4316 ]
[ 0.4316 ] Updating boot device parameters
[ 0.4329 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[ 0.4343 ] Warning: No sdram params
[ 0.4346 ]
[ 0.4346 ] Updating bl info
[ 0.4360 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.4387 ]
[ 0.4387 ] Updating secondary storage information into bct
[ 0.4402 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct
[ 0.4420 ]
[ 0.4421 ] Get Signed section of bct
[ 0.4435 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml
[ 0.4451 ]
[ 0.4451 ] Signing BCT
[ 0.4475 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.4488 ] Assuming zero filled SBK key
[ 0.4497 ]
[ 0.4497 ] Updating BCT with signature
[ 0.4511 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[ 0.4527 ]
[ 0.4528 ] Sending BCTs
[ 0.4541 ] tegrarcm --download bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct
[ 0.4553 ] Applet version 00.01.0000
[ 0.4741 ] Sending bct
[ 0.4745 ] [................................................] 100%
[ 0.5489 ]
[ 0.5491 ] Sending bootloader and pre-requisite binaries
[ 0.5532 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 tegra210-p3448-0000-p3449-0000-a02.dtb 0
[ 0.5575 ] Applet version 00.01.0000
[ 0.5819 ] Sending ebt
[ 0.5825 ] [................................................] 100%
[ 0.6957 ] Sending rp1
[ 0.6963 ] [................................................] 100%
[ 0.7484 ]
[ 0.7522 ] tegrarcm --boot recovery
[ 0.7567 ] Applet version 00.01.0000
[ 0.7804 ]
[ 0.7806 ] Writing partition
[ 0.7825 ] tegradevflash --write kernel-dtb /home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/signed/tegra210-p3448-0000-p3449-0000-a02.dtb.encrypt
[ 0.7877 ] Cboot version 00.01.0000
[ 1.5456 ] Writing partition kernel-dtb with /home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/signed/tegra210-p3448-0000-p3449-0000-a02.dtb.encrypt
[ 1.5507 ] 00000004: Partition not found
[ 1.5733 ]
Error: Return value 4
Command tegradevflash --write kernel-dtb /home/wdg/nvidia/Jetpack/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/bootloader/signed/tegra210-p3448-0000-p3449-0000-a02.dtb.encrypt
Failed to flash/read t210ref.