ophir@ophir-VirtualBox:~$ lsusb Bus 001 Device 003: ID 0955:7f21 NVidia Corp. Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub ophir@ophir-VirtualBox:~$ cd nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/ ophir@ophir-VirtualBox:~/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra$ sudo ./flash.sh jetson-nano-devkit mmcblk0p1 [sudo] password for ophir: ############################################################################### # 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(“000”) copying bctfile(/home/ophir/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/ophir/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying initrd(/home/ophir/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/l4t_initrd.img)... done. Making Boot image... done. copying bcffile(/home/ophir/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cfg/board_config_p3448.xml)... done. Existing sosfile(/home/ophir/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused. copying tegraboot(/home/ophir/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done. copying cpu_bootloader(/home/ophir/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying bpffile(/home/ophir/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done. copying wb0boot(/home/ophir/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done. Existing tosfile(/home/ophir/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/tos-mon-only.img) reused. Existing eksfile(/home/ophir/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/eks.img) reused. copying dtbfile(/home/ophir/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.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-b00.dtb to rootfs... done. Making system.img... populating rootfs from /home/ophir/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/ophir/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused. copying tbcdtbfile(/home/ophir/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.dtb)... done. copying cfgfile(/home/ophir/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/ophir/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. Existing flashapp(/home/ophir/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-b00.dtb --applet nvtboot_recovery.bin --boardconfig board_config_p3448.xml --cmd "flash; reboot" --cfg flash.xml --chip 0x21 --skipuid --bins "EBT cboot.bin; DTB tegra210-p3448-0000-p3449-0000-b00.dtb" saving flash command in /home/ophir/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/bootloader/flashcmd.txt saving Windows flash command to /home/ophir/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, 0.00290928 s, 0.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, 0.000126479 s, 7.9 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, 0.000222357 s, 18.0 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.0135 ] tegrasign --getmode mode.txt --key None [ 0.0155 ] Assuming zero filled SBK key [ 0.0283 ] [ 0.0285 ] Generating RCM messages [ 0.0368 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.0388 ] RCM 0 is saved as rcm_0.rcm [ 0.0604 ] RCM 1 is saved as rcm_1.rcm [ 0.0612 ] List of rcm files are saved in rcm_list.xml [ 0.0634 ] [ 0.0635 ] Signing RCM messages [ 0.0658 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0673 ] Assuming zero filled SBK key [ 0.0733 ] [ 0.0734 ] Copying signature to RCM mesages [ 0.0767 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.0832 ] [ 0.0833 ] Parsing partition layout [ 0.0872 ] tegraparser --pt flash.xml.tmp [ 0.0896 ] [ 0.0898 ] Using default ramcode: 0 [ 0.0898 ] Disable BPMP dtb trim, using default dtb [ 0.0898 ] [ 0.0899 ] Creating list of images to be signed [ 0.0914 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 0.1160 ] [ 0.1162 ] Generating signatures [ 0.1184 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 0.1206 ] Assuming zero filled SBK key [ 0.1968 ] [ 0.1969 ] Generating br-bct [ 0.2062 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 0.2382 ] [ 0.2384 ] Updating boot device parameters [ 0.2421 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 0.2444 ] Warning: No sdram params [ 0.2454 ] [ 0.2454 ] Updating bl info [ 0.2469 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 0.2515 ] [ 0.2517 ] Updating secondary storage information into bct [ 0.2536 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct [ 0.2563 ] [ 0.2564 ] Updating board information from board config into bct [ 0.2583 ] tegraparser --boardconfig board_config_p3448.xml --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct [ 0.2622 ] [ 0.2623 ] Updating Odmdata [ 0.2641 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000 [ 0.2661 ] Warning: No sdram params [ 0.2670 ] [ 0.2670 ] Get Signed section of bct [ 0.2688 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 0.2704 ] [ 0.2705 ] Signing BCT [ 0.2740 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 0.2754 ] Assuming zero filled SBK key [ 0.2760 ] [ 0.2760 ] Updating BCT with signature [ 0.2778 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 0.2803 ] [ 0.2805 ] Copying signatures [ 0.2821 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml [ 0.2956 ] [ 0.2957 ] Updating BFS information on BCT [ 0.2977 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin [ 0.3006 ] [ 0.3008 ] Boot Rom communication [ 0.3038 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid [ 0.3057 ] RCM version 0X210001 [ 0.3633 ] Boot Rom communication completed [ 1.4292 ] [ 1.4293 ] Sending BCTs [ 1.4329 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct [ 1.4351 ] Applet version 00.01.0000 [ 1.6041 ] Sending bct [ 1.6046 ] [................................................] 100% [ 1.9528 ] [ 1.9561 ] tegrahost --chip 0x21 --align cboot.bin [ 1.9579 ] [ 1.9593 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader [ 1.9633 ] [ 1.9653 ] tegrasign --key None --list cboot.bin_list.xml [ 1.9665 ] Assuming zero filled SBK key [ 1.9795 ] [ 1.9819 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk [ 1.9878 ] [ 1.9926 ] tegrahost --chip 0x21 --align tegra210-p3448-0000-p3449-0000-b00.dtb [ 1.9939 ] [ 1.9971 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0000-p3449-0000-b00.dtb tegra210-p3448-0000-p3449-0000-b00.dtb_blheader [ 2.0007 ] [ 2.0025 ] tegrasign --key None --list tegra210-p3448-0000-p3449-0000-b00.dtb_list.xml [ 2.0038 ] Assuming zero filled SBK key [ 2.0103 ] [ 2.0124 ] tegrahost --updatesigheader tegra210-p3448-0000-p3449-0000-b00.dtb_blheader.encrypt tegra210-p3448-0000-p3449-0000-b00.dtb_blheader.hash zerosbk [ 2.0173 ] [ 2.0177 ] Sending bootloader and pre-requisite binaries [ 2.0217 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0000-p3449-0000-b00.dtb.encrypt 0 [ 2.0232 ] Applet version 00.01.0000 [ 2.2088 ] Sending ebt [ 2.2089 ] [................................................] 100% [ 2.5383 ] Sending rp1 [ 2.6026 ] [................................................] 100% [ 2.8780 ] [ 2.8796 ] tegrarcm --boot recovery [ 2.8812 ] Applet version 00.01.0000 [ 3.1776 ] [ 3.1778 ] Retrieving storage infomation [ 3.1808 ] tegrarcm --oem platformdetails storage storage_info.bin [ 3.1825 ] Applet is not running on device. Continue with Bootloader [ 4.1384 ] [ 4.1455 ] tegradevflash --oem platformdetails storage storage_info.bin [ 4.1472 ] Cboot version 00.01.0000 [ 4.3191 ] Saved platform info in storage_info.bin [ 4.4928 ] [ 4.4929 ] Flashing the device [ 4.4944 ] tegradevflash --pt flash.xml.bin --storageinfo storage_info.bin --create [ 4.4957 ] Cboot version 00.01.0000 [ 4.6545 ] Writing partition GPT with gpt.bin [ 4.6551 ] [................................................] 100% [ 4.7553 ] Writing partition PT with crc-flash.xml.bin [ 17.2294 ] [................................................] 100% [ 17.3342 ] Writing partition NVC with nvtboot.bin.encrypt [ 21.3375 ] [................................................] 100% [ 21.4811 ] Writing partition NVC_R with nvtboot.bin.encrypt [ 31.5861 ] [................................................] 100% [ 31.7286 ] Writing partition TBC with nvtboot_cpu.bin.encrypt [ 41.8336 ] [................................................] 100% [ 41.9557 ] Writing partition RP1 with kernel_tegra210-p3448-0000-p3449-0000-b00.dtb.encrypt [ 46.2117 ] [................................................] 100% [ 46.3820 ] Writing partition EBT with cboot.bin.encrypt [ 60.9055 ] [................................................] 100% [ 61.1317 ] Writing partition WB0 with warmboot.bin.encrypt [ 90.2853 ] [................................................] 100% [ 90.3976 ] Writing partition BPF with sc7entry-firmware.bin.encrypt [ 90.7417 ] [................................................] 100% [ 90.8430 ] Writing partition TOS with tos-mon-only.img.encrypt [ 91.1949 ] [................................................] 100% [ 91.3146 ] Writing partition DTB with kernel_tegra210-p3448-0000-p3449-0000-b00.dtb.encrypt [ 94.8309 ] [................................................] 100% [ 94.9916 ] Writing partition LNX with boot.img.encrypt [ 109.4989 ] [................................................] 100% [ 109.7897 ] Warning: EKS partition magic header mismatch! [ 149.6972 ] Writing partition EKS with eks.img [ 149.6991 ] [................................................] 100% [ 149.7943 ] Writing partition BMP with bmp.blob [ 150.1422 ] [................................................] 100% [ 150.2733 ] Writing partition RP4 with rp4.blob [ 159.4043 ] [................................................] 100% [ 159.5383 ] Writing partition VER_b with qspi_bootblob_ver.txt [ 167.4611 ] [................................................] 100% [ 167.5711 ] Writing partition VER with qspi_bootblob_ver.txt [ 167.9276 ] [................................................] 100% [ 168.0447 ] Writing partition APP with system.img [ 7007.5419 ] ........ ] 017% Error: Return value 3 Command tegradevflash --pt flash.xml.bin --storageinfo storage_info.bin --create Failed flashing t210ref.