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.0070 ] tegrasign --key None --getmode mode.txt [ 0.0078 ] Assuming zero filled SBK key [ 0.0081 ] [ 0.0099 ] Generating RCM messages [ 0.0108 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.0115 ] RCM 0 is saved as rcm_0.rcm [ 0.0120 ] RCM 1 is saved as rcm_1.rcm [ 0.0120 ] List of rcm files are saved in rcm_list.xml [ 0.0120 ] [ 0.0120 ] Signing RCM messages [ 0.0128 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0135 ] Assuming zero filled SBK key [ 0.0186 ] [ 0.0186 ] Copying signature to RCM mesages [ 0.0194 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.0209 ] [ 0.0209 ] Parsing partition layout [ 0.0219 ] tegraparser --pt flash.xml.tmp [ 0.0232 ] [ 0.0233 ] Creating list of images to be signed [ 0.0242 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 0.0982 ] [ 0.0983 ] Generating signatures [ 0.1004 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 0.1022 ] Assuming zero filled SBK key [ 0.2027 ] [ 0.2027 ] Generating br-bct [ 0.2038 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 0.2047 ] Copying Sdram info from 0 to 1 set [ 0.2057 ] Copying Sdram info from 1 to 2 set [ 0.2057 ] Copying Sdram info from 2 to 3 set [ 0.2057 ] [ 0.2057 ] Updating boot device parameters [ 0.2065 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 0.2072 ] Warning: No sdram params [ 0.2074 ] [ 0.2074 ] Updating bl info [ 0.2081 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 0.2100 ] [ 0.2100 ] Updating secondary storage information into bct [ 0.2108 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 0.2120 ] [ 0.2120 ] Updating Odmdata [ 0.2130 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0x94000 [ 0.2140 ] Warning: No sdram params [ 0.2142 ] [ 0.2143 ] Get Signed section of bct [ 0.2152 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 0.2165 ] [ 0.2165 ] Signing BCT [ 0.2186 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 0.2199 ] Assuming zero filled SBK key [ 0.2208 ] [ 0.2208 ] Updating BCT with signature [ 0.2218 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 0.2230 ] [ 0.2231 ] Copying signatures [ 0.2242 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml [ 0.2471 ] [ 0.2471 ] Updating BFS information on BCT [ 0.2483 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 0.2493 ] BFS: [ 0.2508 ] 0: [PT ] flash.xml.bin (size=4337/131072) [ 0.2511 ] 1: [TBC] nvtboot_cpu.bin.encrypt (size=65760/196608) [ 0.2515 ] 2: [RP1] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215808/1048576) [ 0.2519 ] 3: [EBT] cboot.bin.encrypt (size=484304/655360) [ 0.2524 ] 4: [WB0] warmboot.bin.encrypt (size=3952/131072) [ 0.2528 ] 5: [BPF] sc7entry-firmware.bin.encrypt (size=3376/262144) [ 0.2533 ] BFS0: 131072 @ 2560 SUM 3b4caa93 over 2883584 bytes [ 0.2537 ] BFS: [ 0.2548 ] 0: [PT-1] flash.xml.bin (size=4337/131072) [ 0.2552 ] 1: [TBC-1] nvtboot_cpu.bin.encrypt (size=65760/196608) [ 0.2557 ] 2: [RP1-1] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215808/1048576) [ 0.2564 ] 3: [EBT-1] cboot.bin.encrypt (size=484304/655360) [ 0.2569 ] 4: [WB0-1] warmboot.bin.encrypt (size=3952/131072) [ 0.2573 ] 5: [BPF-1] sc7entry-firmware.bin.encrypt (size=3376/262144) [ 0.2578 ] BFS1: 131072 @ 8704 SUM 3b4caa93 over 2883584 bytes [ 0.2583 ] KFS: [ 0.2890 ] 0: [DTB] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215808/1048576) [ 0.2894 ] 1: [TOS] tos-mon-only.img.encrypt (size=54208/6291456) [ 0.2897 ] 2: [EKS] eks.img (size=1028/81920) [ 0.2899 ] 3: [LNX] boot.img.encrypt (size=483328/67092480) [ 0.2901 ] KFS0: 1048576 @ 29376546 SUM 12d70118 over 7905280 bytes [ 0.2938 ] KFS: [ 0.3216 ] 0: [DTB-1] tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=215808/1048576) [ 0.3220 ] 1: [TOS-1] tos-mon-only.img.encrypt (size=54208/6291456) [ 0.3223 ] 2: [EKS-1] eks.img (size=1028/81920) [ 0.3225 ] 3: [LNX-1] boot.img.encrypt (size=483328/67092480) [ 0.3228 ] KFS1: 1048576 @ 29522082 SUM 12d70118 over 7905280 bytes [ 0.3272 ] [ 0.3272 ] Copying signed file in /home/shin/work/tmp/Linux_for_Tegra/bootloader/signed [ 0.3442 ] Generating RCM messages [ 0.3455 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.3464 ] RCM 0 is saved as rcm_0.rcm [ 0.3468 ] RCM 1 is saved as rcm_1.rcm [ 0.3470 ] List of rcm files are saved in rcm_list.xml [ 0.3470 ] [ 0.3470 ] Signing RCM messages [ 0.3479 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.3487 ] Assuming zero filled SBK key [ 0.3546 ] [ 0.3546 ] Copying signature to RCM mesages [ 0.3554 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.3570 ] [ 0.3571 ] Boot Rom communication [ 0.3588 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid [ 0.3602 ] RCM version 0X210001 [ 0.4053 ] Boot Rom communication completed [ 1.4126 ] [ 1.4127 ] Parsing partition layout [ 1.4161 ] tegraparser --pt flash.xml.tmp [ 1.4206 ] [ 1.4208 ] Creating list of images to be signed [ 1.4235 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 1.4374 ] [ 1.4375 ] Generating signatures [ 1.4389 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 1.4400 ] Assuming zero filled SBK key [ 1.5523 ] [ 1.5523 ] Send BCT from Host [ 1.5523 ] Generating br-bct [ 1.5533 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 1.5540 ] Copying Sdram info from 0 to 1 set [ 1.5550 ] Copying Sdram info from 1 to 2 set [ 1.5550 ] Copying Sdram info from 2 to 3 set [ 1.5550 ] [ 1.5550 ] Updating boot device parameters [ 1.5558 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 1.5566 ] Warning: No sdram params [ 1.5567 ] [ 1.5568 ] Updating bl info [ 1.5575 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 1.5593 ] [ 1.5594 ] Updating secondary storage information into bct [ 1.5603 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 1.5614 ] [ 1.5615 ] Updating Odmdata [ 1.5624 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0x94000 [ 1.5634 ] Warning: No sdram params [ 1.5636 ] [ 1.5636 ] Get Signed section of bct [ 1.5646 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 1.5656 ] [ 1.5657 ] Signing BCT [ 1.5675 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 1.5687 ] Assuming zero filled SBK key [ 1.5702 ] [ 1.5702 ] Updating BCT with signature [ 1.5713 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 1.5726 ] [ 1.5726 ] Updating BFS information on BCT [ 1.5737 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 1.5748 ] BFS: [ 1.5767 ] 0: [PT ] flash.xml.bin (size=4193/131072) [ 1.5771 ] 1: [TBC] nvtboot_cpu.bin (size=65760/196608) [ 1.5775 ] 2: [RP1] tegra210-p3448-0002-p3449-0000-b00.dtb (size=215808/1048576) [ 1.5781 ] 3: [EBT] cboot.bin (size=484304/655360) [ 1.5785 ] 4: [WB0] warmboot.bin (size=3952/131072) [ 1.5788 ] 5: [BPF] sc7entry-firmware.bin (size=3376/262144) [ 1.5792 ] BFS0: 131072 @ 2560 SUM e9965934 over 2883584 bytes [ 1.5796 ] BFS: [ 1.5802 ] 0: [PT-1] flash.xml.bin (size=4193/131072) [ 1.5805 ] 1: [TBC-1] nvtboot_cpu.bin (size=65760/196608) [ 1.5809 ] 2: [RP1-1] tegra210-p3448-0002-p3449-0000-b00.dtb (size=215808/1048576) [ 1.5814 ] 3: [EBT-1] cboot.bin (size=484304/655360) [ 1.5818 ] 4: [WB0-1] warmboot.bin (size=3952/131072) [ 1.5821 ] 5: [BPF-1] sc7entry-firmware.bin (size=3376/262144) [ 1.5825 ] BFS1: 131072 @ 8704 SUM e9965934 over 2883584 bytes [ 1.5829 ] KFS: [ 1.6123 ] 0: [DTB] tegra210-p3448-0002-p3449-0000-b00.dtb (size=215808/1048576) [ 1.6127 ] 1: [TOS] tos-mon-only.img (size=54192/6291456) [ 1.6129 ] 2: [EKS] eks.img (size=1028/81920) [ 1.6132 ] 3: [LNX] boot.img (size=483328/67092480) [ 1.6134 ] KFS0: 1048576 @ 29376546 SUM 63d52f55 over 7905280 bytes [ 1.6167 ] KFS: [ 1.6439 ] 0: [DTB-1] tegra210-p3448-0002-p3449-0000-b00.dtb (size=215808/1048576) [ 1.6444 ] 1: [TOS-1] tos-mon-only.img (size=54192/6291456) [ 1.6446 ] 2: [EKS-1] eks.img (size=1028/81920) [ 1.6449 ] 3: [LNX-1] boot.img (size=483328/67092480) [ 1.6451 ] KFS1: 1048576 @ 29522082 SUM 63d52f55 over 7905280 bytes [ 1.6481 ] [ 1.6481 ] Sending BCTs [ 1.6491 ] tegrarcm --download bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 1.6498 ] Applet version 00.01.0000 [ 1.6705 ] Sending bct [ 1.6706 ] [................................................] 100% [ 1.8929 ] [ 1.8930 ] Sending bootloader and pre-requisite binaries [ 1.8950 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-b00.dtb 0 [ 1.8967 ] Applet version 00.01.0000 [ 1.9147 ] Sending ebt [ 1.9153 ] [................................................] 100% [ 2.0186 ] Sending rp1 [ 2.0233 ] [................................................] 100% [ 2.0733 ] [ 2.0743 ] tegrarcm --boot recovery [ 2.0753 ] Applet version 00.01.0000 [ 2.0915 ] [ 2.0916 ] Writing partition [ 2.0929 ] tegradevflash --write LNX /home/shin/work/tmp/Linux_for_Tegra/bootloader/signed/boot.img.encrypt [ 2.0942 ] Cboot version 00.01.0000 [ 2.7103 ] Writing partition LNX with /home/shin/work/tmp/Linux_for_Tegra/bootloader/signed/boot.img.encrypt [ 2.7125 ] [................................................] 100% [ 2.7663 ] [ 2.7664 ] Ignore BFS information in BCT [ 2.7684 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --ignorebfs flash.xml.bin [ 2.7711 ] [ 2.7731 ] tegradevflash --write BCT P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 2.7750 ] Cboot version 00.01.0000 [ 2.7770 ] Writing partition BCT with P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 2.7781 ] [................................................] 100% [ 3.1745 ] [ 3.1748 ] Coldbooting the device [ 3.1780 ] tegradevflash --reboot coldboot [ 3.1809 ] Cboot version 00.01.0000 [ 3.1836 ] *** The [LNX] has been updated successfully. ***