Device not booting after successful flashing

Hi there,

We are trying to flash Jetson Xavier Nx device which is successful. But for one device, it can’t boot and hence no access to the device.

➜ Linux_for_Tegra sudo BOARDID=3668 BOARDSKU=0001 FUSELEVEL=fuselevel_production BOARDREV=H.0 ./flash.sh --no-flash --sign -u $XKEYS/rsa_priv.pem -v $XKEYS/SBK jetson-xavier-nx-devkit-emmc mmcblk0p1

Output Logs: ############################################################################### - Pastebin.com

And then ran following commands:

➜  Linux_for_Tegra cd bootloader 
➜  bootloader sudo bash ./flashcmd.txt
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.0081 ] Parsing partition layout
[   0.0115 ] tegraparser_v2 --pt secureflash.xml.tmp
[   0.0222 ] 
[   0.0228 ] Boot Rom communication
[   0.0292 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_1_signed.rcm --rcm rcm_2_signed.rcm
[   0.0314 ] BR_CID: 0xe802191164056082200000000b008100
[   0.0602 ] Boot Rom communication completed
[   1.1398 ] 
[   2.1454 ] tegrarcm_v2 --isapplet
[   2.1482 ] Applet version 01.00.0000
[   2.2221 ] 
[   2.2222 ] Sending BCTs
[   2.2247 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1.bct_sigheader.encrypt.signed --download bct_mem mem_rcm.bct_sigheader.encrypt.signed
[   2.2256 ] Applet version 01.00.0000
[   2.3142 ] Sending bct_bootrom
[   2.3143 ] [................................................] 100%
[   2.3156 ] Sending bct_mb1
[   2.3224 ] [................................................] 100%
[   2.3261 ] Sending bct_mem
[   2.3783 ] [................................................] 100%
[   2.4545 ] 
[   2.4547 ] Generating blob
[   2.4598 ] tegrahost_v2 --chip 0x19 --generateblob blob.xml blob.bin
[   2.4616 ] number of images in blob are 11
[   2.4629 ] blobsize is 6010424
[   2.4635 ] Added binary blob_nvtboot_recovery_cpu_t194.bin_sigheader.encrypt.signed of size 264064
[   2.4683 ] Added binary blob_nvtboot_recovery_t194.bin_sigheader.encrypt.signed of size 181152
[   2.4692 ] Added binary blob_preboot_c10_prod_cr_sigheader.bin.encrypt.signed of size 24016
[   2.4700 ] Added binary blob_mce_c10_prod_cr_sigheader.bin.encrypt.signed of size 143200
[   2.4708 ] Added binary blob_mts_c10_prod_cr_sigheader.bin.encrypt.signed of size 3430416
[   2.4716 ] Added binary blob_bpmp_t194_sigheader.bin.encrypt.signed of size 856352
[   2.4724 ] Added binary blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt.signed of size 391408
[   2.4733 ] Added binary blob_spe_t194_sigheader.bin.encrypt.signed of size 94960
[   2.4740 ] Added binary blob_tos-trusty_t194_sigheader.img.encrypt.signed of size 410560
[   2.4748 ] Added binary blob_eks_sigheader.img.encrypt.signed of size 5136
[   2.4754 ] Added binary blob_kernel_tegra194-p3668-all-p3509-0000-user-custom_sigheader.dtb.encrypt.signed of size 208976
[   2.4757 ] 
[   2.4757 ] Sending bootloader and pre-requisite binaries
[   2.4781 ] tegrarcm_v2 --download blob blob.bin
[   2.4789 ] Applet version 01.00.0000
[   2.5543 ] Sending blob
[   2.5548 ] [................................................] 100%
[   3.4208 ] 
[   3.4244 ] tegrarcm_v2 --boot recovery
[   3.4262 ] Applet version 01.00.0000
[   3.5021 ] 
[   4.5074 ] tegrarcm_v2 --isapplet
[   5.0638 ] 
[   5.0666 ] tegrarcm_v2 --ismb2
[   5.1409 ] 
[   5.1508 ] tegradevflash_v2 --iscpubl
[   5.1528 ] Bootloader version 01.00.0000
[   5.1819 ] Bootloader version 01.00.0000
[   5.1826 ] 
[   5.1827 ] Retrieving storage infomation
[   5.1864 ] tegrarcm_v2 --oem platformdetails storage storage_info.bin
[   5.1884 ] Applet is not running on device. Continue with Bootloader
[   5.2794 ] 
[   5.2819 ] tegradevflash_v2 --oem platformdetails storage storage_info.bin
[   5.2826 ] Bootloader version 01.00.0000
[   5.3304 ] Saved platform info in storage_info.bin
[   5.3317 ] 
[   5.3317 ] Flashing the device
[   5.3340 ] tegraparser_v2 --storageinfo storage_info.bin --generategpt --pt secureflash.xml.bin
[   5.3352 ] 
[   5.3375 ] tegradevflash_v2 --pt secureflash.xml.bin --create
[   5.3393 ] Bootloader version 01.00.0000
[   5.3696 ] Erasing spi: 0 ......... [Done]
[  57.3740 ] Writing partition secondary_gpt with gpt_secondary_3_0.bin
[  57.3762 ] [................................................] 100%

[  57.4897 ] Erasing sdmmc_user: 3 ......... [Done]
[  58.1252 ] Writing partition master_boot_record with mbr_1_3.bin
[  58.1266 ] [................................................] 100%
[  58.1285 ] Writing partition primary_gpt with gpt_primary_1_3.bin
[  58.1346 ] [................................................] 100%
[  58.1353 ] Writing partition secondary_gpt with gpt_secondary_1_3.bin
[  58.1549 ] [................................................] 100%

[  58.1759 ] Writing partition mb1 with mb1_t194_prod_sigheader.bin.encrypt.signed
[  58.1772 ] [................................................] 100%
[  58.1881 ] Writing partition mb1_b with mb1_t194_prod_sigheader.bin.encrypt.signed
[  59.7848 ] [................................................] 100%
[  59.7949 ] Writing partition spe-fw with spe_t194_sigheader.bin.encrypt.signed
[  61.3911 ] [................................................] 100%
[  61.3951 ] Writing partition spe-fw_b with spe_t194_sigheader.bin.encrypt.signed
[  62.0068 ] [................................................] 100%
[  62.0107 ] Writing partition mb2 with nvtboot_t194_sigheader.bin.encrypt.signed
[  62.6229 ] [................................................] 100%
[  62.6303 ] Writing partition mb2_b with nvtboot_t194_sigheader.bin.encrypt.signed
[  63.7854 ] [................................................] 100%
[  63.7933 ] Writing partition mts-preboot with preboot_c10_prod_cr_sigheader.bin.encrypt.signed
[  64.9493 ] [................................................] 100%
[  64.9507 ] Writing partition mts-preboot_b with preboot_c10_prod_cr_sigheader.bin.encrypt.signed
[  65.1128 ] [................................................] 100%
[  65.1139 ] Writing partition mts-mce with mce_c10_prod_cr_sigheader.bin.encrypt.signed
[  65.2770 ] [................................................] 100%
[  65.2820 ] Writing partition mts-mce_b with mce_c10_prod_cr_sigheader.bin.encrypt.signed
[  66.1966 ] [................................................] 100%
[  66.2020 ] Writing partition mts-proper with mts_c10_prod_cr_sigheader.bin.encrypt.signed
[  67.1157 ] [................................................] 100%
[  87.0569 ] Writing partition mts-proper_b with mts_c10_prod_cr_sigheader.bin.encrypt.signed
[  88.8615 ] [................................................] 100%
[ 108.8019 ] Writing partition sc7 with warmboot_t194_prod_sigheader.bin.encrypt.signed
[ 110.6081 ] [................................................] 100%
[ 110.6107 ] Writing partition sc7_b with warmboot_t194_prod_sigheader.bin.encrypt.signed
[ 111.0342 ] [................................................] 100%
[ 111.0364 ] Writing partition SMD with slot_metadata.bin
[ 111.4601 ] [................................................] 100%
[ 111.4615 ] Writing partition SMD_b with slot_metadata.bin
[ 111.4706 ] [................................................] 100%
[ 111.4719 ] Writing partition xusb-fw with xusb_sil_rel_fw_sigheader.encrypt.signed
[ 111.4806 ] [................................................] 100%
[ 111.4856 ] Writing partition xusb-fw_b with xusb_sil_rel_fw_sigheader.encrypt.signed
[ 112.3305 ] [................................................] 100%
[ 112.3354 ] Writing partition cpu-bootloader with cboot_t194_sigheader.bin.encrypt.signed
[ 113.1809 ] [................................................] 100%
[ 113.1990 ] Writing partition cpu-bootloader_b with cboot_t194_sigheader.bin.encrypt.signed
[ 116.1736 ] [................................................] 100%
[ 116.1918 ] Writing partition bootloader-dtb with kernel_tegra194-p3668-all-p3509-0000-user-custom_sigheader.dtb.encrypt.signed
[ 119.1665 ] [................................................] 100%
[ 119.1732 ] Writing partition bootloader-dtb_b with kernel_tegra194-p3668-all-p3509-0000-user-custom_sigheader.dtb.encrypt.signed
[ 120.5030 ] [................................................] 100%
[ 120.5096 ] Writing partition BMP with bmp.blob
[ 121.8377 ] [................................................] 100%
[ 121.8447 ] Writing partition BMP_b with bmp.blob
[ 122.7991 ] [................................................] 100%
[ 122.8055 ] Writing partition secure-os with tos-trusty_t194_sigheader.img.encrypt.signed
[ 123.7607 ] [................................................] 100%
[ 123.7761 ] Writing partition secure-os_b with tos-trusty_t194_sigheader.img.encrypt.signed
[ 126.3709 ] [................................................] 100%
[ 126.3862 ] Writing partition eks with eks_sigheader.img.encrypt.signed
[ 128.9801 ] [................................................] 100%
[ 128.9814 ] Writing partition eks_b with eks_sigheader.img.encrypt.signed
[ 129.0272 ] [................................................] 100%
[ 129.0283 ] Writing partition adsp-fw with adsp-fw_sigheader.bin.encrypt.signed
[ 129.0749 ] [................................................] 100%
[ 129.0783 ] Writing partition adsp-fw_b with adsp-fw_sigheader.bin.encrypt.signed
[ 129.6019 ] [................................................] 100%
[ 129.6051 ] Writing partition rce-fw with camera-rtcpu-rce_sigheader.img.encrypt.signed
[ 130.1286 ] [................................................] 100%
[ 130.1387 ] Writing partition rce-fw_b with camera-rtcpu-rce_sigheader.img.encrypt.signed
[ 131.8639 ] [................................................] 100%
[ 131.8738 ] Writing partition bpmp-fw with bpmp_t194_sigheader.bin.encrypt.signed
[ 133.5990 ] [................................................] 100%
[ 133.6331 ] Writing partition bpmp-fw_b with bpmp_t194_sigheader.bin.encrypt.signed
[ 139.0322 ] [................................................] 100%
[ 139.0665 ] Writing partition bpmp-fw-dtb with tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt.signed
[ 144.4650 ] [................................................] 100%
[ 144.4793 ] Writing partition bpmp-fw-dtb_b with tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt.signed
[ 146.9547 ] [................................................] 100%
[ 146.9685 ] Writing partition VER with qspi_bootblob_ver.txt
[ 149.4431 ] [................................................] 100%
[ 149.4445 ] Writing partition VER_b with qspi_bootblob_ver.txt
[ 149.4535 ] [................................................] 100%
[ 149.4552 ] Writing partition master_boot_record with mbr_1_3.bin
[ 149.4637 ] [................................................] 100%
[ 149.4649 ] Writing partition APP with system.img
[ 149.4712 ] [..                                              ] 005%
[ 149.4712 ] [................................................] 100%
[ 436.3648 ] Writing partition kernel with boot_sigheader.img.encrypt.signed
[ 436.4208 ] [................................................] 100%
[ 438.5850 ] Writing partition kernel_b with boot_sigheader.img.encrypt.signed
[ 438.6028 ] [................................................] 100%
[ 440.8361 ] Writing partition kernel-dtb with kernel_kernel_tegra194-p3668-all-p3509-0000-user-custom_sigheader.dtb.encrypt.signed
[ 440.8648 ] [................................................] 100%
[ 440.8706 ] Writing partition kernel-dtb_b with kernel_kernel_tegra194-p3668-all-p3509-0000-user-custom_sigheader.dtb.encrypt.signed
[ 440.8929 ] [................................................] 100%
[ 440.8987 ] Writing partition recovery with recovery_sigheader.img.encrypt.signed
[ 440.9216 ] [................................................] 100%
[ 443.5130 ] Writing partition recovery-dtb with kernel_tegra194-p3668-all-p3509-0000-user-custom.dtb_sigheader.rec.encrypt.signed
[ 443.5229 ] [................................................] 100%
[ 443.5295 ] Writing partition kernel-bootctrl with kernel_bootctrl.bin
[ 443.5519 ] [................................................] 100%
[ 443.5539 ] Writing partition kernel-bootctrl_b with kernel_bootctrl.bin
[ 443.5659 ] [................................................] 100%
[ 443.5785 ] 
[ 443.5834 ] tegradevflash_v2 --write BCT br_bct_BR.bct
[ 443.5862 ] Bootloader version 01.00.0000
[ 443.6143 ] Writing partition BCT with br_bct_BR.bct
[ 443.6157 ] [................................................] 100%
[ 443.7572 ] 
[ 443.7644 ] tegradevflash_v2 --write MB1_BCT mb1_cold_boot_bct_MB1.bct_sigheader.encrypt.signed
[ 443.7652 ] Bootloader version 01.00.0000
[ 443.7938 ] Writing partition MB1_BCT with mb1_cold_boot_bct_MB1.bct_sigheader.encrypt.signed
[ 443.7970 ] [................................................] 100%
[ 443.9985 ] 
[ 444.0036 ] tegradevflash_v2 --write MB1_BCT_b mb1_cold_boot_bct_MB1.bct_sigheader.encrypt.signed
[ 444.0066 ] Bootloader version 01.00.0000
[ 444.0384 ] Writing partition MB1_BCT_b with mb1_cold_boot_bct_MB1.bct_sigheader.encrypt.signed
[ 444.0414 ] [................................................] 100%
[ 444.2439 ] 
[ 444.2508 ] tegradevflash_v2 --write MEM_BCT mem_coldboot_sigheader.bct.signed
[ 444.2516 ] Bootloader version 01.00.0000
[ 444.2818 ] Writing partition MEM_BCT with mem_coldboot_sigheader.bct.signed
[ 444.2824 ] [................................................] 100%
[ 445.5442 ] 
[ 445.5489 ] tegradevflash_v2 --write MEM_BCT_b mem_coldboot_sigheader.bct.signed
[ 445.5516 ] Bootloader version 01.00.0000
[ 445.5828 ] Writing partition MEM_BCT_b with mem_coldboot_sigheader.bct.signed
[ 445.5834 ] [................................................] 100%
[ 446.8462 ] 
[ 446.8463 ] Flashing completed

[ 446.8465 ] Coldbooting the device
[ 446.8507 ] tegrarcm_v2 --ismb2
[ 446.9263 ] 
[ 446.9289 ] tegradevflash_v2 --reboot coldboot
[ 446.9298 ] Bootloader version 01.00.0000
[ 446.9739 ] 
➜  bootloader 
➜  bootloader hostname -I
192.168.1.103 
➜  bootloader ls /dev/ttyACM*
zsh: no matches found: /dev/ttyACM*

Hi AkterHossain,

Are you using the devkit or custom board for Xavier NX?
What’s your current Jetpack in use?

Why your flash command include --no-flash flag?
If you are using the devkit, could you simply use the following command to flash?

$sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1

Hi @KevinFFF,

We are using production board and 4.6.1 JetPack.

Using --no-flash we just wanted to build bootloader first and then ran

Linux_for_Tegra cd bootloader 
bootloader sudo bash ./flashcmd.txt

We also tried single command method and same output.

Do you mean only one module can’t be flash successfully? and other modules flash and boot as expected?

Please help to provide the flash log from host side and serial console log from the board during flash this module with the following single command.

$sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.