nnlab-pc3@nnlabpc3:~/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra$ sudo BOARDID=3448 FAB=100 ./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(100) 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. 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-a01.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-a01.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-a01.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-a01.dtb --applet nvtboot_recovery.bin --cmd "flash; reboot" --cfg flash.xml --chip 0x21 --skipuid --bins "EBT cboot.bin; DTB tegra210-p3448-0000-p3449-0000-a01.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, 2.3625e-05 s, 42.3 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, 2.1485e-05 s, 46.5 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, 2.1225e-05 s, 188 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.0023 ] tegrasign --getmode mode.txt --key None [ 0.0029 ] Assuming zero filled SBK key [ 0.0061 ] [ 0.0062 ] Generating RCM messages [ 0.0089 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.0095 ] RCM 0 is saved as rcm_0.rcm [ 0.0144 ] RCM 1 is saved as rcm_1.rcm [ 0.0147 ] List of rcm files are saved in rcm_list.xml [ 0.0147 ] [ 0.0148 ] Signing RCM messages [ 0.0186 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0209 ] Assuming zero filled SBK key [ 0.0261 ] [ 0.0262 ] Copying signature to RCM mesages [ 0.0278 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.0286 ] [ 0.0286 ] Parsing partition layout [ 0.0303 ] tegraparser --pt flash.xml.tmp [ 0.0310 ] [ 0.0311 ] Using default ramcode: 0 [ 0.0311 ] Disable BPMP dtb trim, using default dtb [ 0.0311 ] [ 0.0311 ] Creating list of images to be signed [ 0.0328 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 0.0365 ] [ 0.0365 ] Generating signatures [ 0.0381 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 0.0386 ] Assuming zero filled SBK key [ 0.0830 ] [ 0.0830 ] Generating br-bct [ 0.0859 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 0.0922 ] [ 0.0922 ] Updating boot device parameters [ 0.0940 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 0.0944 ] Warning: No sdram params [ 0.0945 ] [ 0.0945 ] Updating bl info [ 0.0962 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 0.0970 ] [ 0.0970 ] Updating secondary storage information into bct [ 0.0987 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct [ 0.0993 ] [ 0.0993 ] Updating Odmdata [ 0.1009 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000 [ 0.1014 ] Warning: No sdram params [ 0.1015 ] [ 0.1015 ] Get Signed section of bct [ 0.1031 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 0.1036 ] [ 0.1036 ] Signing BCT [ 0.1067 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 0.1072 ] Assuming zero filled SBK key [ 0.1075 ] [ 0.1075 ] Updating BCT with signature [ 0.1091 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 0.1097 ] [ 0.1097 ] Copying signatures [ 0.1114 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml [ 0.1153 ] [ 0.1153 ] Updating BFS information on BCT [ 0.1170 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 0.1176 ] [ 0.1176 ] Boot Rom communication [ 0.1192 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid [ 0.1197 ] RCM version 0X210001 [ 0.1633 ] Boot Rom communication completed [ 1.1710 ] [ 1.1711 ] Sending BCTs [ 1.1750 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct [ 1.1773 ] Applet version 00.01.0000 [ 1.1965 ] Sending bct [ 1.1966 ] [................................................] 100% [ 1.2819 ] [ 1.2850 ] tegrahost --chip 0x21 --align cboot.bin [ 1.2870 ] [ 1.2905 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader [ 1.2966 ] [ 1.3012 ] tegrasign --key None --list cboot.bin_list.xml [ 1.3034 ] Assuming zero filled SBK key [ 1.3160 ] [ 1.3178 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk [ 1.3187 ] [ 1.3207 ] tegrahost --chip 0x21 --align tegra210-p3448-0000-p3449-0000-a01.dtb [ 1.3213 ] [ 1.3229 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0000-p3449-0000-a01.dtb tegra210-p3448-0000-p3449-0000-a01.dtb_blheader [ 1.3239 ] [ 1.3256 ] tegrasign --key None --list tegra210-p3448-0000-p3449-0000-a01.dtb_list.xml [ 1.3261 ] Assuming zero filled SBK key [ 1.3303 ] [ 1.3322 ] tegrahost --updatesigheader tegra210-p3448-0000-p3449-0000-a01.dtb_blheader.encrypt tegra210-p3448-0000-p3449-0000-a01.dtb_blheader.hash zerosbk [ 1.3329 ] [ 1.3331 ] Sending bootloader and pre-requisite binaries [ 1.3347 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0000-p3449-0000-a01.dtb.encrypt 0 [ 1.3352 ] Applet version 00.01.0000 [ 1.3524 ] Sending ebt [ 1.4170 ] Error: Return value 1 Command tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0000-p3449-0000-a01.dtb.encrypt 0 Failed flashing t210ref.