$ sudo ./flash.sh jetson-nano-qspi-sd mmcblk0p1 ############################################################################### # L4T BSP Information: # R32 , REVISION: 7.3 ############################################################################### # Target Board Information: # Name: jetson-nano-qspi-sd, Board Family: t210ref, SoC: Tegra 210, # OpMode: production, Boot Authentication: , # Disk encryption: disabled , ############################################################################### ./tegraflash.py --chip 0x21 --applet "/home/dipak/jetson_nano/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.0018 ] Generating RCM messages [ 0.0040 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/dipak/jetson_nano/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0 [ 0.0050 ] RCM 0 is saved as rcm_0.rcm [ 0.0056 ] RCM 1 is saved as rcm_1.rcm [ 0.0056 ] List of rcm files are saved in rcm_list.xml [ 0.0056 ] [ 0.0056 ] Signing RCM messages [ 0.0094 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0104 ] Assuming zero filled SBK key [ 0.0166 ] [ 0.0167 ] Copying signature to RCM mesages [ 0.0193 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.0213 ] [ 0.0214 ] Boot Rom communication [ 0.0255 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid [ 0.0271 ] RCM version 0X210001 [ 0.1380 ] Boot Rom communication completed [ 1.1469 ] [ 1.1471 ] dump EEPROM info [ 1.1498 ] tegrarcm --oem platformdetails eeprom /home/dipak/jetson_nano/Linux_for_Tegra/bootloader/cvm.bin [ 1.1505 ] Applet version 00.01.0000 [ 1.1807 ] Saved platform info in /home/dipak/jetson_nano/Linux_for_Tegra/bootloader/cvm.bin [ 1.2583 ] [ 1.2612 ] tegrarcm --reboot recovery [ 1.2621 ] Applet version 00.01.0000 [ 1.2929 ] Board ID(3448) version(400) copying bctfile(/home/dipak/jetson_nano/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_lpddr4_204Mhz_P987.cfg)... done. copying bootloader(/home/dipak/jetson_nano/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying initrd(/home/dipak/jetson_nano/Linux_for_Tegra/bootloader/l4t_initrd.img)... done. Making Boot image... done. Existing sosfile(/home/dipak/jetson_nano/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused. copying tegraboot(/home/dipak/jetson_nano/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done. copying cpu_bootloader(/home/dipak/jetson_nano/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying bpffile(/home/dipak/jetson_nano/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done. copying wb0boot(/home/dipak/jetson_nano/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done. Existing tosfile(/home/dipak/jetson_nano/Linux_for_Tegra/bootloader/tos-mon-only.img) reused. Existing eksfile(/home/dipak/jetson_nano/Linux_for_Tegra/bootloader/eks.img) reused. copying dtbfile(/home/dipak/jetson_nano/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0003-p3542-0000.dtb)... done. Copying nv_boot_control.conf to rootfs populating kernel to rootfs... done. populating initrd to rootfs... done. populating kernel_tegra210-p3448-0003-p3542-0000.dtb to rootfs... done. Making system.img... populating rootfs from /home/dipak/jetson_nano/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/dipak/jetson_nano/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused. copying tbcdtbfile(/home/dipak/jetson_nano/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0003-p3542-0000.dtb)... done. copying cfgfile(/home/dipak/jetson_nano/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_max-spi_sd_p3448.xml) to flash.xml... done. copying flasher(/home/dipak/jetson_nano/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. Existing flashapp(/home/dipak/jetson_nano/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-0003-p3542-0000.dtb --applet nvtboot_recovery.bin --cmd "flash; reboot" --cfg flash.xml --chip 0x21 --bins "EBT cboot.bin; DTB tegra210-p3448-0003-p3542-0000.dtb" saving flash command in /home/dipak/jetson_nano/Linux_for_Tegra/bootloader/flashcmd.txt saving Windows flash command to /home/dipak/jetson_nano/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, 4,5385e-05 s, 22,0 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, 3,0076e-05 s, 33,2 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,3534e-05 s, 170 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.0050 ] tegrasign --getmode mode.txt --key None [ 0.0065 ] Assuming zero filled SBK key [ 0.0086 ] [ 0.0087 ] Generating RCM messages [ 0.0141 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.0156 ] RCM 0 is saved as rcm_0.rcm [ 0.0177 ] RCM 1 is saved as rcm_1.rcm [ 0.0178 ] List of rcm files are saved in rcm_list.xml [ 0.0178 ] [ 0.0179 ] Signing RCM messages [ 0.0208 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0217 ] Assuming zero filled SBK key [ 0.0267 ] [ 0.0268 ] Copying signature to RCM mesages [ 0.0283 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.0300 ] [ 0.0301 ] Parsing partition layout [ 0.0320 ] tegraparser --pt flash.xml.tmp [ 0.0331 ] [ 0.0332 ] Using default ramcode: 0 [ 0.0332 ] Disable BPMP dtb trim, using default dtb [ 0.0332 ] [ 0.0333 ] Creating list of images to be signed [ 0.0346 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 0.0438 ] [ 0.0439 ] Generating signatures [ 0.0465 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 0.0472 ] Assuming zero filled SBK key [ 0.0946 ] [ 0.0947 ] Generating br-bct [ 0.0978 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 0.1031 ] [ 0.1032 ] Updating boot device parameters [ 0.1046 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 0.1056 ] Warning: No sdram params [ 0.1058 ] [ 0.1058 ] Updating bl info [ 0.1079 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 0.1094 ] [ 0.1094 ] Updating secondary storage information into bct [ 0.1129 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct [ 0.1148 ] [ 0.1149 ] Updating Odmdata [ 0.1533 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000 [ 0.1550 ] Warning: No sdram params [ 0.1554 ] [ 0.1555 ] Get Signed section of bct [ 0.1576 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 0.1587 ] [ 0.1588 ] Signing BCT [ 0.1853 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 0.1870 ] Assuming zero filled SBK key [ 0.1874 ] [ 0.1874 ] Updating BCT with signature [ 0.1902 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 0.1919 ] [ 0.1920 ] Copying signatures [ 0.1933 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml [ 0.1974 ] [ 0.1974 ] Updating BFS information on BCT [ 0.2009 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 0.2024 ] [ 0.2024 ] Boot Rom communication [ 0.2048 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml [ 0.2054 ] BootRom is not running [ 0.2337 ] [ 0.2337 ] Sending BCTs [ 0.2354 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct [ 0.2373 ] Cannot open usb device.Check if device is in recovery [ 0.2815 ] Error: Return value 8 Command tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct Failed flashing t210ref.