Nvidia Jetson Xavier Nx flash error (Error: Return value 8)

Board: Jetson Xavier NX (custom carrier board)
host PC: Ubuntu 20.04 (It’s not a virtual environment.)

I don’t have an SD card, but I have an SSD card, so I installed Jetpack 5.1.2 on the SSD and tried to boot it.

Creating: Username - nvidia, Password - nvidia, Autologin - true
Adding user `nvidia' to group `gdm' ...
Adding user nvidia to group gdm
Done.
Adding user `gdm' to group `video' ...
Adding user gdm to group video
Done.
Creating: Hostname - tegra-ubuntu

###############################################################################
# L4T BSP Information:
# R35 , REVISION: 4.1
# User release: 0.0
###############################################################################
# Target Board Information:
# Name: jetson-xavier-nx-nx215b, Board Family: t186ref, SoC: Tegra 194, 
# OpMode: production, Boot Authentication: NS, 
# Disk encryption: disabled ,
###############################################################################
copying soft_fuses(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
./tegraflash.py --chip 0x19 --applet "/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/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.0199 ] Generating RCM messages
[   0.0219 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk
[   0.0225 ] Header already present for /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/mb1_t194_prod.bin
[   0.0310 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0312 ] Assuming zero filled SBK key
[   0.0332 ] tegrasign_v3.py --file /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0333 ] Assuming zero filled SBK key
[   0.0347 ] Warning: pub_key.key is not found
[   0.0319 ] tegrahost_v2 --chip 0x19 0 --updatesigheader /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.hash zerosbk
[   0.0362 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[   0.0386 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0
[   0.0393 ] RCM 0 is saved as rcm_0.rcm
[   0.0411 ] RCM 1 is saved as rcm_1.rcm
[   0.0411 ] RCM 2 is saved as rcm_2.rcm
[   0.0411 ] List of rcm files are saved in rcm_list.xml
[   0.0411 ] 
[   0.0411 ] Signing RCM messages
[   0.0477 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.0478 ] Assuming zero filled SBK key
[   0.0508 ] Warning: pub_key.key is not found
[   0.0461 ] Copying signature to RCM mesages
[   0.0479 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0488 ] Boot Rom communication
[   0.0505 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[   0.0512 ] RCM version 0X190001
[   0.0799 ] Boot Rom communication completed
[   2.1065 ] tegrarcm_v2 --isapplet
[   2.1083 ] Applet version 01.00.0000
[   2.1877 ] tegrarcm_v2 --ismb2
[   2.2844 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194_aligned.bin
[   2.2893 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194_aligned.bin zerosbk
[   2.2910 ] adding BCH for nvtboot_applet_t194_aligned.bin
[   2.3155 ] tegrasign_v3.py --key None --list nvtboot_applet_t194_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   2.3160 ] Assuming zero filled SBK key
[   2.3194 ] Warning: pub_key.key is not found
[   2.3178 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_aligned_sigheader.bin.encrypt nvtboot_applet_t194_aligned_sigheader.bin.hash zerosbk
[   2.3246 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[   2.3258 ] Applet version 01.00.0000
[   2.3995 ] Sending mb2
[   2.3996 ] [................................................] 100%
[   2.4211 ] tegrarcm_v2 --boot recovery
[   2.4228 ] Applet version 01.00.0000
[   3.5083 ] tegrarcm_v2 --isapplet
[   3.5971 ] tegrarcm_v2 --ismb2
[   3.5989 ] MB2 Applet version 01.00.0000
[   3.6795 ] tegrarcm_v2 --ismb2
[   3.6813 ] MB2 Applet version 01.00.0000
[   3.7754 ] Retrieving board information
[   3.7784 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[   3.7803 ] MB2 Applet version 01.00.0000
[   3.8579 ] Saved platform info in chip_info.bin
[   3.8625 ] Chip minor revision: 2
[   3.8627 ] Bootrom revision: 0xf
[   3.8629 ] Ram code: 0x0
[   3.8631 ] Chip sku: 0xde
[   3.8635 ] Chip Sample: non es
[   3.8635 ] 
[   3.8642 ] Retrieving EEPROM data
[   3.8642 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/cvm.bin
[   3.8664 ] MB2 Applet version 01.00.0000
[   3.9003 ] Saved platform info in /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/cvm.bin
[   3.9416 ] Rebooting to recovery mode
[   3.9459 ] tegrarcm_v2 --ismb2
[   3.9477 ] MB2 Applet version 01.00.0000
[   4.0232 ] Rebooting to recovery mode
[   4.0267 ] tegrarcm_v2 --reboot recovery
[   4.0284 ] MB2 Applet version 01.00.0000
Board ID(3668) version(300) sku(0001) revision(B.0)
lz4c installed at /usr/bin/lz4c
Compressing /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p3668-a00.dtb ...
Copy /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb to /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb.rec
NVDISP+UEFI in bootloader/nvdisp-init.bin ..
copying bctfile(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg)... done.
copying bctfile1(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying minratchet_config(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-ratchet-p3668.cfg)... done.
copying device_config(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-qspi-p3668.cfg)... done.
copying misc_cold_boot_config(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done.
copying misc_config(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p3668-a01.cfg)... done.
copying gpioint_config(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg)... done.
copying pmic_config(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p3668-0001-a00.cfg)... done.
copying pmc_config(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p3668-a01.cfg)... done.
copying prod_config(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p3668-0001-a00.cfg)... done.
copying scr_config(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying scr_cold_boot_config(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying bootrom_config(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p3668-0001-a00.cfg)... done.
copying dev_params(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-qspi-l4t.cfg)... done.
copying dev_params_b(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct_b-qspi-l4t.cfg)... done.
Existing bootloader(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
bl is uefi
Making Boot image... done.
Not signing of boot.img
Making recovery ramdisk for recovery image...
Re-generating recovery ramdisk for recovery image...
/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/ramdisk_tmp /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra
42010 blocks

gzip: /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/kernel/Image: not in gzip format
_BASE_KERNEL_VERSION=5.10.120-tegra
58244 blocks
Making Recovery image...
copying recdtbfile(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb.rec)... done.
20+0 records in
20+0 records out
20 bytes copied, 6.6209e-05 s, 302 kB/s
Existing sosfile(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/bpmp-2_t194.bin) reused.
Existing bpfdtbfile(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/tegra194-a02-bpmp-p3668-a00_lz4.dtb) reused.
Existing scefile(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/camera-rtcpu-t194-rce.img) reused.
Existing apefile(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/adsp-fw.bin) reused.
Existing spefile(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing wb0boot(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/tos-optee_t194.img) reused.
Existing eksfile(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/eks_t194.img) reused.
copying soft_fuses(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating kernel_tegra194-p3668-0001-p3509-0000.dtb to rootfs... done.
Making system.img... 
	Setting "FDT /boot/dtb/kernel_tegra194-p3668-0001-p3509-0000.dtb" successfully in the extlinux.conf...done.
	populating rootfs from /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/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. 
Not signing of kernel-dtb
Existing tbcfile(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/nvdisp-init.bin) reused.
131072+0 records in
131072+0 records out
67108864 bytes (67 MB, 64 MiB) copied, 0.0994016 s, 675 MB/s
	Sync'ing esp.img ... done.
Existing tbcdtbfile(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/tegra194-p3668-0001-p3509-0000-uefi.dtb) reused.
copying cfgfile(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc_p3668.xml) to flash.xml... done.
done.
Existing flasher(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/tegraflash.py) reused.
copying overlay_dtb(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/kernel/dtb/L4TConfiguration.dtbo)... done.
copying overlay_dtb(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/kernel/dtb/tegra194-p3668-p3509-overlay.dtbo)... done.
copying overlay_dtb(/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/kernel/dtb/tegra194-nx215b-mcp251x-overlay.dtbo)... done.
/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/L4TConfiguration_updated.dts: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/L4TConfiguration.dtbo: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin --sdram_config tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg,tegra194-memcfg-sw-override.cfg  --odmdata 0xB8190000  --overlay_dtb L4TConfiguration.dtbo,tegra194-p3668-p3509-overlay.dtbo,tegra194-nx215b-mcp251x-overlay.dtbo,  --bldtb tegra194-p3668-0001-p3509-0000-uefi.dtb --applet mb1_t194_prod.bin --cmd "flash; reboot" --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg  --cfg flash.xml --chip 0x19 --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  --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-uefi.dtb"   --secondary_gpt_backup  --bct_backup  --boot_chain A 
saving flash command in /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/flash_win.bat
*** 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.0148 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0150 ] Assuming zero filled SBK key
[   0.0023 ] Generating RCM messages
[   0.0044 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.0051 ] Header already present for mb1_t194_prod.bin
[   0.0216 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0217 ] Assuming zero filled SBK key
[   0.0236 ] tegrasign_v3.py --file mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0237 ] Assuming zero filled SBK key
[   0.0267 ] Warning: pub_key.key is not found
[   0.0157 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.0199 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.0228 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0233 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0238 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0238 ] 
[   0.0256 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.0261 ] RCM 0 is saved as rcm_0.rcm
[   0.0281 ] RCM 1 is saved as rcm_1.rcm
[   0.0282 ] RCM 2 is saved as rcm_2.rcm
[   0.0282 ] List of rcm files are saved in rcm_list.xml
[   0.0282 ] 
[   0.0282 ] Signing RCM messages
[   0.0428 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.0430 ] Assuming zero filled SBK key
[   0.0459 ] Warning: pub_key.key is not found
[   0.0332 ] Copying signature to RCM mesages
[   0.0349 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0359 ] odmdata (to decode) = 3088646144
[   0.0360 ] Odmdata strings: PCIE_XBAR_8_1_1_0_1,UFS_DISABLED,NVHS_PCIE,enable-debug-console,enable-denver-wdt
[   0.0360 ] 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, '']}
[   0.0370 ] bpmp_dtb is compressed; decompressing...
[   0.0371 ] lz4c -df tegra194-a02-bpmp-p3668-a00_lz4.dtb tegra194-a02-bpmp-p3668-a00_lz4_with_odm.dtb
[   0.0385 ]                                                                             tegra194-a02-bpmp-p3 : decoded 442560 bytes 
[   0.0385 ] 
[   0.1070 ] Re-compressing updated bpmp_dtb
[   0.1070 ] lz4c -zf tegra194-a02-bpmp-p3668-a00_lz4_with_odm.dtb tegra194-a02-bpmp-p3668-a00_lz4.dtb
[   0.1087 ]                                                                             Compressed 442529 bytes into 32067 bytes ==> 7.25%
[   0.1087 ] 
[   0.2648 ] Concatenating L4TConfiguration.dtbo,tegra194-p3668-p3509-overlay.dtbo,tegra194-nx215b-mcp251x-overlay.dtbo to tegra194-p3668-0001-p3509-0000-uefi_with_odm_overlay.dtb
[   0.2652 ] Parsing partition layout
[   0.2701 ] tegraparser_v2 --pt flash.xml.tmp
[   0.2716 ] Reading ramcode from backup chip_info.bin file
[   0.2717 ] RAMCODE Read from Device: 0

[   0.2717 ] Disable BPMP dtb trim, using default dtb
[   0.2717 ] 
[   0.2717 ] Creating list of images to be signed
[   0.2736 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[   0.2743 ] MB1: Nvheader already present is mb1_t194_prod_aligned.bin
[   0.2748 ] Header already present for mb1_t194_prod_aligned_sigheader.bin
[   0.2749 ] MB1: Nvheader already present is mb1_b_t194_prod_aligned.bin
[   0.2767 ] Header already present for mb1_b_t194_prod_aligned_sigheader.bin
[   0.2767 ] adding BCH for spe_t194_aligned.bin
[   0.2786 ] adding BCH for nvtboot_t194_aligned.bin
[   0.2800 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   0.2825 ] Header already present for mce_c10_prod_cr_aligned.bin
[   0.2827 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   0.2892 ] Header already present for warmboot_t194_prod_aligned.bin
[   0.3297 ] adding BCH for nvdisp-init_aligned.bin
[   0.3336 ] adding BCH for tegra194-p3668-0001-p3509-0000-uefi_aligned.dtb
[   0.3694 ] adding BCH for tos-optee_t194_aligned.img
[   0.3749 ] adding BCH for eks_t194_aligned.img
[   0.3865 ] adding BCH for adsp-fw_aligned.bin
[   0.3870 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   0.3928 ] adding BCH for bpmp-2_t194_aligned.bin
[   0.4004 ] adding BCH for tegra194-a02-bpmp-p3668-a00_lz4_aligned.dtb
[   0.4126 ] adding BCH for spe_t194_aligned.bin
[   0.4130 ] adding BCH for nvtboot_t194_aligned.bin
[   0.4143 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   0.4167 ] Header already present for mce_c10_prod_cr_aligned.bin
[   0.4170 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   0.4236 ] Header already present for warmboot_t194_prod_aligned.bin
[   0.4647 ] adding BCH for nvdisp-init_aligned.bin
[   0.4691 ] adding BCH for tegra194-p3668-0001-p3509-0000-uefi_aligned.dtb
[   0.5047 ] adding BCH for tos-optee_t194_aligned.img
[   0.5102 ] adding BCH for eks_t194_aligned.img
[   0.5220 ] adding BCH for adsp-fw_aligned.bin
[   0.5225 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   0.5281 ] adding BCH for bpmp-2_t194_aligned.bin
[   0.5357 ] adding BCH for tegra194-a02-bpmp-p3668-a00_lz4_aligned.dtb
[   0.5487 ] Filling MB1 storage info
[   0.5487 ] Parsing dev params for multi chains
[   0.5488 ] Generating br-bct
[   0.5512 ] Performing cfg overlay
[   0.5512 ] ['tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg', 'tegra194-memcfg-sw-override.cfg']
[   0.5513 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg -s tegra194-memcfg-sw-override.cfg -o /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1.cfg
[   0.5769 ] Updating dev and MSS params in BR BCT
[   0.5769 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi-l4t.cfg --sdram /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   0.6036 ] Updating bl info
[   0.6059 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   0.6073 ] Generating br-bct
[   0.6094 ] Performing cfg overlay
[   0.6094 ] ['/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1.cfg']
[   0.6094 ] Updating dev and MSS params in BR BCT
[   0.6094 ] tegrabct_v2 --dev_param tegra194-br-bct_b-qspi-l4t.cfg --sdram /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   0.6358 ] Updating bl info
[   0.6379 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   0.6393 ] Generating BCT backup image
[   0.6393 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   0.6401 ] 32768+0 records in
[   0.6585 ] 32768+0 records out
[   0.6585 ] 32768 bytes (33 kB, 32 KiB) copied, 0.0180612 s, 1.8 MB/s
[   0.6585 ] 
[   0.6585 ] Concatenating BCT for chain A to bct_backup.img

[   0.6585 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   0.6596 ] 2888+0 records in
[   0.6608 ] 2888+0 records out
[   0.6608 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00106812 s, 2.7 MB/s
[   0.6608 ] 
[   0.6608 ] Concatenating BCT for chain B to bct_backup.img

[   0.6609 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   0.6616 ] 2888+0 records in
[   0.6629 ] 2888+0 records out
[   0.6629 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00104949 s, 2.8 MB/s
[   0.6629 ] 
[   0.6629 ] Generating signatures
[   0.6775 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key
[   0.6776 ] Assuming zero filled SBK key
[   0.7298 ] Warning: pub_key.key is not found
[   0.7171 ] Parsing dev params for multi chains
[   0.7171 ] Generating br-bct
[   0.7189 ] Performing cfg overlay
[   0.7189 ] ['/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1.cfg']
[   0.7189 ] Updating dev and MSS params in BR BCT
[   0.7190 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi-l4t.cfg --sdram /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   0.7456 ] Updating bl info
[   0.7479 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   0.7496 ] Updating smd info
[   0.7517 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   0.7526 ] Updating Odmdata
[   0.7546 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[   0.7556 ] Signing BCT
[   0.7556 ] Get Signed section of bct
[   0.7575 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   0.7733 ] tegrasign_v3.py --key None --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.7735 ] Assuming zero filled SBK key
[   0.7746 ] Warning: pub_key.key is not found
[   0.7618 ] Updating BCT with signature
[   0.7637 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   0.7647 ] Generating br-bct
[   0.7666 ] Performing cfg overlay
[   0.7666 ] ['/home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1.cfg']
[   0.7666 ] Updating dev and MSS params in BR BCT
[   0.7667 ] tegrabct_v2 --dev_param tegra194-br-bct_b-qspi-l4t.cfg --sdram /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   0.7935 ] Updating bl info
[   0.7962 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   0.7979 ] Updating smd info
[   0.7999 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   0.8008 ] Updating Odmdata
[   0.8027 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[   0.8036 ] Signing BCT
[   0.8036 ] Get Signed section of bct
[   0.8055 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   0.8210 ] tegrasign_v3.py --key None --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.8212 ] Assuming zero filled SBK key
[   0.8225 ] Warning: pub_key.key is not found
[   0.8097 ] Updating BCT with signature
[   0.8116 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   0.8125 ] Generating BCT backup image
[   0.8125 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   0.8133 ] 32768+0 records in
[   0.8315 ] 32768+0 records out
[   0.8315 ] 32768 bytes (33 kB, 32 KiB) copied, 0.0178498 s, 1.8 MB/s
[   0.8315 ] 
[   0.8315 ] Concatenating BCT for chain A to bct_backup.img

[   0.8315 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   0.8323 ] 2888+0 records in
[   0.8337 ] 2888+0 records out
[   0.8337 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00106156 s, 2.7 MB/s
[   0.8337 ] 
[   0.8337 ] Concatenating BCT for chain B to bct_backup.img

[   0.8337 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   0.8346 ] 2888+0 records in
[   0.8358 ] 2888+0 records out
[   0.8358 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00104275 s, 2.8 MB/s
[   0.8358 ] 
[   0.8358 ] Generating coldboot mb1-bct
[   0.8381 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1.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
[   0.8390 ] MB1-BCT version: 0x1

[   0.8394 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg 
[   0.8395 ] Added Platform Config 0 data with size :- 2464

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

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

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

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

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

[   0.8474 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[   0.8475 ] Added Platform Config 7 data with size :- 392
[   0.8477 ] 
[   0.8477 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[   0.8477 ] Added Platform Config 9 data with size :- 40
[   0.8477 ] 
[   0.8478 ] Updating mb1-bct with firmware information
[   0.8497 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   0.8507 ] Updating mb1-bct with storage information
[   0.8527 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   0.8536 ] Updating mb1-bct with ratchet information
[   0.8555 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.8562 ] FwIndex: 1, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 2, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 3, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 4, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 5, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 6, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 7, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 11, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 12, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 13, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 14, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 15, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 16, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 17, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 18, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 19, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 30, MinRatchetLevel: 0
[   0.8564 ] FwIndex: 31, MinRatchetLevel: 0
[   0.8564 ] 
[   0.8573 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1_aligned.bct
[   0.8589 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[   0.8596 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   0.8750 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   0.8752 ] Assuming zero filled SBK key
[   0.8764 ] Warning: pub_key.key is not found
[   0.8657 ] 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
[   0.8668 ] Generating recovery mb1-bct
[   0.8687 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1.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
[   0.8695 ] MB1-BCT version: 0x1

[   0.8701 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg 
[   0.8702 ] Added Platform Config 0 data with size :- 2464

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

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

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

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

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

[   0.8779 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[   0.8780 ] Added Platform Config 7 data with size :- 392
[   0.8781 ] 
[   0.8781 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[   0.8781 ] Added Platform Config 9 data with size :- 40
[   0.8781 ] 
[   0.8782 ] Updating mb1-bct with firmware information
[   0.8804 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo flash.xml.bin
[   0.8814 ] Updating mb1-bct with storage information
[   0.8834 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   0.8843 ] Updating mb1-bct with ratchet information
[   0.8863 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.8871 ] FwIndex: 1, MinRatchetLevel: 0
[   0.8872 ] FwIndex: 2, MinRatchetLevel: 0
[   0.8872 ] FwIndex: 3, MinRatchetLevel: 0
[   0.8873 ] FwIndex: 4, MinRatchetLevel: 0
[   0.8873 ] FwIndex: 5, MinRatchetLevel: 0
[   0.8874 ] FwIndex: 6, MinRatchetLevel: 0
[   0.8875 ] FwIndex: 7, MinRatchetLevel: 0
[   0.8875 ] FwIndex: 11, MinRatchetLevel: 0
[   0.8875 ] FwIndex: 12, MinRatchetLevel: 0
[   0.8875 ] FwIndex: 13, MinRatchetLevel: 0
[   0.8875 ] FwIndex: 14, MinRatchetLevel: 0
[   0.8875 ] FwIndex: 15, MinRatchetLevel: 0
[   0.8875 ] FwIndex: 16, MinRatchetLevel: 0
[   0.8875 ] FwIndex: 17, MinRatchetLevel: 0
[   0.8875 ] FwIndex: 18, MinRatchetLevel: 0
[   0.8875 ] FwIndex: 19, MinRatchetLevel: 0
[   0.8875 ] FwIndex: 30, MinRatchetLevel: 0
[   0.8875 ] FwIndex: 31, MinRatchetLevel: 0
[   0.8875 ] 
[   0.8895 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1_aligned.bct
[   0.8922 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[   0.8928 ] adding BCH for mb1_bct_MB1_aligned.bct
[   0.9081 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   0.9082 ] Assuming zero filled SBK key
[   0.9093 ] Warning: pub_key.key is not found
[   0.8973 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[   0.8984 ] Generating coldboot mem-bct
[   0.9002 ] tegrabct_v2 --chip 0x19 0 --sdram /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1.cfg --membct /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1_1.bct /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1_2.bct /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1_3.bct /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1_4.bct
[   0.9009 ] Packing sdram param for instance[0]
[   0.9264 ] Packing sdram param for instance[1]
[   0.9265 ] Packing sdram param for instance[2]
[   0.9265 ] Packing sdram param for instance[3]
[   0.9266 ] Packing sdram param for instance[4]
[   0.9267 ] Packing sdram param for instance[5]
[   0.9267 ] Packing sdram param for instance[6]
[   0.9267 ] Packing sdram param for instance[7]
[   0.9267 ] Packing sdram param for instance[8]
[   0.9267 ] Packing sdram param for instance[9]
[   0.9267 ] Packing sdram param for instance[10]
[   0.9267 ] Packing sdram param for instance[11]
[   0.9267 ] Packing sdram param for instance[12]
[   0.9267 ] Packing sdram param for instance[13]
[   0.9267 ] Packing sdram param for instance[14]
[   0.9267 ] Packing sdram param for instance[15]
[   0.9267 ] 
[   0.9267 ] Getting sector size from pt
[   0.9281 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[   0.9288 ] BlockSize read from layout is 200

[   0.9308 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1_1.bct /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1_2.bct /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1_3.bct /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1_4.bct
[   0.9314 ] adding BCH for /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1_1.bct
[   0.9337 ] tegrahost_v2 --chip 0x19 --align mem_coldboot_aligned.bct
[   0.9352 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_coldboot_aligned.bct zerosbk
[   0.9359 ] Header already present for mem_coldboot_aligned.bct
[   0.9508 ] tegrasign_v3.py --key None --list mem_coldboot_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   0.9510 ] Assuming zero filled SBK key
[   0.9523 ] Warning: pub_key.key is not found
[   0.9414 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_aligned_sigheader.bct.encrypt mem_coldboot_aligned_sigheader.bct.hash zerosbk
[   0.9427 ] Generating recovery mem-bct
[   0.9446 ] tegrabct_v2 --chip 0x19 0 --sdram /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1.cfg --membct /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1_1.bct /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1_2.bct /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1_3.bct /home/keti/Downloads/Jetpack5.1.2/JetPack_5.1.2_Linux_JETSON/Linux_for_Tegra/bootloader/11708/tmp5ecm43fi1_4.bct
[   0.9452 ] Packing sdram param for instance[0]
[   0.9708 ] Packing sdram param for instance[1]
[   0.9708 ] Packing sdram param for instance[2]
[   0.9709 ] Packing sdram param for instance[3]
[   0.9709 ] Packing sdram param for instance[4]
[   0.9711 ] Packing sdram param for instance[5]
[   0.9711 ] Packing sdram param for instance[6]
[   0.9711 ] Packing sdram param for instance[7]
[   0.9711 ] Packing sdram param for instance[8]
[   0.9711 ] Packing sdram param for instance[9]
[   0.9711 ] Packing sdram param for instance[10]
[   0.9711 ] Packing sdram param for instance[11]
[   0.9711 ] Packing sdram param for instance[12]
[   0.9711 ] Packing sdram param for instance[13]
[   0.9711 ] Packing sdram param for instance[14]
[   0.9711 ] Packing sdram param for instance[15]
[   0.9711 ] 
[   0.9723 ] tegrahost_v2 --chip 0x19 --align mem_rcm_aligned.bct
[   0.9741 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm_aligned.bct zerosbk
[   0.9750 ] adding BCH for mem_rcm_aligned.bct
[   0.9908 ] tegrasign_v3.py --key None --list mem_rcm_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   0.9910 ] Assuming zero filled SBK key
[   0.9922 ] Warning: pub_key.key is not found
[   0.9815 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_aligned_sigheader.bct.encrypt mem_rcm_aligned_sigheader.bct.hash zerosbk
[   0.9829 ] Copying signatures
[   0.9847 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   1.1232 ] Boot Rom communication
[   1.1244 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[   1.1252 ] BR_CID: 0x880219116428a0011000000016ff0040
[   1.1535 ] RCM version 0X190001
[   1.1981 ] Boot Rom communication completed
[   3.2270 ] tegrarcm_v2 --isapplet
[   3.2292 ] Applet version 01.00.0000
[   3.3055 ] Sending BCTs
[   3.3093 ] 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
[   3.3112 ] Applet version 01.00.0000
[   3.4134 ] Sending bct_bootrom
[   3.4135 ] [................................................] 100%
[   3.4149 ] Sending bct_mb1
[   3.4198 ] [................................................] 100%
[   3.4243 ] Sending bct_mem
[   3.4737 ] [................................................] 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
Failed flashing t186ref.

I tried several ways to resolve the error.

  1. I used SDK Manager and got the same error.
  2. I requested a customed BSP from the vendor and installed it, but the same error occurred.

And When I type lsusb in the host PC, I got the following result:

Bus 003 Device 019: ID 0955:7e19 NVIDIA Corp. APX

I’m not sure if the following results indicate that you’ve successfully entered recovery mode.

The PC I am using has one USB port, and I am using a provided micro-B USB cable.

Can you give me some instructions to solve it? I’d appreciate it.

What flash command did you use?
Can you first try flashing to eMMC/SD card?

I used the command ‘sudo ./install.sh’.
And since I don’t have an SD card, I can try flashing it with an SSD card.

I don’t know what’s inside the vendor’s script.
Please ask them how to flash into eMMC/SD card, and if it still fails, then either the module is dead or their BSP is problematic.

Thank you for your reply.

So, is it true that the recovery mode is working successfully other than the flash error?

YES,

This means recovery mode is working right.

I really appreciate your help in resolving the problem.

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