Jetson Xavier NX can not flash after falling down

Hi, everyone

Now my NX can not boot, it would enter recovery mode when I boot, though I don’t pull the recovery pin down.

And when I reflashed the whole board, it shows


[   5.2461 ] tegrahost_v2 --chip 0x19 --align mem_rcm_aligned.bct
[   5.2500 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm_aligned.bct zerosbk
[   5.2510 ] adding BCH for mem_rcm_aligned.bct
[   5.2570 ] tegrasign_v3.py --key None --list mem_rcm_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.2573 ] Assuming zero filled SBK key
[   5.2605 ] Warning: pub_key.key is not found
[   5.2615 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_aligned_sigheader.bct.encrypt mem_rcm_aligned_sigheader.bct.hash zerosbk
[   5.2636 ] Sending BCTs
[   5.2658 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
[   5.2668 ] Applet version 01.00.0000
[   5.7011 ] Sending bct_bootrom
[   5.7019 ] [................................................] 100%
[   5.7039 ] Sending bct_mb1
[   5.7068 ] [................................................] 100%
[   5.7121 ] Sending bct_mem
[   5.7579 ] [................................................] 100%
Error: Return value 8
Command tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
[   5.8387 ] Generating RCM messages
[   5.8456 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   5.8473 ] Header already present for mb1_t194_prod.bin
[   5.8567 ] tegrasign_v3.py --key None --getmode mode.txt
[   5.8572 ] Assuming zero filled SBK key
[   5.8605 ] tegrasign_v3.py --file mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   5.8608 ] Assuming zero filled SBK key
[   5.8644 ] Warning: pub_key.key is not found
[   5.8661 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   5.8743 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   5.8786 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   5.8798 ] FwIndex: 1, MinRatchetLevel: 0
[   5.8802 ] FwIndex: 2, MinRatchetLevel: 0
[   5.8802 ] FwIndex: 3, MinRatchetLevel: 0
[   5.8802 ] FwIndex: 4, MinRatchetLevel: 0
[   5.8802 ] FwIndex: 5, MinRatchetLevel: 0
[   5.8802 ] FwIndex: 6, MinRatchetLevel: 0
[   5.8802 ] FwIndex: 7, MinRatchetLevel: 0
[   5.8802 ] FwIndex: 11, MinRatchetLevel: 0
[   5.8803 ] FwIndex: 12, MinRatchetLevel: 0
[   5.8803 ] FwIndex: 13, MinRatchetLevel: 0
[   5.8803 ] FwIndex: 14, MinRatchetLevel: 0
[   5.8803 ] FwIndex: 15, MinRatchetLevel: 0
[   5.8803 ] FwIndex: 16, MinRatchetLevel: 0
[   5.8803 ] FwIndex: 17, MinRatchetLevel: 0
[   5.8803 ] FwIndex: 18, MinRatchetLevel: 0
[   5.8803 ] FwIndex: 19, MinRatchetLevel: 0
[   5.8803 ] FwIndex: 30, MinRatchetLevel: 0
[   5.8803 ] FwIndex: 31, MinRatchetLevel: 0
[   5.8803 ] 
[   5.8830 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   5.8844 ] RCM 0 is saved as rcm_0.rcm
[   5.8877 ] RCM 1 is saved as rcm_1.rcm
[   5.8879 ] RCM 2 is saved as rcm_2.rcm
[   5.8881 ] List of rcm files are saved in rcm_list.xml
[   5.8881 ] 
[   5.8881 ] Signing RCM messages
[   5.8936 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   5.8939 ] Assuming zero filled SBK key
[   5.9010 ] Warning: pub_key.key is not found
[   5.8992 ] Copying signature to RCM mesages
[   5.9016 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   5.9035 ] Boot Rom communication
[   5.9066 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[   5.9084 ] BootRom is not running
[   7.3192 ] tegrarcm_v2 --isapplet

Could some people give me some suggestions?

Hi,

Please dump the UART log during flashing:

Are you using a custom board or a DevKit?
Did you flash with the correct config file?

Hi @DaveYYY

The serial UART output garbled characters. like this:

Ể1��������ʫ��Z��b�k�fA�kK�N�H�[��7i��WŴ,+� k��ҠV�� j2��Y.��[��Ү&S��I>j��B��dKW���KҎ�1������r0KW���Sړӓ E
�1&I���J�������r�W�� �׍ճn�[��7I�9Wy u�uWJ�� ��Ku�YW�c��+� [��ѥ'*�W�Ů�W�1U�S�Y*��r�.j�d]�� �(z5S*��� >"����
���[0������� 

emphasized text*Are you using a custom board or a DevKit?
DevKit

Did you flash with the correct config file?
I used the config file which flashed successfully before

Can you please share the full flashing log instead of a cropped one?

Did you enable secure boot or things like that on the device?

OK, the whole log

###############################################################################
# L4T BSP Information:
# R35 , REVISION: 3.1
# User release: 0.0
###############################################################################
# Target Board Information:
# Name: jetson-xavier-nx-devkit-emmc, Board Family: t186ref, SoC: Tegra 194, 
# OpMode: production, Boot Authentication: NS, 
# Disk encryption: disabled ,
###############################################################################
copying soft_fuses(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
./tegraflash.py --chip 0x19 --applet "/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/mb1_t194_prod.bin" --skipuid --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg --bins "mb2_applet nvtboot_applet_t194.bin" --cmd "dump eeprom boardinfo cvm.bin;reboot recovery" 
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.0172 ] Generating RCM messages
[   0.0184 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk
[   0.0192 ] Header already present for /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/mb1_t194_prod.bin
[   0.0261 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0265 ] Assuming zero filled SBK key
[   0.0287 ] tegrasign_v3.py --file /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0290 ] Assuming zero filled SBK key
[   0.0324 ] Warning: pub_key.key is not found
[   0.0336 ] tegrahost_v2 --chip 0x19 0 --updatesigheader /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.hash zerosbk
[   0.0400 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[   0.0435 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0
[   0.0450 ] RCM 0 is saved as rcm_0.rcm
[   0.0484 ] RCM 1 is saved as rcm_1.rcm
[   0.0484 ] RCM 2 is saved as rcm_2.rcm
[   0.0484 ] List of rcm files are saved in rcm_list.xml
[   0.0484 ] 
[   0.0485 ] Signing RCM messages
[   0.0527 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.0530 ] Assuming zero filled SBK key
[   0.0592 ] Warning: pub_key.key is not found
[   0.0576 ] Copying signature to RCM mesages
[   0.0598 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0614 ] Boot Rom communication
[   0.0625 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[   0.0635 ] RCM version 0X190001
[   0.2699 ] Boot Rom communication completed
[   2.2909 ] tegrarcm_v2 --isapplet
[   2.2940 ] Applet version 01.00.0000
[   2.7241 ] tegrarcm_v2 --ismb2
[   3.1724 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194_aligned.bin
[   3.1807 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194_aligned.bin zerosbk
[   3.1844 ] adding BCH for nvtboot_applet_t194_aligned.bin
[   3.2062 ] tegrasign_v3.py --key None --list nvtboot_applet_t194_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   3.2072 ] Assuming zero filled SBK key
[   3.2155 ] Warning: pub_key.key is not found
[   3.2200 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_aligned_sigheader.bin.encrypt nvtboot_applet_t194_aligned_sigheader.bin.hash zerosbk
[   3.2353 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[   3.2376 ] Applet version 01.00.0000
[   3.6636 ] Sending mb2
[   3.6636 ] [................................................] 100%
[   3.6823 ] tegrarcm_v2 --boot recovery
[   3.6841 ] Applet version 01.00.0000
[   5.1200 ] tegrarcm_v2 --isapplet
[   5.5475 ] tegrarcm_v2 --ismb2
[   5.5506 ] MB2 Applet version 01.00.0000
[   5.9968 ] tegrarcm_v2 --ismb2
[   5.9998 ] MB2 Applet version 01.00.0000
[   6.4292 ] Retrieving board information
[   6.4342 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[   6.4376 ] MB2 Applet version 01.00.0000
[   6.8709 ] Saved platform info in chip_info.bin
[   6.8759 ] Chip minor revision: 2
[   6.8760 ] Bootrom revision: 0xf
[   6.8760 ] Ram code: 0x1
[   6.8760 ] Chip sku: 0xde
[   6.8760 ] Chip Sample: non es
[   6.8761 ] 
[   6.8770 ] Retrieving EEPROM data
[   6.8772 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/cvm.bin
[   6.8811 ] MB2 Applet version 01.00.0000
[   7.3060 ] Saved platform info in /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/cvm.bin
[   7.3461 ] Rebooting to recovery mode
[   7.3495 ] tegrarcm_v2 --ismb2
[   7.3515 ] MB2 Applet version 01.00.0000
[   7.7718 ] Rebooting to recovery mode
[   7.7776 ] tegrarcm_v2 --reboot recovery
[   7.7809 ] MB2 Applet version 01.00.0000
Board ID(3668) version(301) sku(0001) revision(G.0)
lz4c installed at /usr/bin/lz4c
Compressing /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p3668-a00.dtb ...
copying bctfile(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg)... done.
copying bctfile1(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying minratchet_config(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-ratchet-p3668.cfg)... done.
copying device_config(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-qspi-p3668.cfg)... done.
copying misc_cold_boot_config(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done.
copying misc_config(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p3668-a01.cfg)... done.
copying gpioint_config(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg)... done.
copying pmic_config(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p3668-0001-a00.cfg)... done.
copying pmc_config(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p3668-a01.cfg)... done.
copying prod_config(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p3668-0001-a00.cfg)... done.
copying scr_config(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying scr_cold_boot_config(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying bootrom_config(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p3668-0001-a00.cfg)... done.
copying dev_params(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-qspi-l4t.cfg)... done.
copying dev_params_b(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct_b-qspi-l4t.cfg)... done.
Existing bootloader(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
bl is uefi
Making Boot image... done.
Not signing of boot.img
Existing sosfile(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/bpmp-2_t194.bin) reused.
Existing bpfdtbfile(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/tegra194-a02-bpmp-p3668-a00_lz4.dtb) reused.
Existing scefile(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/camera-rtcpu-t194-rce.img) reused.
Existing apefile(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/adsp-fw.bin) reused.
Existing spefile(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing wb0boot(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/tos-optee_t194.img) reused.
Existing eksfile(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/eks_t194.img) reused.
copying soft_fuses(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
Skip generating system.img
Not signing of kernel-dtb
Existing tbcfile(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/uefi_jetson.bin) reused.
131072+0 records in
131072+0 records out
67108864 bytes (67 MB, 64 MiB) copied, 0.81526 s, 82.3 MB/s
	Sync'ing esp.img ... done.
copying tbcdtbfile(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb)... done.
copying cfgfile(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc_p3668.xml) to flash.xml... done.
done.
Existing flasher(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/tegraflash.py) reused.
*** Updating [APP] with /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/speye.img ***
copying overlay_dtb(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/kernel/dtb/L4TConfiguration.dtbo)... done.
copying overlay_dtb(/home/ultwcz/repo/5.1.1/Linux_for_Tegra/kernel/dtb/tegra194-p3668-p3509-overlay.dtbo)... done.
./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin --bldtb tegra194-p3668-0001-p3509-0000.dtb  --chip 0x19 --applet mb1_t194_prod.bin --sdram_config tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg,tegra194-memcfg-sw-override.cfg --minratchet_config tegra194-mb1-bct-ratchet-p3668.cfg --device_config tegra19x-mb1-bct-device-qspi-p3668.cfg --misc_cold_boot_config tegra194-mb1-bct-misc-l4t.cfg --misc_config tegra194-mb1-bct-misc-flash.cfg --pinmux_config tegra19x-mb1-pinmux-p3668-a01.cfg --gpioint_config tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --pmic_config tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --pmc_config tegra19x-mb1-padvoltage-p3668-a01.cfg --prod_config tegra19x-mb1-prod-p3668-0001-a00.cfg --scr_config tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --scr_cold_boot_config tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --br_cmd_config tegra194-mb1-bct-reset-p3668-0001-a00.cfg --dev_params tegra194-br-bct-qspi-l4t.cfg,tegra194-br-bct_b-qspi-l4t.cfg --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg  --cfg  flash.xml --bin "mb2_bootloader nvtboot_recovery_t194.bin; mts_preboot preboot_c10_prod_cr.bin; mts_mce mce_c10_prod_cr.bin; mts_proper mts_c10_prod_cr.bin; bpmp_fw bpmp-2_t194.bin; bpmp_fw_dtb tegra194-a02-bpmp-p3668-a00_lz4.dtb; spe_fw spe_t194.bin; tos tos-optee_t194.img; eks eks_t194.img; bootloader_dtb tegra194-p3668-0001-p3509-0000.dtb"  --odmdata 0xB8190000  --overlay_dtb L4TConfiguration.dtbo,tegra194-p3668-p3509-overlay.dtbo, --bldtb tegra194-p3668-0001-p3509-0000.dtb  --cmd "erase APP; write APP /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/speye.img; reboot"  --bct_backup  --boot_chain A  
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.0217 ] Generating RCM messages
[   0.0240 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.0247 ] Header already present for mb1_t194_prod.bin
[   0.0320 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0324 ] Assuming zero filled SBK key
[   0.0351 ] tegrasign_v3.py --file mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0355 ] Assuming zero filled SBK key
[   0.0387 ] Warning: pub_key.key is not found
[   0.0391 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.0448 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.0483 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0491 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0496 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0496 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0496 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0496 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0496 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0496 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0496 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0496 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0496 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0496 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0496 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0496 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0496 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0496 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0497 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0497 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0497 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0497 ] 
[   0.0506 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.0514 ] RCM 0 is saved as rcm_0.rcm
[   0.0541 ] RCM 1 is saved as rcm_1.rcm
[   0.0542 ] RCM 2 is saved as rcm_2.rcm
[   0.0542 ] List of rcm files are saved in rcm_list.xml
[   0.0542 ] 
[   0.0542 ] Signing RCM messages
[   0.0584 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.0587 ] Assuming zero filled SBK key
[   0.0642 ] Warning: pub_key.key is not found
[   0.0622 ] Copying signature to RCM mesages
[   0.0646 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0668 ] Boot Rom communication
[   0.0700 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[   0.0709 ] BR_CID: 0x880219116451c2461000000006018280
[   0.2736 ] RCM version 0X190001
[   0.5069 ] Boot Rom communication completed
[   2.5281 ] tegrarcm_v2 --isapplet
[   2.5301 ] Applet version 01.00.0000
[   2.9760 ] tegrasign_v3.py --key None --getmode mode.txt
[   2.9771 ] Assuming zero filled SBK key
[   2.9759 ] odmdata (to decode) = 3088646144
[   2.9760 ] Odmdata strings: PCIE_XBAR_8_1_1_0_1,UFS_DISABLED,NVHS_PCIE,enable-debug-console,enable-denver-wdt
[   2.9761 ] Bpmp odmdata config: {'pcie-xbar-config': [0, 1, 'PCIE_XBAR_8_1_1_0_1'], 'pcie-c0-endpoint-enable': [1, 0, ''], 'pcie-c4-endpoint-enable': [1, 0, ''], 'ufs-config': [0, 1, 'UFS_DISABLED'], 'sata-enable': [1, 0, ''], 'nvhs-owner': [0, 1, 'PCIE'], 'pcie-c5-endpoint-enable': [1, 0, '']}
[   2.9820 ] bpmp_dtb is compressed; decompressing...
[   2.9820 ] lz4c -df tegra194-a02-bpmp-p3668-a00_lz4.dtb tegra194-a02-bpmp-p3668-a00_lz4_with_odm.dtb
[   2.9900 ] Successfully decoded 442560 bytes                                              
[   2.9900 ] 
[   3.2013 ] Re-compressing updated bpmp_dtb
[   3.2013 ] lz4c -zf tegra194-a02-bpmp-p3668-a00_lz4_with_odm.dtb tegra194-a02-bpmp-p3668-a00_lz4.dtb
[   3.2035 ] Compressed 442529 bytes into 32067 bytes ==> 7.25%                             
[   3.2035 ] 
[   3.6683 ] Concatenating L4TConfiguration.dtbo,tegra194-p3668-p3509-overlay.dtbo to tegra194-p3668-0001-p3509-0000_with_odm_overlay.dtb
[   3.6691 ] Parsing partition layout
[   3.6715 ] tegraparser_v2 --pt flash.xml.tmp
[   3.6735 ] Creating list of images to be signed
[   3.6768 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[   3.6788 ] MB1: Nvheader already present is mb1_t194_prod_aligned.bin
[   3.6804 ] Header already present for mb1_t194_prod_aligned_sigheader.bin
[   3.6809 ] MB1: Nvheader already present is mb1_b_t194_prod_aligned.bin
[   3.6834 ] Header already present for mb1_b_t194_prod_aligned_sigheader.bin
[   3.6838 ] adding BCH for spe_t194_aligned.bin
[   3.6864 ] adding BCH for nvtboot_t194_aligned.bin
[   3.6887 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   3.6936 ] Header already present for mce_c10_prod_cr_aligned.bin
[   3.6942 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   3.7064 ] Header already present for warmboot_t194_prod_aligned.bin
[   3.7801 ] adding BCH for uefi_jetson_aligned.bin
[   3.7862 ] adding BCH for tegra194-p3668-0001-p3509-0000_aligned.dtb
[   3.8369 ] adding BCH for tos-optee_t194_aligned.img
[   3.8483 ] adding BCH for eks_t194_aligned.img
[   3.8655 ] adding BCH for adsp-fw_aligned.bin
[   3.8661 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   3.8782 ] adding BCH for bpmp-2_t194_aligned.bin
[   3.8913 ] adding BCH for tegra194-a02-bpmp-p3668-a00_lz4_aligned.dtb
[   3.9119 ] adding BCH for spe_t194_aligned.bin
[   3.9127 ] adding BCH for nvtboot_t194_aligned.bin
[   3.9156 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   3.9205 ] Header already present for mce_c10_prod_cr_aligned.bin
[   3.9210 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   3.9314 ] Header already present for warmboot_t194_prod_aligned.bin
[   4.0024 ] adding BCH for uefi_jetson_aligned.bin
[   4.0093 ] adding BCH for tegra194-p3668-0001-p3509-0000_aligned.dtb
[   4.0621 ] adding BCH for tos-optee_t194_aligned.img
[   4.0706 ] adding BCH for eks_t194_aligned.img
[   4.0908 ] adding BCH for adsp-fw_aligned.bin
[   4.0917 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   4.1012 ] adding BCH for bpmp-2_t194_aligned.bin
[   4.1133 ] adding BCH for tegra194-a02-bpmp-p3668-a00_lz4_aligned.dtb
[   4.1373 ] Filling MB1 storage info
[   4.1373 ] Parsing dev params for multi chains
[   4.1373 ] Generating br-bct
[   4.1399 ] Performing cfg overlay
[   4.1399 ] ['tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg', 'tegra194-memcfg-sw-override.cfg']
[   4.1403 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg -s tegra194-memcfg-sw-override.cfg -o /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1.cfg
[   4.1888 ] Updating dev and MSS params in BR BCT
[   4.1889 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi-l4t.cfg --sdram /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   4.2532 ] Updating bl info
[   4.2557 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   4.2577 ] Generating br-bct
[   4.2599 ] Performing cfg overlay
[   4.2600 ] ['/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1.cfg']
[   4.2600 ] Updating dev and MSS params in BR BCT
[   4.2600 ] tegrabct_v2 --dev_param tegra194-br-bct_b-qspi-l4t.cfg --sdram /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   4.3207 ] Updating bl info
[   4.3237 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   4.3259 ] Generating BCT backup image
[   4.3259 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   4.3269 ] 32768+0 records in
[   4.4218 ] 32768+0 records out
[   4.4218 ] 32768 bytes (33 kB, 32 KiB) copied, 0.0942153 s, 348 kB/s
[   4.4219 ] 
[   4.4219 ] Concatenating BCT for chain A to bct_backup.img

[   4.4219 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   4.4232 ] 2888+0 records in
[   4.4312 ] 2888+0 records out
[   4.4312 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00749493 s, 385 kB/s
[   4.4312 ] 
[   4.4313 ] Concatenating BCT for chain B to bct_backup.img

[   4.4313 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   4.4324 ] 2888+0 records in
[   4.4409 ] 2888+0 records out
[   4.4410 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00803402 s, 359 kB/s
[   4.4410 ] 
[   4.4411 ] Generating signatures
[   4.4462 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key
[   4.4466 ] Assuming zero filled SBK key
[   4.6346 ] Warning: pub_key.key is not found
[   4.6328 ] Send BCT from Host
[   4.6328 ] Parsing dev params for multi chains
[   4.6329 ] Generating br-bct
[   4.6382 ] Performing cfg overlay
[   4.6383 ] ['/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1.cfg']
[   4.6383 ] Updating dev and MSS params in BR BCT
[   4.6386 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi-l4t.cfg --sdram /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   4.7499 ] Updating bl info
[   4.7563 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   4.8167 ] Updating smd info
[   4.8225 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   4.8523 ] Updating Odmdata
[   4.8558 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[   4.9259 ] Signing BCT
[   4.9260 ] Get Signed section of bct
[   4.9327 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   4.9469 ] tegrasign_v3.py --key None --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   4.9487 ] Assuming zero filled SBK key
[   4.9571 ] Warning: pub_key.key is not found
[   4.9552 ] Updating BCT with signature
[   4.9616 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   4.9854 ] Generating br-bct
[   4.9888 ] Performing cfg overlay
[   4.9888 ] ['/home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1.cfg']
[   4.9888 ] Updating dev and MSS params in BR BCT
[   4.9890 ] tegrabct_v2 --dev_param tegra194-br-bct_b-qspi-l4t.cfg --sdram /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   5.0382 ] Updating bl info
[   5.0409 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   5.0446 ] Updating smd info
[   5.0476 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   5.0495 ] Updating Odmdata
[   5.0521 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[   5.0542 ] Signing BCT
[   5.0542 ] Get Signed section of bct
[   5.0565 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   5.0623 ] tegrasign_v3.py --key None --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   5.0625 ] Assuming zero filled SBK key
[   5.0646 ] Warning: pub_key.key is not found
[   5.0626 ] Updating BCT with signature
[   5.0656 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   5.0695 ] Generating BCT backup image
[   5.0697 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   5.0719 ] 32768+0 records in
[   5.1731 ] 32768+0 records out
[   5.1731 ] 32768 bytes (33 kB, 32 KiB) copied, 0.10023 s, 327 kB/s
[   5.1731 ] 
[   5.1732 ] Concatenating BCT for chain A to bct_backup.img

[   5.1732 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   5.1746 ] 2888+0 records in
[   5.1823 ] 2888+0 records out
[   5.1823 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00714605 s, 404 kB/s
[   5.1823 ] 
[   5.1823 ] Concatenating BCT for chain B to bct_backup.img

[   5.1824 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   5.1834 ] 2888+0 records in
[   5.1934 ] 2888+0 records out
[   5.1934 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00940122 s, 307 kB/s
[   5.1934 ] 
[   5.1934 ] Generating coldboot mb1-bct
[   5.1967 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1.cfg --misc tegra194-mb1-bct-misc-l4t.cfg --scr tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --pinmux tegra19x-mb1-pinmux-p3668-a01.cfg --pmc tegra19x-mb1-padvoltage-p3668-a01.cfg --pmic tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --brcommand tegra194-mb1-bct-reset-p3668-0001-a00.cfg --prod tegra19x-mb1-prod-p3668-0001-a00.cfg --gpioint tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --device tegra19x-mb1-bct-device-qspi-p3668.cfg
[   5.1980 ] MB1-BCT version: 0x1

[   5.1984 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg 
[   5.1987 ] Added Platform Config 0 data with size :- 2496

[   5.2011 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg 
[   5.2014 ] Added Platform Config 1 data with size :- 19640

[   5.2276 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg 
[   5.2279 ] Added Platform Config 2 data with size :- 24

[   5.2283 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg 
[   5.2288 ] Added Platform Config 4 data with size :- 348

[   5.2293 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg 
[   5.2300 ] Added Platform Config 3 data with size :- 92
[   5.2305 ] 
[   5.2305 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[   5.2305 ] Added Platform Config 5 data with size :- 140
[   5.2305 ] 
[   5.2305 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[   5.2305 ] Added Platform Config 7 data with size :- 392
[   5.2305 ] 
[   5.2306 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[   5.2306 ] Added Platform Config 9 data with size :- 40
[   5.2306 ] 
[   5.2307 ] Updating mb1-bct with firmware information
[   5.2335 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   5.2355 ] Updating mb1-bct with storage information
[   5.2382 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   5.2402 ] Updating mb1-bct with ratchet information
[   5.2426 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   5.2436 ] FwIndex: 1, MinRatchetLevel: 0
[   5.2439 ] FwIndex: 2, MinRatchetLevel: 0
[   5.2439 ] FwIndex: 3, MinRatchetLevel: 0
[   5.2439 ] FwIndex: 4, MinRatchetLevel: 0
[   5.2439 ] FwIndex: 5, MinRatchetLevel: 0
[   5.2439 ] FwIndex: 6, MinRatchetLevel: 0
[   5.2440 ] FwIndex: 7, MinRatchetLevel: 0
[   5.2440 ] FwIndex: 11, MinRatchetLevel: 0
[   5.2440 ] FwIndex: 12, MinRatchetLevel: 0
[   5.2440 ] FwIndex: 13, MinRatchetLevel: 0
[   5.2440 ] FwIndex: 14, MinRatchetLevel: 0
[   5.2440 ] FwIndex: 15, MinRatchetLevel: 0
[   5.2440 ] FwIndex: 16, MinRatchetLevel: 0
[   5.2440 ] FwIndex: 17, MinRatchetLevel: 0
[   5.2440 ] FwIndex: 18, MinRatchetLevel: 0
[   5.2440 ] FwIndex: 19, MinRatchetLevel: 0
[   5.2440 ] FwIndex: 30, MinRatchetLevel: 0
[   5.2440 ] FwIndex: 31, MinRatchetLevel: 0
[   5.2440 ] 
[   5.2466 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1_aligned.bct
[   5.2505 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[   5.2515 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   5.2568 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.2571 ] Assuming zero filled SBK key
[   5.2591 ] Warning: pub_key.key is not found
[   5.2594 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_aligned_sigheader.bct.hash zerosbk
[   5.2612 ] Generating recovery mb1-bct
[   5.2637 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1.cfg --misc tegra194-mb1-bct-misc-flash.cfg --scr tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --pinmux tegra19x-mb1-pinmux-p3668-a01.cfg --pmc tegra19x-mb1-padvoltage-p3668-a01.cfg --pmic tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --brcommand tegra194-mb1-bct-reset-p3668-0001-a00.cfg --prod tegra19x-mb1-prod-p3668-0001-a00.cfg --gpioint tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --device tegra19x-mb1-bct-device-qspi-p3668.cfg
[   5.2655 ] MB1-BCT version: 0x1

[   5.2659 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg 
[   5.2661 ] Added Platform Config 0 data with size :- 2496

[   5.2685 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg 
[   5.2690 ] Added Platform Config 1 data with size :- 19640

[   5.2897 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg 
[   5.2901 ] Added Platform Config 2 data with size :- 24

[   5.2903 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg 
[   5.2907 ] Added Platform Config 4 data with size :- 348

[   5.2910 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg 
[   5.2913 ] Added Platform Config 3 data with size :- 92

[   5.2916 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[   5.2920 ] Added Platform Config 5 data with size :- 140

[   5.2923 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[   5.2928 ] Added Platform Config 7 data with size :- 392
[   5.2929 ] 
[   5.2929 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[   5.2929 ] Added Platform Config 9 data with size :- 40
[   5.2929 ] 
[   5.2929 ] Updating mb1-bct with firmware information
[   5.2964 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo flash.xml.bin
[   5.2986 ] Updating mb1-bct with storage information
[   5.3013 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   5.3029 ] Updating mb1-bct with ratchet information
[   5.3052 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   5.3062 ] FwIndex: 1, MinRatchetLevel: 0
[   5.3066 ] FwIndex: 2, MinRatchetLevel: 0
[   5.3066 ] FwIndex: 3, MinRatchetLevel: 0
[   5.3066 ] FwIndex: 4, MinRatchetLevel: 0
[   5.3066 ] FwIndex: 5, MinRatchetLevel: 0
[   5.3066 ] FwIndex: 6, MinRatchetLevel: 0
[   5.3066 ] FwIndex: 7, MinRatchetLevel: 0
[   5.3066 ] FwIndex: 11, MinRatchetLevel: 0
[   5.3066 ] FwIndex: 12, MinRatchetLevel: 0
[   5.3066 ] FwIndex: 13, MinRatchetLevel: 0
[   5.3066 ] FwIndex: 14, MinRatchetLevel: 0
[   5.3066 ] FwIndex: 15, MinRatchetLevel: 0
[   5.3066 ] FwIndex: 16, MinRatchetLevel: 0
[   5.3067 ] FwIndex: 17, MinRatchetLevel: 0
[   5.3067 ] FwIndex: 18, MinRatchetLevel: 0
[   5.3067 ] FwIndex: 19, MinRatchetLevel: 0
[   5.3067 ] FwIndex: 30, MinRatchetLevel: 0
[   5.3067 ] FwIndex: 31, MinRatchetLevel: 0
[   5.3067 ] 
[   5.3092 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1_aligned.bct
[   5.3141 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[   5.3156 ] adding BCH for mb1_bct_MB1_aligned.bct
[   5.3223 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.3226 ] Assuming zero filled SBK key
[   5.3246 ] Warning: pub_key.key is not found
[   5.3251 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[   5.3268 ] Generating coldboot mem-bct
[   5.3291 ] tegrabct_v2 --chip 0x19 0 --sdram /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1.cfg --membct /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1_1.bct /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1_2.bct /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1_3.bct /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1_4.bct
[   5.3311 ] Packing sdram param for instance[0]
[   5.3845 ] Packing sdram param for instance[1]
[   5.3847 ] Packing sdram param for instance[2]
[   5.3849 ] Packing sdram param for instance[3]
[   5.3850 ] Packing sdram param for instance[4]
[   5.3850 ] Packing sdram param for instance[5]
[   5.3850 ] Packing sdram param for instance[6]
[   5.3850 ] Packing sdram param for instance[7]
[   5.3850 ] Packing sdram param for instance[8]
[   5.3850 ] Packing sdram param for instance[9]
[   5.3850 ] Packing sdram param for instance[10]
[   5.3850 ] Packing sdram param for instance[11]
[   5.3850 ] Packing sdram param for instance[12]
[   5.3850 ] Packing sdram param for instance[13]
[   5.3851 ] Packing sdram param for instance[14]
[   5.3851 ] Packing sdram param for instance[15]
[   5.3851 ] 
[   5.3851 ] Getting sector size from pt
[   5.3877 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[   5.3897 ] BlockSize read from layout is 200

[   5.3927 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1_1.bct /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1_2.bct /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1_3.bct /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1_4.bct
[   5.3945 ] adding BCH for /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1_1.bct
[   5.4025 ] tegrahost_v2 --chip 0x19 --align mem_coldboot_aligned.bct
[   5.4064 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_coldboot_aligned.bct zerosbk
[   5.4080 ] Header already present for mem_coldboot_aligned.bct
[   5.4136 ] tegrasign_v3.py --key None --list mem_coldboot_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.4140 ] Assuming zero filled SBK key
[   5.4168 ] Warning: pub_key.key is not found
[   5.4166 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_aligned_sigheader.bct.encrypt mem_coldboot_aligned_sigheader.bct.hash zerosbk
[   5.4193 ] Generating recovery mem-bct
[   5.4235 ] tegrabct_v2 --chip 0x19 0 --sdram /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1.cfg --membct /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1_1.bct /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1_2.bct /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1_3.bct /home/ultwcz/repo/5.1.1/Linux_for_Tegra/bootloader/19897/tmpwf6kioht1_4.bct
[   5.4254 ] Packing sdram param for instance[0]
[   5.5017 ] Packing sdram param for instance[1]
[   5.5020 ] Packing sdram param for instance[2]
[   5.5023 ] Packing sdram param for instance[3]
[   5.5024 ] Packing sdram param for instance[4]
[   5.5024 ] Packing sdram param for instance[5]
[   5.5024 ] Packing sdram param for instance[6]
[   5.5024 ] Packing sdram param for instance[7]
[   5.5024 ] Packing sdram param for instance[8]
[   5.5024 ] Packing sdram param for instance[9]
[   5.5024 ] Packing sdram param for instance[10]
[   5.5024 ] Packing sdram param for instance[11]
[   5.5024 ] Packing sdram param for instance[12]
[   5.5024 ] Packing sdram param for instance[13]
[   5.5024 ] Packing sdram param for instance[14]
[   5.5024 ] Packing sdram param for instance[15]
[   5.5024 ] 
[   5.5026 ] Reading ramcode from backup chip_info.bin file
[   5.5027 ] RAMCODE Read from Device: 1

[   5.5059 ] tegrahost_v2 --chip 0x19 --align mem_rcm_aligned.bct
[   5.5093 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm_aligned.bct zerosbk
[   5.5103 ] adding BCH for mem_rcm_aligned.bct
[   5.5171 ] tegrasign_v3.py --key None --list mem_rcm_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.5174 ] Assuming zero filled SBK key
[   5.5200 ] Warning: pub_key.key is not found
[   5.5205 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_aligned_sigheader.bct.encrypt mem_rcm_aligned_sigheader.bct.hash zerosbk
[   5.5229 ] Sending BCTs
[   5.5249 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
[   5.5265 ] Applet version 01.00.0000
[   5.9472 ] Sending bct_bootrom
[   5.9475 ] [................................................] 100%
[   5.9487 ] Sending bct_mb1
[   5.9532 ] [................................................] 100%
[   5.9569 ] Sending bct_mem
[   6.0037 ] [................................................] 100%
Error: Return value 8
Command tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
[   6.0845 ] Generating RCM messages
[   6.0872 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   6.0892 ] Header already present for mb1_t194_prod.bin
[   6.0985 ] tegrasign_v3.py --key None --getmode mode.txt
[   6.0990 ] Assuming zero filled SBK key
[   6.1023 ] tegrasign_v3.py --file mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   6.1027 ] Assuming zero filled SBK key
[   6.1058 ] Warning: pub_key.key is not found
[   6.1063 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   6.1138 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   6.1182 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   6.1196 ] FwIndex: 1, MinRatchetLevel: 0
[   6.1199 ] FwIndex: 2, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 3, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 4, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 5, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 6, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 7, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 11, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 12, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 13, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 14, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 15, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 16, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 17, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 18, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 19, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 30, MinRatchetLevel: 0
[   6.1200 ] FwIndex: 31, MinRatchetLevel: 0
[   6.1200 ] 
[   6.1226 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   6.1238 ] RCM 0 is saved as rcm_0.rcm
[   6.1276 ] RCM 1 is saved as rcm_1.rcm
[   6.1278 ] RCM 2 is saved as rcm_2.rcm
[   6.1278 ] List of rcm files are saved in rcm_list.xml
[   6.1278 ] 
[   6.1279 ] Signing RCM messages
[   6.1330 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   6.1333 ] Assuming zero filled SBK key
[   6.1429 ] Warning: pub_key.key is not found
[   6.1408 ] Copying signature to RCM mesages
[   6.1436 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   6.1455 ] Boot Rom communication
[   6.1486 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[   6.1502 ] BootRom is not running
[   7.5473 ] tegrarcm_v2 --isapplet


Does flashing with other L4T versions make any difference?
If it still does not succeed, then I’d say maybe the module itself is broken.

Hi, @DaveYYY

Does flashing with other L4T versions make any difference?

The same of before

If it still does not succeed, then I’d say maybe the module itself is broken.

How do I fix it, or how to clear data in NX?

I think there’s little we can do here given that it does not even output proper log from UART.
I’d say RMA or get a new module.

OK, thank you. I think it was caused by damage to the boot-ROM

Hi, @DaveYYY,
I used Jetpack 32.4.3, which shows

Invalid value MemBct dram size: 0MB for slot: 1

Are there memory issues?

See if you need this:

Sorry , File Not Found or Link has Expired

Jetson_Xavier_NX_PCN_206980_DRAM_eMMC_Manufacturing_BOM_Expansion_v3.pdf (630.6 KB)
Or check for other PCN at our download center:

Thank you.

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