********************************************** * * * Step 1: Build the flashing environment * * * ********************************************** Create flash environment 0 /media/nina/Data/caeg/s_mfi_jetson-xavier-nx-devkit-emmc/bootloader /media/nina/Data/caeg/s_mfi_jetson-xavier-nx-devkit-emmc /media/nina/Data/caeg/s_mfi_jetson-xavier-nx-devkit-emmc Finish creating flash environment 0. **************************************************** * * * Step 2: Boot the device with flash initrd image * * * **************************************************** /media/nina/Data/caeg/s_mfi_jetson-xavier-nx-devkit-emmc/temp_initrdflash/bootloader0 /media/nina/Data/caeg/s_mfi_jetson-xavier-nx-devkit-emmc ./tegraflash.py --bl nvtboot_recovery_cpu_t194_sigheader.bin.encrypt --bct br_bct_BR.bct --securedev --bldtb tegra194-p3668-0001-p3509-0000.dtb --applet rcm_2_encrypt.rcm --applet_softfuse rcm_1_encrypt.rcm --cmd "rcmboot" --cfg secureflash.xml --chip 0x19 --mb1_bct mb1_bct_MB1_sigheader.bct.encrypt --mem_bct mem_rcm_sigheader.bct.encrypt --mb1_cold_boot_bct mb1_cold_boot_bct_MB1_sigheader.bct.encrypt --mem_bct_cold_boot mem_coldboot_sigheader.bct.encrypt --bins "mb2_bootloader nvtboot_recovery_t194_sigheader.bin.encrypt; mts_preboot preboot_c10_prod_cr_sigheader.bin.encrypt; mts_mce mce_c10_prod_cr_sigheader.bin.encrypt; mts_proper mts_c10_prod_cr_sigheader.bin.encrypt; bpmp_fw bpmp-2_t194_sigheader.bin.encrypt; bpmp_fw_dtb tegra194-a02-bpmp-p3668-a00_lz4_sigheader.dtb.encrypt; spe_fw spe_t194_sigheader.bin.encrypt; tos tos-optee_t194_sigheader.img.encrypt; eks eks_sigheader.img.encrypt; kernel boot0.img; kernel_dtb kernel_tegra194-p3668-0001-p3509-0000.dtb; bootloader_dtb tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt" --instance 1-3 Welcome to Tegra Flash version 1.0.0 Type ? or help for help and q or quit to exit Use ! to execute system commands Entering RCM boot [ 0.0000 ] rcm boot with presigned binaries [ 0.0000 ] Boot Rom communication [ 0.0025 ] tegrarcm_v2 --instance 1-3 --chip 0x19 0 --rcm rcm_1_encrypt.rcm --rcm rcm_2_encrypt.rcm [ 0.0030 ] BR_CID: 0x88021911641161c01000000010008200 [ 0.0085 ] Boot Rom communication completed [ 2.0338 ] tegrarcm_v2 --instance 1-3 --isapplet [ 2.0344 ] Applet version 01.00.0000 [ 2.0476 ] Sending BCTs [ 2.0500 ] tegrarcm_v2 --instance 1-3 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt [ 2.0509 ] Applet version 01.00.0000 [ 2.0634 ] Sending bct_bootrom [ 2.0635 ] [................................................] 100% [ 2.0647 ] Sending bct_mb1 [ 2.0696 ] [................................................] 100% [ 2.0730 ] Sending bct_mem [ 2.1217 ] [................................................] 100% [ 2.1577 ] Generating blob [ 2.1601 ] tegrahost_v2 --chip 0x19 --generateblob blob.xml blob.bin [ 2.1606 ] number of images in blob are 13 [ 2.1608 ] blobsize is 60359662 [ 2.1608 ] Added binary blob_nvtboot_recovery_cpu_t194_sigheader.bin.encrypt of size 232736 [ 2.1749 ] Added binary blob_nvtboot_recovery_t194_sigheader.bin.encrypt of size 206016 [ 2.1751 ] Added binary blob_preboot_c10_prod_cr_sigheader.bin.encrypt of size 24016 [ 2.1753 ] Added binary blob_mce_c10_prod_cr_sigheader.bin.encrypt of size 145184 [ 2.1755 ] Added binary blob_mts_c10_prod_cr_sigheader.bin.encrypt of size 3430416 [ 2.1766 ] Added binary blob_bpmp-2_t194_sigheader.bin.encrypt of size 1007392 [ 2.1773 ] Added binary blob_tegra194-a02-bpmp-p3668-a00_lz4_sigheader.dtb.encrypt of size 36176 [ 2.1775 ] Added binary blob_spe_t194_sigheader.bin.encrypt of size 95232 [ 2.1776 ] Added binary blob_tos-optee_t194_sigheader.img.encrypt of size 882112 [ 2.1778 ] Added binary blob_eks_sigheader.img.encrypt of size 5136 [ 2.1779 ] Added binary blob_boot0.img of size 53628928 [ 2.2012 ] Added binary blob_kernel_tegra194-p3668-0001-p3509-0000.dtb of size 325702 [ 2.2174 ] Added binary blob_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt of size 340400 [ 2.2474 ] Sending bootloader and pre-requisite binaries [ 2.2496 ] tegrarcm_v2 --instance 1-3 --download blob blob.bin [ 2.2502 ] Applet version 01.00.0000 [ 2.2620 ] Sending blob [ 2.2620 ] [ ] 001% [ 2.2620 ] [. ] 003% [ 2.2620 ] [.. ] 005% [ 2.2620 ] [... ] 006% [ 2.2620 ] [.... ] 008% [ 2.2620 ] [..... ] 010% [ 2.2620 ] [...... ] 012% [ 2.2620 ] [...... ] 013% [ 2.2620 ] [....... ] 015% [ 2.2620 ] [........ ] 017% [ 2.2620 ] [......... ] 019% [ 2.2620 ] [.......... ] 020% [ 2.2620 ] [........... ] 022% [ 2.2620 ] [............ ] 024% [ 2.2620 ] [............. ] 026% [ 2.2620 ] [............. ] 027% [ 2.2620 ] [.............. ] 029% [ 2.2620 ] [............... ] 031% [ 2.2620 ] [................ ] 033% [ 2.2620 ] [................. ] 034% [ 2.2620 ] [.................. ] 036% [ 2.2620 ] [................... ] 038% [ 2.2620 ] [................... ] 039% [ 2.2620 ] [.................... ] 041% [ 2.2620 ] [..................... ] 043% [ 2.2620 ] [...................... ] 045% [ 2.2620 ] [....................... ] 046% [ 2.2620 ] [........................ ] 048% [ 2.2620 ] [......................... ] 050% [ 2.2620 ] [.......................... ] 052% [ 2.2620 ] [.......................... ] 053% [ 2.2620 ] [........................... ] 055% [ 2.2620 ] [............................ ] 057% [ 2.2620 ] [............................. ] 059% [ 2.2620 ] [.............................. ] 060% [ 2.2620 ] [............................... ] 062% [ 2.2620 ] [................................ ] 064% [ 2.2620 ] [................................. ] 066% [ 2.2620 ] [................................. ] 067% [ 2.2620 ] [.................................. ] 069% [ 2.2620 ] [................................... ] 071% [ 2.2620 ] [.................................... ] 072% [ 2.2620 ] [..................................... ] 074% [ 2.2620 ] [...................................... ] 076% [ 2.2620 ] [....................................... ] 078% [ 2.2620 ] [....................................... ] 079% [ 2.2620 ] [........................................ ] 081% [ 2.2620 ] [......................................... ] 083% [ 2.2620 ] [.......................................... ] 085% [ 2.2620 ] [........................................... ] 086% [ 2.2620 ] [............................................ ] 088% [ 2.2620 ] [............................................. ] 090% [ 2.2620 ] [.............................................. ] 092% [ 2.2620 ] [.............................................. ] 093% [ 2.2620 ] [............................................... ] 095% [ 2.2620 ] [................................................] 097% [ 2.2620 ] [................................................] 099% [ 2.2620 ] [................................................] 100% [ 10.6344 ] tegrarcm_v2 --instance 1-3 --boot rcm [ 10.6358 ] Applet version 01.00.0000 [ 10.6533 ] RCM-boot started /media/nina/Data/caeg/s_mfi_jetson-xavier-nx-devkit-emmc *************************************** * * * Step 3: Start the flashing process * * * *************************************** Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for target to boot-up... Waiting for device to expose ssh ......RTNETLINK answers: File exists RTNETLINK answers: File exists ...RTNETLINK answers: File exists RTNETLINK answers: File exists Run command: if [ -f /qspi/l4t_flash_from_kernel.sh ]; then USER=root /qspi/l4t_flash_from_kernel.sh --no-reboot --qspi-only ; fi on root@fe80::1%usb0 4194304 [ 0]: l4t_flash_from_kernel: Starting to create gpt for external device Active index file is /media/nina/Data/caeg/s_mfi_jetson-xavier-nx-devkit-emmc/tools/kernel_flash/images/external/flash.idx Number of lines is 13 max_index=12 writing item=1, 9:0:primary_gpt, 512, 19968, gpt_primary_9_0.bin, 16896, fixed--0, 3c2f759193a91c39966679a5f43fabeef7353ae6 Error: Error opening /dev/sde: No medium found SSH ready Error flashing non-qspi storage Cleaning up...