nnlab-pc3@nnlabpc3:~/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra$ sudo ./flash.sh 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 , ############################################################################### Board ID(3448) version(000) copying bctfile(/home/nnlab-pc3/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/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying initrd(/home/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/l4t_initrd.img)... done. Making Boot image... done. copying bcffile(/home/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cfg/board_config_p3448.xml)... done. Existing sosfile(/home/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused. copying tegraboot(/home/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done. copying cpu_bootloader(/home/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying bpffile(/home/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done. copying wb0boot(/home/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done. Existing tosfile(/home/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/tos-mon-only.img) reused. Existing eksfile(/home/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/eks.img) reused. copying dtbfile(/home/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-a00.dtb)... done. Copying nv_boot_control.conf to rootfs populating kernel to rootfs... done. populating initrd to rootfs... done. populating kernel_tegra210-p3448-0000-p3449-0000-a00.dtb to rootfs... done. Making system.img... populating rootfs from /home/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/rootfs ... 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/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused. copying tbcdtbfile(/home/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-a00.dtb)... done. copying cfgfile(/home/nnlab-pc3/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/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. Existing flashapp(/home/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/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-0000-p3449-0000-a00.dtb --applet nvtboot_recovery.bin --boardconfig board_config_p3448.xml --cmd "flash; reboot" --cfg flash.xml --chip 0x21 --skipuid --bins "EBT cboot.bin; DTB tegra210-p3448-0000-p3449-0000-a00.dtb" saving flash command in /home/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/flashcmd.txt saving Windows flash command to /home/nnlab-pc3/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/flash_win.bat assign_value: crc-flash.xml.bin 1 65520 1 printf '\x1' | dd of=crc-flash.xml.bin bs=1 seek=65520 count=1 conv=notrunc 1+0 records in 1+0 records out 1 byte copied, 0.000101394 s, 9.9 kB/s assign_value: crc-flash.xml.bin 0 65521 1 printf '\x0' | dd of=crc-flash.xml.bin bs=1 seek=65521 count=1 conv=notrunc 1+0 records in 1+0 records out 1 byte copied, 8.485e-05 s, 11.8 kB/s assign_string: crc-flash.xml.bin PTHD 65528 4 echo PTHD | dd of=crc-flash.xml.bin bs=1 seek=65528 count=4 conv=notrunc 4+0 records in 4+0 records out 4 bytes copied, 9.6013e-05 s, 41.7 kB/s *** 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.0032 ] tegrasign --getmode mode.txt --key None [ 0.0041 ] Assuming zero filled SBK key [ 0.0080 ] [ 0.0081 ] Generating RCM messages [ 0.0110 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.0120 ] RCM 0 is saved as rcm_0.rcm [ 0.0150 ] RCM 1 is saved as rcm_1.rcm [ 0.0152 ] List of rcm files are saved in rcm_list.xml [ 0.0153 ] [ 0.0153 ] Signing RCM messages [ 0.0173 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0181 ] Assuming zero filled SBK key [ 0.0238 ] [ 0.0238 ] Copying signature to RCM mesages [ 0.0255 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.0263 ] [ 0.0263 ] Parsing partition layout [ 0.0280 ] tegraparser --pt flash.xml.tmp [ 0.0287 ] [ 0.0288 ] Using default ramcode: 0 [ 0.0288 ] Disable BPMP dtb trim, using default dtb [ 0.0288 ] [ 0.0288 ] Creating list of images to be signed [ 0.0306 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 0.0531 ] [ 0.0532 ] Generating signatures [ 0.0569 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 0.0592 ] Assuming zero filled SBK key [ 0.1030 ] [ 0.1030 ] Generating br-bct [ 0.1057 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 0.1121 ] [ 0.1121 ] Updating boot device parameters [ 0.1138 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 0.1143 ] Warning: No sdram params [ 0.1143 ] [ 0.1143 ] Updating bl info [ 0.1159 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 0.1169 ] [ 0.1169 ] Updating secondary storage information into bct [ 0.1185 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct [ 0.1191 ] [ 0.1191 ] Updating board information from board config into bct [ 0.1208 ] tegraparser --boardconfig board_config_p3448.xml --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct [ 0.1218 ] [ 0.1218 ] Updating Odmdata [ 0.1235 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000 [ 0.1240 ] Warning: No sdram params [ 0.1241 ] [ 0.1241 ] Get Signed section of bct [ 0.1258 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 0.1263 ] [ 0.1263 ] Signing BCT [ 0.1295 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 0.1300 ] Assuming zero filled SBK key [ 0.1303 ] [ 0.1303 ] Updating BCT with signature [ 0.1319 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 0.1324 ] [ 0.1325 ] Copying signatures [ 0.1340 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml [ 0.1381 ] [ 0.1381 ] Updating BFS information on BCT [ 0.1397 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 0.1403 ] [ 0.1404 ] Boot Rom communication [ 0.1420 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid [ 0.1425 ] RCM version 0X210001 [ 0.1845 ] Boot Rom communication completed [ 1.1926 ] [ 1.1927 ] Sending BCTs [ 1.1965 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct [ 1.1986 ] Applet version 00.01.0000 [ 1.2015 ] Sending bct [ 1.2017 ] [................................................] 100% [ 1.3746 ] [ 1.3785 ] tegrahost --chip 0x21 --align cboot.bin [ 1.3809 ] [ 1.3845 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader [ 1.3905 ] [ 1.3949 ] tegrasign --key None --list cboot.bin_list.xml [ 1.3971 ] Assuming zero filled SBK key [ 1.4090 ] [ 1.4109 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk [ 1.4119 ] [ 1.4139 ] tegrahost --chip 0x21 --align tegra210-p3448-0000-p3449-0000-a00.dtb [ 1.4144 ] [ 1.4160 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0000-p3449-0000-a00.dtb tegra210-p3448-0000-p3449-0000-a00.dtb_blheader [ 1.4169 ] [ 1.4186 ] tegrasign --key None --list tegra210-p3448-0000-p3449-0000-a00.dtb_list.xml [ 1.4191 ] Assuming zero filled SBK key [ 1.4234 ] [ 1.4251 ] tegrahost --updatesigheader tegra210-p3448-0000-p3449-0000-a00.dtb_blheader.encrypt tegra210-p3448-0000-p3449-0000-a00.dtb_blheader.hash zerosbk [ 1.4258 ] [ 1.4260 ] Sending bootloader and pre-requisite binaries [ 1.4276 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0000-p3449-0000-a00.dtb.encrypt 0 [ 1.4281 ] Applet version 00.01.0000 [ 1.4468 ] Sending ebt [ 1.4473 ] [................................................] 100% [ 1.5522 ] Sending rp1 [ 1.5567 ] [................................................] 100% [ 1.6099 ] [ 1.6138 ] tegrarcm --boot recovery [ 1.6159 ] Applet version 00.01.0000 [ 1.6349 ] [ 1.6349 ] Retrieving storage infomation [ 1.6366 ] tegrarcm --oem platformdetails storage storage_info.bin [ 1.6371 ] Applet is not running on device. Continue with Bootloader [ 2.4129 ] [ 2.4203 ] tegradevflash --oem platformdetails storage storage_info.bin [ 2.4225 ] Cboot version 00.01.0000 [ 2.4274 ] Saved platform info in storage_info.bin [ 2.4288 ] [ 2.4289 ] Flashing the device [ 2.4327 ] tegradevflash --pt flash.xml.bin --storageinfo storage_info.bin --create [ 2.4348 ] Cboot version 00.01.0000 [ 2.4506 ] Writing partition GPT with gpt.bin [ 2.4513 ] [................................................] 100% [ 2.4574 ] Writing partition PT with crc-flash.xml.bin [ 14.9067 ] [................................................] 100% [ 14.9134 ] Writing partition NVC with nvtboot.bin.encrypt [ 18.8226 ] [................................................] 100% [ 18.8360 ] Writing partition NVC_R with nvtboot.bin.encrypt [ 28.8500 ] [................................................] 100% [ 28.8659 ] Writing partition TBC with nvtboot_cpu.bin.encrypt [ 38.8893 ] [................................................] 100% [ 38.9017 ] Writing partition RP1 with kernel_tegra210-p3448-0000-p3449-0000-a00.dtb.encrypt [ 43.0684 ] [................................................] 100% [ 43.0855 ] Writing partition EBT with cboot.bin.encrypt [ 56.7686 ] [................................................] 100% [ 56.7953 ] Writing partition WB0 with warmboot.bin.encrypt [ 85.8523 ] [................................................] 100% [ 85.8629 ] Writing partition BPF with sc7entry-firmware.bin.encrypt [ 86.1254 ] [................................................] 100% [ 86.1359 ] Writing partition TOS with tos-mon-only.img.encrypt [ 86.3982 ] [................................................] 100% [ 86.4105 ] Writing partition DTB with kernel_tegra210-p3448-0000-p3449-0000-a00.dtb.encrypt [ 89.8457 ] [................................................] 100% [ 89.8632 ] Writing partition LNX with boot.img.encrypt [ 103.5461 ] [................................................] 100% [ 103.5783 ] Warning: EKS partition magic header mismatch! [ 143.3714 ] Writing partition EKS with eks.img [ 143.3721 ] [................................................] 100% [ 143.3822 ] Writing partition BMP with bmp.blob [ 143.6447 ] [................................................] 100% [ 143.6615 ] Writing partition RP4 with rp4.blob [ 152.7082 ] [................................................] 100% [ 152.7241 ] Writing partition VER_b with qspi_bootblob_ver.txt [ 160.5508 ] [................................................] 100% [ 160.5618 ] Writing partition VER with qspi_bootblob_ver.txt [ 160.8235 ] [................................................] 100% [ 160.8336 ] Writing partition APP with system.img [ 161.0964 ] [................................................] 100% [ 662.1745 ] [ 662.1786 ] tegradevflash --write BCT P3448_A00_lpddr4_204Mhz_P987.bct [ 662.1808 ] Cboot version 00.01.0000 [ 662.1833 ] Writing partition BCT with P3448_A00_lpddr4_204Mhz_P987.bct [ 662.1844 ] [................................................] 100% [ 668.8384 ] [ 668.8385 ] Flashing completed [ 668.8385 ] Coldbooting the device [ 668.8404 ] tegradevflash --reboot coldboot [ 668.8409 ] Cboot version 00.01.0000 [ 668.8430 ] *** The target t210ref has been flashed successfully. *** Reset the board to boot from internal eMMC.