############################################################################### # L4T BSP Information: # R32 , REVISION: 5.1 ############################################################################### # Target Board Information: # Name: jetson-nano-emmc, Board Family: t210ref, SoC: Tegra 210, # OpMode: production, Boot Authentication: NS, # Disk encryption: disabled , ############################################################################### ./tegraflash.py --chip 0x21 --applet "/home/zhikai/Downloads/nvidia/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.0039 ] Generating RCM messages [ 0.0052 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0 [ 0.0063 ] RCM 0 is saved as rcm_0.rcm [ 0.0069 ] RCM 1 is saved as rcm_1.rcm [ 0.0069 ] List of rcm files are saved in rcm_list.xml [ 0.0069 ] [ 0.0069 ] Signing RCM messages [ 0.0083 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0095 ] Assuming zero filled SBK key [ 0.0153 ] [ 0.0154 ] Copying signature to RCM mesages [ 0.0168 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.0188 ] [ 0.0189 ] Boot Rom communication [ 0.0211 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid [ 0.0222 ] RCM version 0X210001 [ 0.0688 ] Boot Rom communication completed [ 1.0780 ] [ 1.0781 ] dump EEPROM info [ 1.0798 ] tegrarcm --oem platformdetails eeprom /home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/cvm.bin [ 1.0809 ] Applet version 00.01.0000 [ 1.0892 ] Saved platform info in /home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/cvm.bin [ 1.1716 ] [ 1.1732 ] tegrarcm --reboot recovery [ 1.1745 ] Applet version 00.01.0000 [ 1.2033 ] Board ID(3448) version(400) copying bctfile(/home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_lpddr4_204Mhz_P987.cfg)... done. copying bootloader(/home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying initrd(/home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/l4t_initrd.img)... done. populating kernel to rootfs... done. populating initrd to rootfs... done. populating /home/zhikai/Downloads/nvidia/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb to rootfs... done. Making Boot image... done. Existing sosfile(/home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused. copying tegraboot(/home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done. copying cpu_bootloader(/home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying bpffile(/home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done. Existing badpagefile(/home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/badpage.bin) reused. copying wb0boot(/home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done. Existing tosfile(/home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/tos-mon-only.img) reused. Existing eksfile(/home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/eks.img) reused. copying dtbfile(/home/zhikai/Downloads/nvidia/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)... done. Copying nv_boot_control.conf to rootfs Making system.img... populating rootfs from /home/zhikai/Downloads/nvidia/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/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused. copying tbcdtbfile(/home/zhikai/Downloads/nvidia/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)... done. copying cfgfile(/home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_emmc_p3448.xml) to flash.xml... done. copying flasher(/home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. Existing flashapp(/home/zhikai/Downloads/nvidia/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-0002-p3449-0000-b00.dtb --applet nvtboot_recovery.bin --cmd "flash; reboot" --cfg flash.xml --chip 0x21 --bins "EBT cboot.bin; DTB tegra210-p3448-0002-p3449-0000-b00.dtb" saving flash command in /home/zhikai/Downloads/nvidia/Linux_for_Tegra/bootloader/flashcmd.txt saving Windows flash command to /home/zhikai/Downloads/nvidia/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.0031 ] tegrasign --key None --getmode mode.txt [ 0.0047 ] Assuming zero filled SBK key [ 0.0095 ] [ 0.0097 ] Generating RCM messages [ 0.0133 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.0149 ] RCM 0 is saved as rcm_0.rcm [ 0.0209 ] RCM 1 is saved as rcm_1.rcm [ 0.0211 ] List of rcm files are saved in rcm_list.xml [ 0.0212 ] [ 0.0212 ] Signing RCM messages [ 0.0226 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0236 ] Assuming zero filled SBK key [ 0.0292 ] [ 0.0292 ] Copying signature to RCM mesages [ 0.0311 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.0332 ] [ 0.0333 ] Parsing partition layout [ 0.0365 ] tegraparser --pt flash.xml.tmp [ 0.0409 ] [ 0.0411 ] Creating list of images to be signed [ 0.0449 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 0.0645 ] [ 0.0646 ] Generating signatures [ 0.0662 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 0.0677 ] Assuming zero filled SBK key [ 0.1838 ] [ 0.1839 ] Generating br-bct [ 0.1872 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 0.1888 ] Copying Sdram info from 2 to 3 set [ 0.2045 ] [ 0.2046 ] Updating boot device parameters [ 0.2064 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 0.2083 ] Warning: No sdram params [ 0.2086 ] [ 0.2087 ] Updating bl info [ 0.2102 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 0.2133 ] [ 0.2134 ] Updating secondary storage information into bct [ 0.2146 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct [ 0.2165 ] [ 0.2165 ] Updating Odmdata [ 0.2181 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000 [ 0.2194 ] Warning: No sdram params [ 0.2197 ] [ 0.2197 ] Get Signed section of bct [ 0.2208 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 0.2222 ] [ 0.2222 ] Signing BCT [ 0.2302 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 0.2332 ] Assuming zero filled SBK key [ 0.2340 ] [ 0.2340 ] Updating BCT with signature [ 0.2355 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 0.2373 ] [ 0.2374 ] Copying signatures [ 0.2419 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml [ 0.2548 ] [ 0.2549 ] Updating BFS information on BCT [ 0.2565 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 0.2576 ] BFS: [ 0.2593 ] 0: [PT ] flash.xml.bin (size=4367/131072) [ 0.2604 ] 1: [TBC] nvtboot_cpu.bin.encrypt (size=65760/196608) [ 0.2612 ] 2: [RP1] kernel_tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=244352/1048576) [ 0.2621 ] 3: [EBT] cboot.bin.encrypt (size=485120/655360) [ 0.2632 ] 4: [WB0] warmboot.bin.encrypt (size=3952/131072) [ 0.2638 ] 5: [BPF] sc7entry-firmware.bin.encrypt (size=3376/262144) [ 0.2645 ] BFS0: 131072 @ 2560 SUM d492c85d over 2883584 bytes [ 0.2660 ] BFS: [ 0.2683 ] 0: [PT-1] flash.xml.bin (size=4367/131072) [ 0.2689 ] 1: [TBC-1] nvtboot_cpu.bin.encrypt (size=65760/196608) [ 0.2695 ] 2: [RP1-1] kernel_tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=244352/1048576) [ 0.2708 ] 3: [EBT-1] cboot.bin.encrypt (size=485120/655360) [ 0.2716 ] 4: [WB0-1] warmboot.bin.encrypt (size=3952/131072) [ 0.2721 ] 5: [BPF-1] sc7entry-firmware.bin.encrypt (size=3376/262144) [ 0.2728 ] 8: [VER_b] emmc_bootblob_ver.txt (size=102/32768) [ 0.2793 ] 9: [VER] emmc_bootblob_ver.txt (size=102/32768) [ 0.2798 ] BFS1: 131072 @ 8704 SUM d492c85d over 2981888 bytes [ 0.2804 ] KFS: [ 0.3231 ] 0: [DTB] kernel_tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=244352/1048576) [ 0.3240 ] 1: [TOS] tos-mon-only.img.encrypt (size=54208/6291456) [ 0.3246 ] 2: [EKS] eks.img (size=1028/81920) [ 0.3250 ] 3: [LNX] boot.img.encrypt (size=661504/67092480) [ 0.3278 ] KFS0: 1048576 @ 29376546 SUM f144db8d over 8083456 bytes [ 0.3340 ] KFS: [ 0.3877 ] 0: [DTB-1] kernel_tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt (size=244352/1048576) [ 0.3886 ] 1: [TOS-1] tos-mon-only.img.encrypt (size=54208/6291456) [ 0.3893 ] 2: [EKS-1] eks.img (size=1028/81920) [ 0.3897 ] 3: [LNX-1] boot.img.encrypt (size=661504/67092480) [ 0.3902 ] KFS1: 1048576 @ 29522082 SUM f144db8d over 8083456 bytes [ 0.3964 ] [ 0.3964 ] Boot Rom communication [ 0.4043 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml [ 0.4087 ] BootRom is not running [ 0.4089 ] [ 0.4090 ] Sending BCTs [ 0.4131 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct [ 0.4149 ] Applet is not running on device. Continue with Bootloader [ 0.4339 ] [ 0.4354 ] tegrahost --chip 0x21 --align cboot.bin [ 0.4381 ] [ 0.4396 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader [ 0.4445 ] [ 0.4467 ] tegrasign --key None --list cboot.bin_list.xml [ 0.4480 ] Assuming zero filled SBK key [ 0.4619 ] [ 0.4638 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk [ 0.4662 ] [ 0.4693 ] tegrahost --chip 0x21 --align tegra210-p3448-0002-p3449-0000-b00.dtb [ 0.4709 ] [ 0.4724 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0002-p3449-0000-b00.dtb tegra210-p3448-0002-p3449-0000-b00.dtb_blheader [ 0.4751 ] [ 0.4769 ] tegrasign --key None --list tegra210-p3448-0002-p3449-0000-b00.dtb_list.xml [ 0.4789 ] Assuming zero filled SBK key [ 0.4882 ] [ 0.4908 ] tegrahost --updatesigheader tegra210-p3448-0002-p3449-0000-b00.dtb_blheader.encrypt tegra210-p3448-0002-p3449-0000-b00.dtb_blheader.hash zerosbk [ 0.4927 ] [ 0.4932 ] Sending bootloader and pre-requisite binaries [ 0.4948 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt 0 [ 0.4960 ] Applet is not running on device. Continue with Bootloader [ 0.5137 ] [ 0.5153 ] tegrarcm --boot recovery [ 0.5166 ] Applet is not running on device. Continue with Bootloader [ 0.5538 ] [ 0.5539 ] Retrieving storage infomation [ 0.5554 ] tegrarcm --oem platformdetails storage storage_info.bin [ 0.5566 ] Applet is not running on device. Continue with Bootloader [ 0.5901 ] [ 0.5941 ] tegradevflash --oem platformdetails storage storage_info.bin [ 0.5959 ] Cboot is not running on device. [ 0.6229 ] Error: Return value 4 Command tegradevflash --oem platformdetails storage storage_info.bin Failed flashing t210ref.