shin@shin-miniPC:~/work/tmp/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(4) copying bctfile(/home/shin/work/tmp/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg)... done. copying bootloader(/home/shin/work/tmp/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying initrd(/home/shin/work/tmp/Linux_for_Tegra/bootloader/l4t_initrd.img)... done. populating kernel to rootfs... done. populating initrd to rootfs... done. populating /home/shin/work/tmp/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb to rootfs... done. Making Boot image... done. Existing sosfile(/home/shin/work/tmp/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused. copying tegraboot(/home/shin/work/tmp/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done. copying cpu_bootloader(/home/shin/work/tmp/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying bpffile(/home/shin/work/tmp/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done. Existing badpagefile(/home/shin/work/tmp/Linux_for_Tegra/bootloader/badpage.bin) reused. copying wb0boot(/home/shin/work/tmp/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done. Existing tosfile(/home/shin/work/tmp/Linux_for_Tegra/bootloader/tos-mon-only.img) reused. Existing eksfile(/home/shin/work/tmp/Linux_for_Tegra/bootloader/eks.img) reused. copying dtbfile(/home/shin/work/tmp/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)... done. Copying nv_boot_control.conf to rootfs Existing tbcfile(/home/shin/work/tmp/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused. copying tbcdtbfile(/home/shin/work/tmp/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)... done. copying cfgfile(/home/shin/work/tmp/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_emmc_p3448.xml) to flash.xml... done. copying flasher(/home/shin/work/tmp/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. Existing flashapp(/home/shin/work/tmp/Linux_for_Tegra/bootloader/tegraflash.py) reused. *** Updating [LNX] with boot.img *** ./tegraflash.py --bl cboot.bin --bldtb tegra210-p3448-0002-p3449-0000-b00.dtb --chip 0x21 --applet nvtboot_recovery.bin --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --cfg flash.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.0143 ] tegrasign --key None --getmode mode.txt [ 0.0150 ] Assuming zero filled SBK key [ 0.0199 ] [ 0.0209 ] Generating RCM messages [ 0.0221 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.0232 ] RCM 0 is saved as rcm_0.rcm [ 0.0239 ] RCM 1 is saved as rcm_1.rcm [ 0.0240 ] List of rcm files are saved in rcm_list.xml [ 0.0240 ] [ 0.0240 ] Signing RCM messages [ 0.0253 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0264 ] Assuming zero filled SBK key [ 0.0348 ] [ 0.0348 ] Copying signature to RCM mesages [ 0.0357 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.0373 ] [ 0.0373 ] Parsing partition layout [ 0.0413 ] tegraparser --pt flash.xml.tmp [ 0.0455 ] [ 0.0456 ] Creating list of images to be signed [ 0.0480 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 0.0648 ] [ 0.0649 ] Generating signatures [ 0.0665 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 0.0679 ] Assuming zero filled SBK key [ 0.1631 ] [ 0.1631 ] Generating br-bct [ 0.1670 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 0.1677 ] Copying Sdram info from 0 to 1 set [ 0.1712 ] Copying Sdram info from 1 to 2 set [ 0.1712 ] Copying Sdram info from 2 to 3 set [ 0.1712 ] [ 0.1712 ] Updating boot device parameters [ 0.1720 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 0.1728 ] Warning: No sdram params [ 0.1729 ] [ 0.1729 ] Updating bl info [ 0.1737 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 0.1755 ] [ 0.1755 ] Updating secondary storage information into bct [ 0.1764 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 0.1776 ] [ 0.1777 ] Updating Odmdata [ 0.1789 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0x94000 [ 0.1800 ] Warning: No sdram params [ 0.1803 ] [ 0.1803 ] Get Signed section of bct [ 0.1815 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 0.1829 ] [ 0.1830 ] Signing BCT [ 0.1853 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 0.1862 ] Assuming zero filled SBK key [ 0.1868 ] [ 0.1869 ] Updating BCT with signature [ 0.1878 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 0.1890 ] [ 0.1891 ] Copying signatures [ 0.1903 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml [ 0.2075 ] [ 0.2076 ] Updating BFS information on BCT [ 0.2089 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 0.2103 ] BFS: [ 0.2126 ] 0: [PT ] flash.xml.bin (size=4337/131072) [ 0.2131 ] 1: [TBC] nvtboot_cpu.bin.encrypt (size=65760/196608) [ 0.2137 ] 2: [RP1] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215808/1048576) [ 0.2145 ] 3: [EBT] cboot.bin.encrypt (size=484304/655360) [ 0.2151 ] 4: [WB0] warmboot.bin.encrypt (size=3952/131072) [ 0.2156 ] 5: [BPF] sc7entry-firmware.bin.encrypt (size=3376/262144) [ 0.2163 ] BFS0: 131072 @ 2560 SUM 5fa83b7c over 2883584 bytes [ 0.2168 ] BFS: [ 0.2177 ] 0: [PT-1] flash.xml.bin (size=4337/131072) [ 0.2181 ] 1: [TBC-1] nvtboot_cpu.bin.encrypt (size=65760/196608) [ 0.2186 ] 2: [RP1-1] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215808/1048576) [ 0.2193 ] 3: [EBT-1] cboot.bin.encrypt (size=484304/655360) [ 0.2197 ] 4: [WB0-1] warmboot.bin.encrypt (size=3952/131072) [ 0.2201 ] 5: [BPF-1] sc7entry-firmware.bin.encrypt (size=3376/262144) [ 0.2206 ] BFS1: 131072 @ 8704 SUM 5fa83b7c over 2883584 bytes [ 0.2211 ] KFS: [ 0.2505 ] 0: [DTB] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215808/1048576) [ 0.2509 ] 1: [TOS] tos-mon-only.img.encrypt (size=54208/6291456) [ 0.2512 ] 2: [EKS] eks.img (size=1028/81920) [ 0.2514 ] 3: [LNX] boot.img.encrypt (size=483328/67092480) [ 0.2516 ] KFS0: 1048576 @ 29376546 SUM 12d70118 over 7905280 bytes [ 0.2562 ] KFS: [ 0.2853 ] 0: [DTB-1] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215808/1048576) [ 0.2858 ] 1: [TOS-1] tos-mon-only.img.encrypt (size=54208/6291456) [ 0.2861 ] 2: [EKS-1] eks.img (size=1028/81920) [ 0.2863 ] 3: [LNX-1] boot.img.encrypt (size=483328/67092480) [ 0.2865 ] KFS1: 1048576 @ 29522082 SUM 12d70118 over 7905280 bytes [ 0.2919 ] [ 0.2919 ] Copying signed file in /home/shin/work/tmp/Linux_for_Tegra/bootloader/signed [ 0.3239 ] Generating RCM messages [ 0.3252 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.3262 ] RCM 0 is saved as rcm_0.rcm [ 0.3268 ] RCM 1 is saved as rcm_1.rcm [ 0.3270 ] List of rcm files are saved in rcm_list.xml [ 0.3270 ] [ 0.3270 ] Signing RCM messages [ 0.3281 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.3290 ] Assuming zero filled SBK key [ 0.3352 ] [ 0.3352 ] Copying signature to RCM mesages [ 0.3362 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.3376 ] [ 0.3376 ] Boot Rom communication [ 0.3386 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid [ 0.3397 ] RCM version 0X210001 [ 0.3822 ] Boot Rom communication completed [ 1.3892 ] [ 1.3893 ] Parsing partition layout [ 1.3922 ] tegraparser --pt flash.xml.tmp [ 1.3962 ] [ 1.3963 ] Creating list of images to be signed [ 1.3989 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 1.4141 ] [ 1.4142 ] Generating signatures [ 1.4161 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 1.4184 ] Assuming zero filled SBK key [ 1.5137 ] [ 1.5138 ] Send BCT from Host [ 1.5138 ] Generating br-bct [ 1.5148 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 1.5156 ] Copying Sdram info from 0 to 1 set [ 1.5166 ] Copying Sdram info from 1 to 2 set [ 1.5166 ] Copying Sdram info from 2 to 3 set [ 1.5166 ] [ 1.5166 ] Updating boot device parameters [ 1.5174 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 1.5181 ] Warning: No sdram params [ 1.5182 ] [ 1.5182 ] Updating bl info [ 1.5190 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 1.5210 ] [ 1.5210 ] Updating secondary storage information into bct [ 1.5220 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 1.5231 ] [ 1.5231 ] Updating Odmdata [ 1.5241 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0x94000 [ 1.5250 ] Warning: No sdram params [ 1.5252 ] [ 1.5252 ] Get Signed section of bct [ 1.5267 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 1.5292 ] [ 1.5292 ] Signing BCT [ 1.5318 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 1.5333 ] Assuming zero filled SBK key [ 1.5340 ] [ 1.5340 ] Updating BCT with signature [ 1.5351 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 1.5365 ] [ 1.5365 ] Updating BFS information on BCT [ 1.5377 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 1.5387 ] BFS: [ 1.5404 ] 0: [PT ] flash.xml.bin (size=4193/131072) [ 1.5408 ] 1: [TBC] nvtboot_cpu.bin (size=65760/196608) [ 1.5411 ] 2: [RP1] tegra210-p3448-0002-p3449-0000-b00.dtb (size=215808/1048576) [ 1.5417 ] 3: [EBT] cboot.bin (size=484304/655360) [ 1.5421 ] 4: [WB0] warmboot.bin (size=3952/131072) [ 1.5424 ] 5: [BPF] sc7entry-firmware.bin (size=3376/262144) [ 1.5428 ] BFS0: 131072 @ 2560 SUM cc3a83e4 over 2883584 bytes [ 1.5432 ] BFS: [ 1.5438 ] 0: [PT-1] flash.xml.bin (size=4193/131072) [ 1.5441 ] 1: [TBC-1] nvtboot_cpu.bin (size=65760/196608) [ 1.5445 ] 2: [RP1-1] tegra210-p3448-0002-p3449-0000-b00.dtb (size=215808/1048576) [ 1.5451 ] 3: [EBT-1] cboot.bin (size=484304/655360) [ 1.5455 ] 4: [WB0-1] warmboot.bin (size=3952/131072) [ 1.5458 ] 5: [BPF-1] sc7entry-firmware.bin (size=3376/262144) [ 1.5461 ] BFS1: 131072 @ 8704 SUM cc3a83e4 over 2883584 bytes [ 1.5464 ] KFS: [ 1.5794 ] 0: [DTB] tegra210-p3448-0002-p3449-0000-b00.dtb (size=215808/1048576) [ 1.5798 ] 1: [TOS] tos-mon-only.img (size=54192/6291456) [ 1.5801 ] 2: [EKS] eks.img (size=1028/81920) [ 1.5803 ] 3: [LNX] boot.img (size=483328/67092480) [ 1.5805 ] KFS0: 1048576 @ 29376546 SUM 63d52f55 over 7905280 bytes [ 1.5844 ] KFS: [ 1.6150 ] 0: [DTB-1] tegra210-p3448-0002-p3449-0000-b00.dtb (size=215808/1048576) [ 1.6157 ] 1: [TOS-1] tos-mon-only.img (size=54192/6291456) [ 1.6162 ] 2: [EKS-1] eks.img (size=1028/81920) [ 1.6165 ] 3: [LNX-1] boot.img (size=483328/67092480) [ 1.6170 ] KFS1: 1048576 @ 29522082 SUM 63d52f55 over 7905280 bytes [ 1.6195 ] [ 1.6195 ] Sending BCTs [ 1.6206 ] tegrarcm --download bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 1.6222 ] Applet version 00.01.0000 [ 1.6396 ] Sending bct [ 1.6397 ] [................................................] 100% [ 1.8618 ] [ 1.8618 ] Sending bootloader and pre-requisite binaries [ 1.8633 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-b00.dtb 0 [ 1.8646 ] Applet version 00.01.0000 [ 1.8839 ] Sending ebt [ 1.8845 ] [................................................] 100% [ 1.9877 ] Sending rp1 [ 1.9921 ] [................................................] 100% [ 2.0425 ] [ 2.0442 ] tegrarcm --boot recovery [ 2.0456 ] Applet version 00.01.0000 [ 2.0648 ] [ 2.0649 ] Writing partition [ 2.0685 ] tegradevflash --write LNX /home/shin/work/tmp/Linux_for_Tegra/bootloader/signed/boot.img.encrypt [ 2.0704 ] Cboot version 00.01.0000 [ 2.6469 ] Writing partition LNX with /home/shin/work/tmp/Linux_for_Tegra/bootloader/signed/boot.img.encrypt [ 2.6474 ] [................................................] 100% [ 2.7053 ] [ 2.7055 ] Ignore BFS information in BCT [ 2.7080 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --ignorebfs flash.xml.bin [ 2.7107 ] [ 2.7126 ] tegradevflash --write BCT P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 2.7141 ] Cboot version 00.01.0000 [ 2.7160 ] Writing partition BCT with P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 2.7167 ] [................................................] 100% [ 3.1133 ] [ 3.1136 ] Coldbooting the device [ 3.1165 ] tegradevflash --reboot coldboot [ 3.1193 ] Cboot version 00.01.0000 [ 3.1222 ] *** The [LNX] has been updated successfully. ***