Linux_for_Tegra$ sudo ./flash.sh -r -k DTB jetson-nano-devkit mmcblk0p1 ############################################################################### # L4T BSP Information: # R32 , REVISION: 6.1 ############################################################################### # Target Board Information: # Name: jetson-nano-devkit, Board Family: t210ref, SoC: Tegra 210, # OpMode: production, Boot Authentication: , # Disk encryption: disabled , ############################################################################### ./tegraflash.py --chip 0x21 --applet "/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/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.0015 ] Generating RCM messages [ 0.0023 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0 [ 0.0028 ] RCM 0 is saved as rcm_0.rcm [ 0.0031 ] RCM 1 is saved as rcm_1.rcm [ 0.0031 ] List of rcm files are saved in rcm_list.xml [ 0.0031 ] [ 0.0032 ] Signing RCM messages [ 0.0048 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0053 ] Assuming zero filled SBK key [ 0.0087 ] [ 0.0088 ] Copying signature to RCM mesages [ 0.0106 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.0115 ] [ 0.0115 ] Boot Rom communication [ 0.0133 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid [ 0.0138 ] RCM version 0X210001 [ 0.3808 ] Boot Rom communication completed [ 1.3883 ] [ 1.3885 ] dump EEPROM info [ 1.3928 ] tegrarcm --oem platformdetails eeprom /home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/cvm.bin [ 1.3952 ] Applet version 00.01.0000 [ 1.8134 ] Saved platform info in /home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/cvm.bin [ 1.8904 ] [ 1.8921 ] tegrarcm --reboot recovery [ 1.8926 ] Applet version 00.01.0000 [ 2.0187 ] Board ID(3448) version(400) copying bctfile(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_lpddr4_204Mhz_P987.cfg)... done. copying bootloader(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying initrd(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/l4t_initrd.img)... done. Making Boot image... done. Existing sosfile(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused. copying tegraboot(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done. copying cpu_bootloader(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying bpffile(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done. copying wb0boot(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done. Existing tosfile(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/tos-mon-only.img) reused. Existing eksfile(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/eks.img) reused. copying dtbfile(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.dtb)... done. Copying nv_boot_control.conf to rootfs Reusing existing system.img... done. Existing tbcfile(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused. copying tbcdtbfile(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.dtb)... done. copying cfgfile(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_max-spi_sd_p3448.xml) to flash.xml... done. copying flasher(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. Existing flashapp(/home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py) reused. *** Updating [DTB] with kernel_tegra210-p3448-0000-p3449-0000-b00.dtb *** ./tegraflash.py --bl cboot.bin --bldtb kernel_tegra210-p3448-0000-p3449-0000-b00.dtb --chip 0x21 --applet nvtboot_recovery.bin --bct P3448_A00_lpddr4_204Mhz_P987.cfg --cfg flash.xml --odmdata 0xa4000 --cmd "erase DTB; sign; write DTB ./signed/kernel_tegra210-p3448-0000-p3449-0000-b00.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.0026 ] Generating RCM messages [ 0.0033 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.0039 ] RCM 0 is saved as rcm_0.rcm [ 0.0042 ] RCM 1 is saved as rcm_1.rcm [ 0.0042 ] List of rcm files are saved in rcm_list.xml [ 0.0042 ] [ 0.0042 ] Signing RCM messages [ 0.0062 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0067 ] Assuming zero filled SBK key [ 0.0102 ] [ 0.0102 ] Copying signature to RCM mesages [ 0.0120 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.0129 ] [ 0.0129 ] Boot Rom communication [ 0.0147 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml [ 0.0152 ] BR_CID: 0x321010016450a5041c00000008020080 [ 0.2118 ] RCM version 0X210001 [ 0.4234 ] Boot Rom communication completed [ 1.4304 ] [ 1.4305 ] Parsing partition layout [ 1.4348 ] tegraparser --pt flash.xml.tmp [ 1.4384 ] [ 1.4385 ] Creating list of images to be signed [ 1.4431 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 1.4519 ] [ 1.4520 ] Generating signatures [ 1.4538 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 1.4543 ] Assuming zero filled SBK key [ 1.4931 ] [ 1.4931 ] Send BCT from Host [ 1.4931 ] Generating br-bct [ 1.4951 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 1.4984 ] [ 1.4985 ] Updating boot device parameters [ 1.5002 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 1.5008 ] Warning: No sdram params [ 1.5009 ] [ 1.5009 ] Updating bl info [ 1.5027 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 1.5036 ] [ 1.5037 ] Updating secondary storage information into bct [ 1.5054 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct [ 1.5060 ] [ 1.5060 ] Updating Odmdata [ 1.5078 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000 [ 1.5083 ] Warning: No sdram params [ 1.5084 ] [ 1.5084 ] Get Signed section of bct [ 1.5101 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 1.5107 ] [ 1.5107 ] Signing BCT [ 1.5141 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 1.5146 ] Assuming zero filled SBK key [ 1.5150 ] [ 1.5150 ] Updating BCT with signature [ 1.5167 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 1.5174 ] [ 1.5174 ] Updating BFS information on BCT [ 1.5194 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 1.5225 ] [ 1.5227 ] Sending BCTs [ 1.5267 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct [ 1.5292 ] Applet version 00.01.0000 [ 1.9360 ] Sending bct [ 1.9361 ] [................................................] 100% [ 2.1593 ] [ 2.1595 ] Sending bootloader and pre-requisite binaries [ 2.1638 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 kernel_tegra210-p3448-0000-p3449-0000-b00.dtb 0 [ 2.1664 ] Applet version 00.01.0000 [ 2.5858 ] Sending ebt [ 2.5863 ] [................................................] 100% [ 2.6926 ] Sending rp1 [ 2.6971 ] [................................................] 100% [ 2.7526 ] [ 2.7568 ] tegrarcm --boot recovery [ 2.7593 ] Applet version 00.01.0000 [ 3.1780 ] [ 3.1782 ] Writing partition [ 3.1824 ] tegradevflash --erase DTB [ 3.1849 ] Cboot version 00.01.0000 [ 3.7800 ] Erasing partition DTB ..Done [ 3.7939 ] [ 3.7941 ] Using default ramcode: 0 [ 3.7941 ] Disable BPMP dtb trim, using default dtb [ 3.7941 ] [ 3.7960 ] tegrasign --getmode mode.txt --key None [ 3.7965 ] Assuming zero filled SBK key [ 3.7966 ] [ 3.7971 ] Generating RCM messages [ 3.7991 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 3.8015 ] RCM 0 is saved as rcm_0.rcm [ 3.8035 ] RCM 1 is saved as rcm_1.rcm [ 3.8036 ] List of rcm files are saved in rcm_list.xml [ 3.8036 ] [ 3.8037 ] Signing RCM messages [ 3.8079 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 3.8104 ] Assuming zero filled SBK key [ 3.8173 ] [ 3.8174 ] Copying signature to RCM mesages [ 3.8191 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 3.8200 ] [ 3.8200 ] Parsing partition layout [ 3.8218 ] tegraparser --pt flash.xml.tmp [ 3.8225 ] [ 3.8226 ] Creating list of images to be signed [ 3.8246 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 3.8325 ] [ 3.8325 ] Generating signatures [ 3.8344 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 3.8349 ] Assuming zero filled SBK key [ 3.8733 ] [ 3.8734 ] Generating br-bct [ 3.8753 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 3.8787 ] [ 3.8788 ] Updating boot device parameters [ 3.8806 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 3.8812 ] Warning: No sdram params [ 3.8813 ] [ 3.8813 ] Updating bl info [ 3.8832 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 3.8842 ] [ 3.8842 ] Updating secondary storage information into bct [ 3.8861 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct [ 3.8868 ] [ 3.8869 ] Updating Odmdata [ 3.8888 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000 [ 3.8893 ] Warning: No sdram params [ 3.8894 ] [ 3.8895 ] Get Signed section of bct [ 3.8913 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 3.8919 ] [ 3.8919 ] Signing BCT [ 3.8955 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 3.8961 ] Assuming zero filled SBK key [ 3.8964 ] [ 3.8965 ] Updating BCT with signature [ 3.8982 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 3.8990 ] [ 3.8990 ] Copying signatures [ 3.9008 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml [ 3.9039 ] [ 3.9040 ] Updating BFS information on BCT [ 3.9059 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 3.9067 ] [ 3.9067 ] Copying signed file in /home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/signed [ 3.9099 ] Generating RCM messages [ 3.9118 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 3.9124 ] RCM 0 is saved as rcm_0.rcm [ 3.9127 ] RCM 1 is saved as rcm_1.rcm [ 3.9128 ] List of rcm files are saved in rcm_list.xml [ 3.9128 ] [ 3.9128 ] Signing RCM messages [ 3.9145 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 3.9150 ] Assuming zero filled SBK key [ 3.9186 ] [ 3.9187 ] Copying signature to RCM mesages [ 3.9206 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 3.9215 ] [ 3.9215 ] Boot Rom communication [ 3.9234 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml [ 3.9240 ] BootRom is not running [ 4.1627 ] [ 4.1628 ] Parsing partition layout [ 4.1671 ] tegraparser --pt flash.xml.tmp [ 4.1707 ] [ 4.1709 ] Creating list of images to be signed [ 4.1751 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 4.1826 ] [ 4.1826 ] Generating signatures [ 4.1846 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 4.1851 ] Assuming zero filled SBK key [ 4.2231 ] [ 4.2232 ] Send BCT from Host [ 4.2232 ] Generating br-bct [ 4.2252 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 4.2286 ] [ 4.2286 ] Updating boot device parameters [ 4.2304 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 4.2309 ] Warning: No sdram params [ 4.2311 ] [ 4.2311 ] Updating bl info [ 4.2329 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 4.2339 ] [ 4.2339 ] Updating secondary storage information into bct [ 4.2356 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct [ 4.2362 ] [ 4.2363 ] Updating Odmdata [ 4.2380 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000 [ 4.2385 ] Warning: No sdram params [ 4.2386 ] [ 4.2387 ] Get Signed section of bct [ 4.2404 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 4.2410 ] [ 4.2410 ] Signing BCT [ 4.2445 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 4.2450 ] Assuming zero filled SBK key [ 4.2453 ] [ 4.2453 ] Updating BCT with signature [ 4.2471 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 4.2478 ] [ 4.2478 ] Updating BFS information on BCT [ 4.2495 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 4.2502 ] [ 4.2502 ] Sending BCTs [ 4.2520 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct [ 4.2525 ] Applet is not running on device. Continue with Bootloader [ 4.6656 ] [ 4.6656 ] Sending bootloader and pre-requisite binaries [ 4.6675 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 kernel_tegra210-p3448-0000-p3449-0000-b00.dtb 0 [ 4.6680 ] Applet is not running on device. Continue with Bootloader [ 5.1008 ] [ 5.1026 ] tegrarcm --boot recovery [ 5.1031 ] Applet is not running on device. Continue with Bootloader [ 5.5376 ] [ 5.5376 ] Writing partition [ 5.5394 ] tegradevflash --write DTB /home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/signed/kernel_tegra210-p3448-0000-p3449-0000-b00.dtb.encrypt [ 5.5399 ] Cboot version 00.01.0000 [ 5.7568 ] Writing partition DTB with /home/hashtag/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/signed/kernel_tegra210-p3448-0000-p3449-0000-b00.dtb.encrypt [ 5.7578 ] [................................................] 100% [ 5.8257 ] [ 5.8258 ] Ignore BFS information in BCT [ 5.8294 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --ignorebfs flash.xml.bin [ 5.8325 ] [ 5.8368 ] tegradevflash --write BCT P3448_A00_lpddr4_204Mhz_P987.bct [ 5.8393 ] Cboot version 00.01.0000 [ 6.0369 ] Writing partition BCT with P3448_A00_lpddr4_204Mhz_P987.bct [ 6.0390 ] [................................................] 100% [ 13.8678 ] [ 13.8681 ] Coldbooting the device [ 13.8724 ] tegradevflash --reboot coldboot [ 13.8750 ] Cboot version 00.01.0000