niklas@niklas-System-Product-Name:~/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra$ sudo ./flash.sh jetson-nano-2gb-devkit mmcblk0p1 ############################################################################### # L4T BSP Information: # R32 , REVISION: 5.0 ############################################################################### # Target Board Information: # Name: jetson-nano-2gb-devkit, Board Family: t210ref, SoC: Tegra 210, # OpMode: production, Boot Authentication: , # Disk encryption: disabled , ############################################################################### ./tegraflash.py --chip 0x21 --applet "/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_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.0131 ] Generating RCM messages [ 0.0141 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0 [ 0.0151 ] RCM 0 is saved as rcm_0.rcm [ 0.0890 ] RCM 1 is saved as rcm_1.rcm [ 0.0890 ] List of rcm files are saved in rcm_list.xml [ 0.0890 ] [ 0.0891 ] Signing RCM messages [ 0.1232 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.1239 ] Assuming zero filled SBK key [ 0.1723 ] [ 0.1723 ] Copying signature to RCM mesages [ 0.1732 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.1752 ] [ 0.1753 ] Boot Rom communication [ 0.1762 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid [ 0.1772 ] RCM version 0X210001 [ 0.5721 ] Boot Rom communication completed [ 1.5805 ] [ 1.5806 ] dump EEPROM info [ 1.5824 ] tegrarcm --oem platformdetails eeprom /home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/cvm.bin [ 1.5838 ] Applet version 00.01.0000 [ 1.8874 ] Saved platform info in /home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/cvm.bin [ 1.9663 ] [ 1.9673 ] tegrarcm --reboot recovery [ 1.9682 ] Applet version 00.01.0000 [ 2.3286 ] Board ID(3448) version(400) copying bctfile(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_lpddr4_204Mhz_P987.cfg)... done. copying bootloader(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying initrd(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/l4t_initrd.img)... done. populating kernel to rootfs... done. populating initrd to rootfs... done. populating /home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0003-p3542-0000.dtb to rootfs... done. Making Boot image... done. Existing sosfile(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused. copying tegraboot(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done. copying cpu_bootloader(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying bpffile(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done. Existing badpagefile(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/badpage.bin) reused. copying wb0boot(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done. Existing tosfile(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/tos-mon-only.img) reused. Existing eksfile(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/eks.img) reused. copying dtbfile(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0003-p3542-0000.dtb)... done. Copying nv_boot_control.conf to rootfs Making system.img... populating rootfs from /home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/rootfs ... done. populating /boot/extlinux/extlinux.conf ... done. Sync'ing system.img ... done. Converting RAW image to Sparse image... done. system.img built successfully. Existing tbcfile(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused. copying tbcdtbfile(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0003-p3542-0000.dtb)... done. copying cfgfile(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_max-spi_sd_p3448.xml) to flash.xml... done. copying flasher(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. Existing flashapp(/home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/tegraflash.py) reused. ./tegraflash.py --bl cboot.bin --bct P3448_A00_lpddr4_204Mhz_P987.cfg --odmdata 0xa4000 --bldtb kernel_tegra210-p3448-0003-p3542-0000.dtb --applet nvtboot_recovery.bin --cmd "flash; reboot" --cfg flash.xml --chip 0x21 --bins "EBT cboot.bin; DTB tegra210-p3448-0003-p3542-0000.dtb" saving flash command in /home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/flashcmd.txt saving Windows flash command to /home/niklas/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_NANO_2GB_DEVKIT/Linux_for_Tegra/bootloader/flash_win.bat *** Flashing target device started. *** 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.0282 ] tegrasign --key None --getmode mode.txt [ 0.0298 ] Assuming zero filled SBK key [ 0.0390 ] [ 0.0392 ] Generating RCM messages [ 0.2364 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.2379 ] RCM 0 is saved as rcm_0.rcm [ 0.5386 ] RCM 1 is saved as rcm_1.rcm [ 0.5387 ] List of rcm files are saved in rcm_list.xml [ 0.5387 ] [ 0.5387 ] Signing RCM messages [ 0.5405 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.5420 ] Assuming zero filled SBK key [ 0.5496 ] [ 0.5496 ] Copying signature to RCM mesages [ 0.5511 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.7055 ] [ 0.7056 ] Parsing partition layout [ 1.1010 ] tegraparser --pt flash.xml.tmp [ 1.4130 ] [ 1.4132 ] Creating list of images to be signed [ 1.8471 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 3.4465 ] [ 3.4466 ] Generating signatures [ 3.4484 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 3.4499 ] Assuming zero filled SBK key [ 4.0779 ] [ 4.0780 ] Generating br-bct [ 4.2796 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 4.2811 ] Copying Sdram info from 2 to 3 set [ 4.5780 ] [ 4.5781 ] Updating boot device parameters [ 4.5799 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 4.5814 ] Warning: No sdram params [ 4.6937 ] [ 4.6938 ] Updating bl info [ 4.6955 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 5.0196 ] [ 5.0197 ] Updating secondary storage information into bct [ 5.0216 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct [ 5.0518 ] [ 5.0519 ] Updating Odmdata [ 5.0536 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000 [ 5.0554 ] Warning: No sdram params [ 5.3969 ] [ 5.3970 ] Get Signed section of bct [ 5.3987 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 5.4005 ] [ 5.4006 ] Signing BCT [ 5.4037 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 5.4052 ] Assuming zero filled SBK key [ 5.4062 ] [ 5.4063 ] Updating BCT with signature [ 5.4079 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 5.6821 ] [ 5.6823 ] Copying signatures [ 5.6840 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml [ 6.6535 ] [ 6.6537 ] Updating BFS information on BCT [ 6.6554 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 6.6574 ] [ 6.6575 ] Boot Rom communication [ 6.6590 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml [ 6.6605 ] BR_CID: 0x32101001644612c0140000000efe8580 [ 6.8368 ] RCM version 0X210001 [ 7.0287 ] Boot Rom communication completed [ 8.0373 ] [ 8.0374 ] Sending BCTs [ 8.0394 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct [ 8.0408 ] Applet version 00.01.0000 [ 8.4121 ] Sending bct [ 8.4122 ] [................................................] 100% [ 8.6319 ] [ 8.6339 ] tegrahost --chip 0x21 --align cboot.bin [ 8.6352 ] [ 8.6363 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader [ 8.6399 ] [ 8.6414 ] tegrasign --key None --list cboot.bin_list.xml [ 8.6425 ] Assuming zero filled SBK key [ 8.6586 ] [ 8.6597 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk [ 8.6611 ] [ 8.6625 ] tegrahost --chip 0x21 --align tegra210-p3448-0003-p3542-0000.dtb [ 8.6635 ] [ 8.6643 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0003-p3542-0000.dtb tegra210-p3448-0003-p3542-0000.dtb_blheader [ 8.6657 ] [ 8.6665 ] tegrasign --key None --list tegra210-p3448-0003-p3542-0000.dtb_list.xml [ 8.6670 ] Assuming zero filled SBK key [ 8.6732 ] [ 8.6740 ] tegrahost --updatesigheader tegra210-p3448-0003-p3542-0000.dtb_blheader.encrypt tegra210-p3448-0003-p3542-0000.dtb_blheader.hash zerosbk [ 8.6750 ] [ 8.6753 ] Sending bootloader and pre-requisite binaries [ 8.6760 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0003-p3542-0000.dtb.encrypt 0 [ 8.6766 ] Applet version 00.01.0000 [ 9.0560 ] Sending ebt [ 9.0562 ] [................................................] 100% [ 9.1640 ] Sending rp1 [ 9.1696 ] [................................................] 100% [ 9.2347 ] [ 9.2362 ] tegrarcm --boot recovery [ 9.2375 ] Applet version 00.01.0000 [ 9.6107 ] [ 9.6108 ] Retrieving storage infomation [ 9.6125 ] tegrarcm --oem platformdetails storage storage_info.bin [ 9.6139 ] Applet is not running on device. Continue with Bootloader [ 10.7209 ] [ 10.7651 ] tegradevflash --oem platformdetails storage storage_info.bin [ 10.7666 ] Cboot version 00.01.0000 [ 10.9520 ] Saved platform info in storage_info.bin [ 10.9555 ] [ 10.9556 ] Flashing the device [ 10.9573 ] tegradevflash --pt flash.xml.bin --storageinfo storage_info.bin --create [ 10.9586 ] Cboot version 00.01.0000 [ 11.1570 ] Writing partition GPT with gpt.bin [ 11.1576 ] [................................................] 100% [ 11.1650 ] Writing partition PT with flash.xml.bin [ 26.9155 ] [................................................] 100% [ 26.9206 ] Writing partition NVC with nvtboot.bin.encrypt [ 27.1711 ] [................................................] 100% [ 27.1856 ] Writing partition NVC_R with nvtboot.bin.encrypt [ 37.1995 ] [................................................] 100% [ 37.2169 ] Writing partition TBC with nvtboot_cpu.bin.encrypt [ 47.2396 ] [................................................] 100% [ 47.2533 ] Writing partition RP1 with kernel_tegra210-p3448-0003-p3542-0000.dtb.encrypt [ 51.4202 ] [................................................] 100% [ 51.4404 ] Writing partition EBT with cboot.bin.encrypt [ 67.5632 ] [................................................] 100% [ 67.5917 ] Writing partition WB0 with warmboot.bin.encrypt [ 96.6463 ] [................................................] 100% [ 96.6576 ] Writing partition BPF with sc7entry-firmware.bin.encrypt [ 96.9209 ] [................................................] 100% [ 96.9322 ] Writing partition TOS with tos-mon-only.img.encrypt [ 97.1962 ] [................................................] 100% [ 97.2095 ] Writing partition DTB with kernel_tegra210-p3448-0003-p3542-0000.dtb.encrypt [ 100.6449 ] [................................................] 100% [ 100.6654 ] Writing partition LNX with boot.img.encrypt [ 116.7879 ] [................................................] 100% [ 116.8230 ] Warning: EKS partition magic header mismatch! [ 156.1322 ] Writing partition EKS with eks.img [ 156.1328 ] [................................................] 100% [ 156.1437 ] Writing partition BMP with bmp.blob [ 156.4063 ] [................................................] 100% [ 156.4275 ] Writing partition RP4 with rp4.blob [ 165.4747 ] [................................................] 100% [ 165.5066 ] Writing partition VER_b with qspi_bootblob_ver.txt [ 173.0895 ] [................................................] 100% [ 173.1173 ] Writing partition VER with qspi_bootblob_ver.txt [ 173.3806 ] [................................................] 100% [ 173.3921 ] Writing partition APP with system.img [ 173.6552 ] [................................................] 100% [ 765.5650 ] [ 765.5669 ] tegradevflash --write BCT P3448_A00_lpddr4_204Mhz_P987.bct [ 765.5684 ] Cboot version 00.01.0000 [ 765.6964 ] Writing partition BCT with P3448_A00_lpddr4_204Mhz_P987.bct [ 765.6973 ] [................................................] 100% [ 772.3528 ] [ 772.3528 ] Flashing completed [ 772.3529 ] Coldbooting the device [ 772.3546 ] tegradevflash --reboot coldboot [ 772.3562 ] Cboot version 00.01.0000 [ 772.4852 ] *** The target t210ref has been flashed successfully. *** Reset the board to boot from internal eMMC.