sudo ./flash.sh -k EBT jetson-nano-devkit mmcblk0p1 [sudo] password for nvdev: ############################################################################### # L4T BSP Information: # R32 , REVISION: 5.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/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/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.0059 ] Generating RCM messages [ 0.0079 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0 [ 0.0099 ] RCM 0 is saved as rcm_0.rcm [ 0.0326 ] RCM 1 is saved as rcm_1.rcm [ 0.0326 ] List of rcm files are saved in rcm_list.xml [ 0.0327 ] [ 0.0327 ] Signing RCM messages [ 0.0502 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0523 ] Assuming zero filled SBK key [ 0.1107 ] [ 0.1108 ] Copying signature to RCM mesages [ 0.1133 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.1165 ] [ 0.1168 ] Boot Rom communication [ 0.1194 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid [ 0.1215 ] RCM version 0X210001 [ 0.4694 ] Boot Rom communication completed [ 1.4811 ] [ 1.4812 ] dump EEPROM info [ 1.4843 ] tegrarcm --oem platformdetails eeprom /home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/cvm.bin [ 1.4868 ] Applet version 00.01.0000 [ 1.7731 ] Saved platform info in /home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/cvm.bin [ 1.8515 ] [ 1.8545 ] tegrarcm --reboot recovery [ 1.8576 ] Applet version 00.01.0000 [ 2.1501 ] Board ID() version() copying bctfile(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_lpddr4_204Mhz_P987.cfg)... done. copying bootloader(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying initrd(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/l4t_initrd.img)... done. populating kernel to rootfs... done. populating initrd to rootfs... done. populating /home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-a00.dtb to rootfs... done. Making Boot image... done. Existing sosfile(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused. copying tegraboot(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done. copying cpu_bootloader(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying bpffile(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done. Existing badpagefile(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/badpage.bin) reused. copying wb0boot(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done. Existing tosfile(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/tos-mon-only.img) reused. Existing eksfile(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/eks.img) reused. copying dtbfile(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-a00.dtb)... done. Copying nv_boot_control.conf to rootfs generating system.img for booting... Existing tbcfile(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused. copying tbcdtbfile(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-a00.dtb)... done. copying cfgfile(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_max-spi_sd_p3448.xml) to flash.xml... done. copying flasher(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. Existing flashapp(/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/tegraflash.py) reused. *** Updating [EBT] with cboot.bin *** ./tegraflash.py --bl cboot.bin --bldtb kernel_tegra210-p3448-0000-p3449-0000-a00.dtb --chip 0x21 --applet nvtboot_recovery.bin --bct P3448_A00_lpddr4_204Mhz_P987.cfg --cfg flash.xml --odmdata 0xa4000 --cmd "erase EBT; sign; write EBT ./signed/cboot.bin.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.0459 ] Generating RCM messages [ 0.0479 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.0501 ] RCM 0 is saved as rcm_0.rcm [ 0.0514 ] RCM 1 is saved as rcm_1.rcm [ 0.0514 ] List of rcm files are saved in rcm_list.xml [ 0.0514 ] [ 0.0515 ] Signing RCM messages [ 0.0536 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0556 ] Assuming zero filled SBK key [ 0.0669 ] [ 0.0670 ] Copying signature to RCM mesages [ 0.0692 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.0724 ] [ 0.0725 ] Boot Rom communication [ 0.0745 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml [ 0.0767 ] BR_CID: 0x32101001644608880c0000000e020200 [ 0.2189 ] RCM version 0X210001 [ 0.3699 ] Boot Rom communication completed [ 1.3797 ] [ 1.3798 ] Parsing partition layout [ 1.3829 ] tegraparser --pt flash.xml.tmp [ 1.3864 ] [ 1.3865 ] Creating list of images to be signed [ 1.4274 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 1.4699 ] [ 1.4700 ] Generating signatures [ 1.4722 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 1.4742 ] Assuming zero filled SBK key [ 1.6001 ] [ 1.6004 ] Send BCT from Host [ 1.6004 ] Generating br-bct [ 1.6029 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 1.6049 ] Copying Sdram info from 2 to 3 set [ 1.6106 ] [ 1.6107 ] Updating boot device parameters [ 1.6127 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 1.6149 ] Warning: No sdram params [ 1.6154 ] [ 1.6154 ] Updating bl info [ 1.6175 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 1.6214 ] [ 1.6216 ] Updating secondary storage information into bct [ 1.6240 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct [ 1.6270 ] [ 1.6271 ] Updating Odmdata [ 1.6295 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000 [ 1.6322 ] Warning: No sdram params [ 1.6328 ] [ 1.6329 ] Get Signed section of bct [ 1.6356 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 1.6379 ] [ 1.6380 ] Signing BCT [ 1.6466 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 1.6487 ] Assuming zero filled SBK key [ 1.6497 ] [ 1.6498 ] Updating BCT with signature [ 1.6524 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 1.6558 ] [ 1.6559 ] Updating BFS information on BCT [ 1.6582 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 1.6608 ] [ 1.6609 ] Sending BCTs [ 1.6630 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct [ 1.6651 ] Applet version 00.01.0000 [ 1.9504 ] Sending bct [ 1.9511 ] [................................................] 100% [ 2.0370 ] [ 2.0372 ] Sending bootloader and pre-requisite binaries [ 2.0407 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 kernel_tegra210-p3448-0000-p3449-0000-a00.dtb 0 [ 2.0435 ] Applet version 00.01.0000 [ 2.3439 ] Sending ebt [ 2.4165 ] Error: Return value 1 Command tegrarcm --download ebt cboot.bin 0 0 --download rp1 kernel_tegra210-p3448-0000-p3449-0000-a00.dtb 0 [ 2.4202 ] tegrasign --key None --getmode mode.txt [ 2.4226 ] Assuming zero filled SBK key [ 2.4236 ] [ 2.4255 ] Generating RCM messages [ 2.4279 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 2.4306 ] RCM 0 is saved as rcm_0.rcm [ 2.4325 ] RCM 1 is saved as rcm_1.rcm [ 2.4325 ] List of rcm files are saved in rcm_list.xml [ 2.4326 ] [ 2.4326 ] Signing RCM messages [ 2.4355 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 2.4379 ] Assuming zero filled SBK key [ 2.4498 ] [ 2.4499 ] Copying signature to RCM mesages [ 2.4525 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 2.4560 ] [ 2.4561 ] Parsing partition layout [ 2.4590 ] tegraparser --pt flash.xml.tmp [ 2.4636 ] [ 2.4637 ] Creating list of images to be signed [ 2.4658 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 2.4770 ] [ 2.4772 ] Generating signatures [ 2.4798 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 2.4830 ] Assuming zero filled SBK key [ 2.6386 ] [ 2.6389 ] Generating br-bct [ 2.6412 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 2.6431 ] Copying Sdram info from 2 to 3 set [ 2.6490 ] [ 2.6491 ] Updating boot device parameters [ 2.6513 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 2.6534 ] Warning: No sdram params [ 2.6543 ] [ 2.6544 ] Updating bl info [ 2.6564 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 2.6605 ] [ 2.6608 ] Updating secondary storage information into bct [ 2.6632 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct [ 2.6663 ] [ 2.6666 ] Updating Odmdata [ 2.6694 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000 [ 2.6719 ] Warning: No sdram params [ 2.6724 ] [ 2.6726 ] Get Signed section of bct [ 2.6747 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 2.6772 ] [ 2.6775 ] Signing BCT [ 2.6866 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 2.6892 ] Assuming zero filled SBK key [ 2.6914 ] [ 2.6916 ] Updating BCT with signature [ 2.6957 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 2.6983 ] [ 2.6984 ] Copying signatures [ 2.7005 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml [ 2.7157 ] [ 2.7158 ] Updating BFS information on BCT [ 2.7184 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 2.7211 ] [ 2.7214 ] Copying signed file in /home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/signed [ 2.7355 ] Generating RCM messages [ 2.7380 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 2.7408 ] RCM 0 is saved as rcm_0.rcm [ 2.7426 ] RCM 1 is saved as rcm_1.rcm [ 2.7426 ] List of rcm files are saved in rcm_list.xml [ 2.7426 ] [ 2.7427 ] Signing RCM messages [ 2.7451 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 2.7535 ] Assuming zero filled SBK key [ 2.7750 ] [ 2.7751 ] Copying signature to RCM mesages [ 2.7816 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 2.8190 ] [ 2.8193 ] Boot Rom communication [ 2.8215 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml [ 2.8245 ] BR_CID: 0x00000020000000090000000100000002 ^CTraceback (most recent call last): File "./tegraflash.py", line 1296, in tegraflash_run_commands() File "./tegraflash.py", line 1155, in tegraflash_run_commands interpreter.onecmd(command) File "/usr/lib/python3.6/cmd.py", line 217, in onecmd return func(arg) File "./tegraflash.py", line 392, in do_write tegraflash_write(exports, args[0], file_path) File "/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 495, in tegraflash_write tegraflash_send_tboot(tegrarcm_values['--signed_list']) File "/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 2319, in tegraflash_send_tboot uidlog = run_command(command, True) File "/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 198, in run_command log = print_process(process, enable_print) File "/home/nvdev/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_NANO_DEVKIT/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 157, in print_process output = process.stdout.read(1) KeyboardInterrupt Failed to flash/read t210ref.