shin@shin-miniPC:~/work/tmp2/Linux_for_Tegra$ sudo ./flash.sh -k LNX jetson-nano-emmc mmcblk0p1 ############################################################################### # L4T BSP Information: # R32 , REVISION: 3.1 ############################################################################### # Target Board Information: # Name: jetson-nano-emmc, Board Family: t210ref, SoC: Tegra 210, # OpMode: production, Boot Authentication: , ############################################################################### Board ID(3448) version(400) copying bctfile(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg)... done. copying bootloader(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying initrd(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/l4t_initrd.img)... done. populating kernel to rootfs... done. populating initrd to rootfs... done. populating /home/shin/work/tmp2/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.dtb to rootfs... done. Making Boot image... done. copying bcffile(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/t210ref/cfg/board_config_p3448.xml)... done. Existing sosfile(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused. copying tegraboot(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done. copying cpu_bootloader(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying bpffile(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done. Existing badpagefile(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/badpage.bin) reused. copying wb0boot(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done. Existing tosfile(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/tos-mon-only.img) reused. Existing eksfile(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/eks.img) reused. copying dtbfile(/home/shin/work/tmp2/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.dtb)... done. Copying nv_boot_control.conf to rootfs Existing tbcfile(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused. copying tbcdtbfile(/home/shin/work/tmp2/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.dtb)... done. copying cfgfile(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_emmc_p3448.xml) to flash.xml... done. copying flasher(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. Existing flashapp(/home/shin/work/tmp2/Linux_for_Tegra/bootloader/tegraflash.py) reused. *** Updating [LNX] with boot.img *** ./tegraflash.py --bl cboot.bin --bldtb tegra210-p3448-0000-p3449-0000-b00.dtb --chip 0x21 --applet nvtboot_recovery.bin --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --cfg flash.xml --boardconfig board_config_p3448.xml --odmdata 0x94000 --cmd "sign; write LNX ./signed/boot.img.encrypt; reboot" --skipuid 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.0096 ] tegrasign --key None --getmode mode.txt [ 0.0103 ] Assuming zero filled SBK key [ 0.0106 ] [ 0.0107 ] Generating RCM messages [ 0.0115 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.0122 ] RCM 0 is saved as rcm_0.rcm [ 0.0126 ] RCM 1 is saved as rcm_1.rcm [ 0.0126 ] List of rcm files are saved in rcm_list.xml [ 0.0126 ] [ 0.0126 ] Signing RCM messages [ 0.0134 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0141 ] Assuming zero filled SBK key [ 0.0194 ] [ 0.0195 ] Copying signature to RCM mesages [ 0.0203 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.0219 ] [ 0.0219 ] Parsing partition layout [ 0.0247 ] tegraparser --pt flash.xml.tmp [ 0.0291 ] [ 0.0292 ] Creating list of images to be signed [ 0.0318 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 0.0479 ] [ 0.0480 ] Generating signatures [ 0.0495 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 0.0509 ] Assuming zero filled SBK key [ 0.1501 ] [ 0.1502 ] Generating br-bct [ 0.1540 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 0.1547 ] Copying Sdram info from 0 to 1 set [ 0.1590 ] Copying Sdram info from 1 to 2 set [ 0.1590 ] Copying Sdram info from 2 to 3 set [ 0.1590 ] [ 0.1590 ] Updating boot device parameters [ 0.1598 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 0.1610 ] Warning: No sdram params [ 0.1613 ] [ 0.1614 ] Updating bl info [ 0.1625 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 0.1654 ] [ 0.1654 ] Updating secondary storage information into bct [ 0.1669 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 0.1683 ] [ 0.1684 ] Updating board information from board config into bct [ 0.1696 ] tegraparser --boardconfig board_config_p3448.xml --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 0.1710 ] [ 0.1711 ] Updating Odmdata [ 0.1723 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0x94000 [ 0.1735 ] Warning: No sdram params [ 0.1738 ] [ 0.1738 ] Get Signed section of bct [ 0.1750 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 0.1765 ] [ 0.1765 ] Signing BCT [ 0.1789 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 0.1802 ] Assuming zero filled SBK key [ 0.1811 ] [ 0.1811 ] Updating BCT with signature [ 0.1825 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 0.1841 ] [ 0.1842 ] Copying signatures [ 0.1856 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml [ 0.2148 ] [ 0.2149 ] Updating BFS information on BCT [ 0.2166 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 0.2177 ] BFS: [ 0.2194 ] 0: [PT ] flash.xml.bin (size=4337/131072) [ 0.2197 ] 1: [TBC] nvtboot_cpu.bin.encrypt (size=65760/196608) [ 0.2202 ] 2: [RP1] tegra210-p3448-0000-p3449-0000-b00.dtb.encrypt (size=215840/1048576) [ 0.2208 ] 3: [EBT] cboot.bin.encrypt (size=484304/655360) [ 0.2212 ] 4: [WB0] warmboot.bin.encrypt (size=3952/131072) [ 0.2216 ] 5: [BPF] sc7entry-firmware.bin.encrypt (size=3376/262144) [ 0.2220 ] BFS0: 131072 @ 2560 SUM 47db897a over 2883584 bytes [ 0.2224 ] BFS: [ 0.2225 ] 0: [PT-1] flash.xml.bin (size=4337/131072) [ 0.2228 ] 1: [TBC-1] nvtboot_cpu.bin.encrypt (size=65760/196608) [ 0.2232 ] 2: [RP1-1] tegra210-p3448-0000-p3449-0000-b00.dtb.encrypt (size=215840/1048576) [ 0.2238 ] 3: [EBT-1] cboot.bin.encrypt (size=484304/655360) [ 0.2242 ] 4: [WB0-1] warmboot.bin.encrypt (size=3952/131072) [ 0.2246 ] 5: [BPF-1] sc7entry-firmware.bin.encrypt (size=3376/262144) [ 0.2251 ] BFS1: 131072 @ 8704 SUM 47db897a over 2883584 bytes [ 0.2255 ] KFS: [ 0.2554 ] 0: [DTB] tegra210-p3448-0000-p3449-0000-b00.dtb.encrypt (size=215840/1048576) [ 0.2558 ] 1: [TOS] tos-mon-only.img.encrypt (size=54208/6291456) [ 0.2561 ] 2: [EKS] eks.img (size=1028/81920) [ 0.2563 ] 3: [LNX] boot.img.encrypt (size=483328/67092480) [ 0.2566 ] KFS0: 1048576 @ 29376546 SUM 2bb72787 over 7905280 bytes [ 0.2599 ] KFS: [ 0.2884 ] 0: [DTB-1] tegra210-p3448-0000-p3449-0000-b00.dtb.encrypt (size=215840/1048576) [ 0.2889 ] 1: [TOS-1] tos-mon-only.img.encrypt (size=54208/6291456) [ 0.2892 ] 2: [EKS-1] eks.img (size=1028/81920) [ 0.2894 ] 3: [LNX-1] boot.img.encrypt (size=483328/67092480) [ 0.2897 ] KFS1: 1048576 @ 29522082 SUM 2bb72787 over 7905280 bytes [ 0.2930 ] [ 0.2930 ] Copying signed file in /home/shin/work/tmp2/Linux_for_Tegra/bootloader/signed [ 0.3061 ] Generating RCM messages [ 0.3072 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.3082 ] RCM 0 is saved as rcm_0.rcm [ 0.3088 ] RCM 1 is saved as rcm_1.rcm [ 0.3090 ] List of rcm files are saved in rcm_list.xml [ 0.3090 ] [ 0.3090 ] Signing RCM messages [ 0.3100 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.3109 ] Assuming zero filled SBK key [ 0.3175 ] [ 0.3175 ] Copying signature to RCM mesages [ 0.3186 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.3201 ] [ 0.3201 ] Boot Rom communication [ 0.3212 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid [ 0.3223 ] RCM version 0X210001 [ 0.3661 ] Boot Rom communication completed [ 1.3733 ] [ 1.3734 ] Parsing partition layout [ 1.3768 ] tegraparser --pt flash.xml.tmp [ 1.3817 ] [ 1.3819 ] Creating list of images to be signed [ 1.3838 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 1.3969 ] [ 1.3970 ] Generating signatures [ 1.3985 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 1.3998 ] Assuming zero filled SBK key [ 1.4973 ] [ 1.4973 ] Send BCT from Host [ 1.4973 ] Generating br-bct [ 1.4983 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 1.4991 ] Copying Sdram info from 0 to 1 set [ 1.5001 ] Copying Sdram info from 1 to 2 set [ 1.5001 ] Copying Sdram info from 2 to 3 set [ 1.5001 ] [ 1.5001 ] Updating boot device parameters [ 1.5008 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 1.5016 ] Warning: No sdram params [ 1.5018 ] [ 1.5018 ] Updating bl info [ 1.5026 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 1.5046 ] [ 1.5046 ] Updating secondary storage information into bct [ 1.5056 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 1.5068 ] [ 1.5068 ] Updating board information from board config into bct [ 1.5078 ] tegraparser --boardconfig board_config_p3448.xml --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 1.5091 ] [ 1.5091 ] Updating Odmdata [ 1.5101 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0x94000 [ 1.5111 ] Warning: No sdram params [ 1.5114 ] [ 1.5114 ] Get Signed section of bct [ 1.5125 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 1.5138 ] [ 1.5138 ] Signing BCT [ 1.5159 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 1.5169 ] Assuming zero filled SBK key [ 1.5176 ] [ 1.5176 ] Updating BCT with signature [ 1.5187 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 1.5201 ] [ 1.5201 ] Updating BFS information on BCT [ 1.5212 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 1.5223 ] BFS: [ 1.5239 ] 0: [PT ] flash.xml.bin (size=4193/131072) [ 1.5243 ] 1: [TBC] nvtboot_cpu.bin (size=65760/196608) [ 1.5247 ] 2: [RP1] tegra210-p3448-0000-p3449-0000-b00.dtb (size=215840/1048576) [ 1.5254 ] 3: [EBT] cboot.bin (size=484304/655360) [ 1.5259 ] 4: [WB0] warmboot.bin (size=3952/131072) [ 1.5264 ] 5: [BPF] sc7entry-firmware.bin (size=3376/262144) [ 1.5269 ] BFS0: 131072 @ 2560 SUM ccee6edb over 2883584 bytes [ 1.5274 ] BFS: [ 1.5275 ] 0: [PT-1] flash.xml.bin (size=4193/131072) [ 1.5280 ] 1: [TBC-1] nvtboot_cpu.bin (size=65760/196608) [ 1.5286 ] 2: [RP1-1] tegra210-p3448-0000-p3449-0000-b00.dtb (size=215840/1048576) [ 1.5293 ] 3: [EBT-1] cboot.bin (size=484304/655360) [ 1.5297 ] 4: [WB0-1] warmboot.bin (size=3952/131072) [ 1.5301 ] 5: [BPF-1] sc7entry-firmware.bin (size=3376/262144) [ 1.5305 ] BFS1: 131072 @ 8704 SUM ccee6edb over 2883584 bytes [ 1.5309 ] KFS: [ 1.5572 ] 0: [DTB] tegra210-p3448-0000-p3449-0000-b00.dtb (size=215840/1048576) [ 1.5576 ] 1: [TOS] tos-mon-only.img (size=54192/6291456) [ 1.5579 ] 2: [EKS] eks.img (size=1028/81920) [ 1.5581 ] 3: [LNX] boot.img (size=483328/67092480) [ 1.5583 ] KFS0: 1048576 @ 29376546 SUM 4c3db429 over 7905280 bytes [ 1.5619 ] KFS: [ 1.5890 ] 0: [DTB-1] tegra210-p3448-0000-p3449-0000-b00.dtb (size=215840/1048576) [ 1.5896 ] 1: [TOS-1] tos-mon-only.img (size=54192/6291456) [ 1.5900 ] 2: [EKS-1] eks.img (size=1028/81920) [ 1.5903 ] 3: [LNX-1] boot.img (size=483328/67092480) [ 1.5905 ] KFS1: 1048576 @ 29522082 SUM 4c3db429 over 7905280 bytes [ 1.5931 ] [ 1.5932 ] Sending BCTs [ 1.5941 ] tegrarcm --download bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 1.5949 ] Applet version 00.01.0000 [ 1.6109 ] Sending bct [ 1.6110 ] [................................................] 100% [ 1.7807 ] [ 1.7809 ] Sending bootloader and pre-requisite binaries [ 1.7835 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 tegra210-p3448-0000-p3449-0000-b00.dtb 0 [ 1.7859 ] Applet version 00.01.0000 [ 1.8028 ] Sending ebt [ 1.8031 ] [................................................] 100% [ 1.9059 ] Sending rp1 [ 1.9102 ] [................................................] 100% [ 1.9603 ] [ 1.9632 ] tegrarcm --boot recovery [ 1.9654 ] Applet version 00.01.0000 [ 1.9881 ] [ 1.9881 ] Writing partition [ 1.9914 ] tegradevflash --write LNX /home/shin/work/tmp2/Linux_for_Tegra/bootloader/signed/boot.img.encrypt [ 1.9933 ] Cboot version 00.01.0000 [ 2.5534 ] Writing partition LNX with /home/shin/work/tmp2/Linux_for_Tegra/bootloader/signed/boot.img.encrypt [ 2.5557 ] [................................................] 100% [ 2.6117 ] [ 2.6118 ] Ignore BFS information in BCT [ 2.6140 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --ignorebfs flash.xml.bin [ 2.6162 ] [ 2.6179 ] tegradevflash --write BCT P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 2.6194 ] Cboot version 00.01.0000 [ 2.6213 ] Writing partition BCT with P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 2.6223 ] [................................................] 100% [ 3.0181 ] [ 3.0183 ] Coldbooting the device [ 3.0213 ] tegradevflash --reboot coldboot [ 3.0237 ] Cboot version 00.01.0000 [ 3.0262 ] *** The [LNX] has been updated successfully. *** shin@shin-miniPC:~/work/tmp2/Linux_for_Tegra$