Jetson Xavier NX Flashing Fails After Replacing eMMC with Larger Capacity

Hello everyone,

I have replaced the eMMC with a larger capacity on my Jetson Xavier NX module, and I am using the official developer kit board. I am trying to flash the system using the following command:

My Jetpack version is 5.1.1, I have also tried on 5.1 and 5.0.2 with same error.

sudo ./flash.sh -S 56GiB jetson-xavier-nx-devkit-emmc mmcblk0p1

However, I am encountering an error during the flashing process. Here’s a part of the error log:

###############################################################################
# L4T BSP Information:
# R35 , REVISION: 1.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/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
./tegraflash.py --chip 0x19 --applet "/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/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.0032 ] Generating RCM messages
[   0.0038 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk
[   0.0043 ] Header already present for /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod.bin
[   0.0085 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0086 ] Assuming zero filled SBK key
[   0.0105 ] tegrasign_v3.py --file /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0106 ] Assuming zero filled SBK key
[   0.0118 ] Warning: pub_key.key is not found
[   0.0120 ] tegrahost_v2 --chip 0x19 0 --updatesigheader /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.hash zerosbk
[   0.0160 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[   0.0183 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0
[   0.0188 ] RCM 0 is saved as rcm_0.rcm
[   0.0205 ] RCM 1 is saved as rcm_1.rcm
[   0.0205 ] RCM 2 is saved as rcm_2.rcm
[   0.0205 ] List of rcm files are saved in rcm_list.xml
[   0.0205 ]
[   0.0205 ] Signing RCM messages
[   0.0227 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.0228 ] Assuming zero filled SBK key
[   0.0253 ] Warning: pub_key.key is not found
[   0.0249 ] Copying signature to RCM mesages
[   0.0266 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0274 ] Boot Rom communication
[   0.0291 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[   0.0296 ] RCM version 0X190001
[   0.4623 ] Boot Rom communication completed
[   2.4846 ] tegrarcm_v2 --isapplet
[   2.4860 ] Applet version 01.00.0000
[   3.3678 ] tegrarcm_v2 --ismb2
[   4.2774 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194_aligned.bin
[   4.2822 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194_aligned.bin zerosbk
[   4.2838 ] adding BCH for nvtboot_applet_t194_aligned.bin
[   4.2918 ] tegrasign_v3.py --key None --list nvtboot_applet_t194_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   4.2921 ] Assuming zero filled SBK key
[   4.2948 ] Warning: pub_key.key is not found
[   4.2971 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_aligned_sigheader.bin.encrypt nvtboot_applet_t194_aligned_sigheader.bin.hash zerosbk
[   4.3036 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[   4.3048 ] Applet version 01.00.0000
[   5.1846 ] Sending mb2
[   5.1847 ] [................................................] 100%
[   5.2040 ] tegrarcm_v2 --boot recovery
[   5.2058 ] Applet version 01.00.0000
[   7.1013 ] tegrarcm_v2 --isapplet
[   7.7805 ] tegrarcm_v2 --ismb2
[   7.7823 ] MB2 Applet version 01.00.0000
[   8.2523 ] tegrarcm_v2 --ismb2
[   8.2538 ] MB2 Applet version 01.00.0000
[   8.7290 ] Retrieving board information
[   8.7321 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[   8.7334 ] MB2 Applet version 01.00.0000
[   9.6189 ] Saved platform info in chip_info.bin
[   9.6231 ] Chip minor revision: 2
[   9.6233 ] Bootrom revision: 0xf
[   9.6235 ] Ram code: 0x0
[   9.6237 ] Chip sku: 0xde
[   9.6238 ] Chip Sample: non es
[   9.6246 ] Retrieving EEPROM data
[   9.6247 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/cvm.bin
[   9.6266 ] MB2 Applet version 01.00.0000
[  10.5275 ] Saved platform info in /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/cvm.bin
[  10.5674 ] Rebooting to recovery mode
[  10.5711 ] tegrarcm_v2 --ismb2
[  10.5728 ] MB2 Applet version 01.00.0000
[  11.4524 ] Rebooting to recovery mode
[  11.4562 ] tegrarcm_v2 --reboot recovery
[  11.4580 ] MB2 Applet version 01.00.0000
Board ID(3668) version(200) sku(0001) revision(G.0)
lz4c installed at /usr/bin/lz4c
Compressing /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p3668-a00.dtb ...
Copy /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb to /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb.rec
NVDISP+UEFI in bootloader/nvdisp-init.bin ..
copying bctfile(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg)... done.
copying bctfile1(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying minratchet_config(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-ratchet-p3668.cfg)... done.
copying device_config(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-qspi-p3668.cfg)... done.
copying misc_cold_boot_config(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done.
copying misc_config(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p3668-a01.cfg)... done.
copying gpioint_config(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg)... done.
copying pmic_config(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p3668-0001-a00.cfg)... done.
copying pmc_config(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p3668-a01.cfg)... done.
copying prod_config(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p3668-0001-a00.cfg)... done.
copying scr_config(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying scr_cold_boot_config(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying bootrom_config(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p3668-0001-a00.cfg)... done.
copying dev_params(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-qspi-l4t.cfg)... done.
copying dev_params_b(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct_b-qspi-l4t.cfg)... done.
Existing bootloader(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
Making Boot image... done.
/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --minratchet_config tegra194-mb1-bct-ratchet-p3668.cfg --cmd sign boot.img kernel
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.0006 ] Generating signature
[   0.0029 ] tegrasign_v3.py --key  --getmode mode.txt
[   0.0031 ] Assuming zero filled SBK key : not reading
[   0.0027 ] Generating ratchet blob
[   0.0045 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0050 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0051 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0051 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0051 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0051 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0051 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0051 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0051 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0051 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0051 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0051 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0051 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0051 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0051 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0052 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0052 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0052 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0052 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0052 ]
[   0.0052 ] header_magic: 414e4452
[   0.0207 ] tegrahost_v2 --chip 0x19 --align 1_boot_aligned.img
[   0.0218 ] tegrahost_v2 --chip 0x19 0 --magicid KRNL --ratchet_blob ratchet_blob.bin --appendsigheader 1_boot_aligned.img zerosbk
[   0.0223 ] adding BCH for 1_boot_aligned.img
[   0.5108 ] tegrasign_v3.py --key  --list 1_boot_aligned_sigheader.img_list.xml --pubkeyhash pub_key.key
[   0.5109 ] Assuming zero filled SBK key : not reading
[   0.5659 ] Warning: pub_key.key is not found
[   0.5674 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_boot_aligned_sigheader.img.encrypt 1_boot_aligned_sigheader.img.hash zerosbk
[   0.8620 ] Signed file: /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt
l4t_sign_image.sh: Generate header for boot_sigheader.img.encrypt
l4t_sign_image.sh: chip 0x19: add 0x281c000 to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for boot_sigheader.img.encrypt
l4t_sign_image.sh: the signed file is /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt
Making recovery ramdisk for recovery image...
Re-generating recovery ramdisk for recovery image...
/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/ramdisk_tmp /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra
36144 blocks

gzip: /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/kernel/Image: not in gzip format
_BASE_KERNEL_VERSION=5.10.104-tegra
53066 blocks
Making Recovery image...
copying recdtbfile(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb.rec)... done.
20+0 records in
20+0 records out
20 bytes copied, 0.000101585 s, 197 kB/s
Existing sosfile(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/bpmp-2_t194.bin) reused.
Existing bpfdtbfile(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegra194-a02-bpmp-p3668-a00_lz4.dtb) reused.
Existing scefile(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/camera-rtcpu-t194-rce.img) reused.
Existing apefile(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/adsp-fw.bin) reused.
Existing spefile(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing wb0boot(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tos-optee_t194.img) reused.
Existing eksfile(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/eks.img) reused.
copying soft_fuses(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --minratchet_config tegra194-mb1-bct-ratchet-p3668.cfg --cmd sign kernel_tegra194-p3668-0001-p3509-0000.dtb kernel_dtb
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.0113 ] Generating signature
[   0.0125 ] tegrasign_v3.py --key  --getmode mode.txt
[   0.0127 ] Assuming zero filled SBK key : not reading
[   0.0123 ] Generating ratchet blob
[   0.0141 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0146 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0148 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0148 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0149 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0149 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0149 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0149 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0149 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0149 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0149 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0149 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0149 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0149 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0149 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0149 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0149 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0149 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0149 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0149 ]
[   0.0149 ] header_magic: d00dfeed
[   0.0168 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-0001-p3509-0000_aligned.dtb
[   0.0180 ] tegrahost_v2 --chip 0x19 0 --magicid KDTB --ratchet_blob ratchet_blob.bin --appendsigheader 1_kernel_tegra194-p3668-0001-p3509-0000_aligned.dtb zerosbk
[   0.0185 ] adding BCH for 1_kernel_tegra194-p3668-0001-p3509-0000_aligned.dtb
[   0.0251 ] tegrasign_v3.py --key  --list 1_kernel_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0252 ] Assuming zero filled SBK key : not reading
[   0.0266 ] Warning: pub_key.key is not found
[   0.0279 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_kernel_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb.encrypt 1_kernel_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb.hash zerosbk
[   0.0309 ] Signed file: /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: Generate header for kernel_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: chip 0x19: add 0x4f10a to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: the signed file is /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt
        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/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/rootfs ...      populating /boot/extlinux/extlinux.conf ... done.
        generating sig file of Image ... /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --minratchet_config tegra194-mb1-bct-ratchet-p3668.cfg --cmd sign ./boot/Image kernel
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.0118 ] Generating signature
[   0.0142 ] tegrasign_v3.py --key  --getmode mode.txt
[   0.0143 ] Assuming zero filled SBK key : not reading
[   0.0139 ] Generating ratchet blob
[   0.0160 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0166 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0167 ]
[   0.0170 ] header_magic: 4d5a0091
[   0.0452 ] tegrahost_v2 --chip 0x19 --align 1_Image_aligned
[   0.0475 ] tegrahost_v2 --chip 0x19 0 --magicid KRNL --ratchet_blob ratchet_blob.bin --appendsigheader 1_Image_aligned zerosbk
[   0.0480 ] adding BCH for 1_Image_aligned
[   0.4388 ] tegrasign_v3.py --key  --list 1_Image_aligned_sigheader_list.xml --pubkeyhash pub_key.key
[   0.4389 ] Assuming zero filled SBK key : not reading
[   0.4871 ] Warning: pub_key.key is not found
[   0.4877 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_Image_aligned_sigheader.encrypt 1_Image_aligned_sigheader.hash zerosbk
[   0.7264 ] Signed file: /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mnt/Image_sigheader.encrypt
l4t_sign_image.sh: Generate header for Image_sigheader.encrypt
l4t_sign_image.sh: chip 0x19: add 0x2019200 to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for Image_sigheader.encrypt
l4t_sign_image.sh: the sign header is saved at ./boot/Image.sig
done.
        generating sig file of kernel_tegra194-p3668-0001-p3509-0000.dtb ... /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --minratchet_config tegra194-mb1-bct-ratchet-p3668.cfg --cmd sign ./boot/dtb/kernel_tegra194-p3668-0001-p3509-0000.dtb kernel_dtb
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.0119 ] Generating signature
[   0.0143 ] tegrasign_v3.py --key  --getmode mode.txt
[   0.0144 ] Assuming zero filled SBK key : not reading
[   0.0141 ] Generating ratchet blob
[   0.0160 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0165 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0167 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0167 ]
[   0.0174 ] header_magic: d00dfeed
[   0.0204 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-0001-p3509-0000_aligned.dtb
[   0.0228 ] tegrahost_v2 --chip 0x19 0 --magicid KDTB --ratchet_blob ratchet_blob.bin --appendsigheader 1_kernel_tegra194-p3668-0001-p3509-0000_aligned.dtb zerosbk
[   0.0232 ] adding BCH for 1_kernel_tegra194-p3668-0001-p3509-0000_aligned.dtb
[   0.0296 ] tegrasign_v3.py --key  --list 1_kernel_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0297 ] Assuming zero filled SBK key : not reading
[   0.0310 ] Warning: pub_key.key is not found
[   0.0324 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_kernel_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb.encrypt 1_kernel_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb.hash zerosbk
[   0.0354 ] Signed file: /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mnt/kernel_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: Generate header for kernel_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: chip 0x19: add 0x4f10a to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: the sign header is saved at ./boot/dtb/kernel_tegra194-p3668-0001-p3509-0000.dtb.sig
done.
        generating sig file of initrd ... /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --cmd sign ./boot/initrd data
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.0112 ] Generating signature
[   0.0134 ] tegrasign_v3.py --key  --getmode mode.txt
[   0.0135 ] Assuming zero filled SBK key : not reading
[   0.0135 ] header_magic: 1f8b0800
[   0.0221 ] tegrahost_v2 --chip 0x19 --align 1_initrd_aligned
[   0.0243 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_initrd_aligned zerosbk
[   0.0248 ] adding BCH for 1_initrd_aligned
[   0.1226 ] tegrasign_v3.py --key  --list 1_initrd_aligned_sigheader_list.xml --pubkeyhash pub_key.key
[   0.1227 ] Assuming zero filled SBK key : not reading
[   0.1349 ] Warning: pub_key.key is not found
[   0.1355 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_initrd_aligned_sigheader.encrypt 1_initrd_aligned_sigheader.hash zerosbk
[   0.1931 ] Signed file: /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mnt/initrd_sigheader.encrypt
l4t_sign_image.sh: Generate header for initrd_sigheader.encrypt
l4t_sign_image.sh: chip 0x19: add 0x8019a3 to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for initrd_sigheader.encrypt
l4t_sign_image.sh: the sign header is saved at ./boot/initrd.sig
done.
        generating sig file of extlinux.conf ... /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --cmd sign ./boot/extlinux/extlinux.conf data
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.0112 ] Generating signature
[   0.0136 ] tegrasign_v3.py --key  --getmode mode.txt
[   0.0138 ] Assuming zero filled SBK key : not reading
[   0.0134 ] header_magic: 54494d45
[   0.0154 ] tegrahost_v2 --chip 0x19 --align 1_extlinux_aligned.conf
[   0.0166 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_extlinux_aligned.conf zerosbk
[   0.0171 ] adding BCH for 1_extlinux_aligned.conf
[   0.0199 ] tegrasign_v3.py --key  --list 1_extlinux_aligned_sigheader.conf_list.xml --pubkeyhash pub_key.key
[   0.0200 ] Assuming zero filled SBK key : not reading
[   0.0210 ] Warning: pub_key.key is not found
[   0.0213 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_extlinux_aligned_sigheader.conf.encrypt 1_extlinux_aligned_sigheader.conf.hash zerosbk
[   0.0222 ] Signed file: /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mnt/extlinux_sigheader.conf.encrypt
l4t_sign_image.sh: Generate header for extlinux_sigheader.conf.encrypt
l4t_sign_image.sh: chip 0x19: add 0x3d0 to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for extlinux_sigheader.conf.encrypt
l4t_sign_image.sh: the sign header is saved at ./boot/extlinux/extlinux.conf.sig
done.
        Sync'ing system.img ... done.
        Converting RAW image to Sparse image... done.
system.img built successfully.
Existing tbcfile(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvdisp-init.bin) reused.
131072+0 records in
131072+0 records out
67108864 bytes (67 MB, 64 MiB) copied, 0.0939133 s, 715 MB/s
        Sync'ing esp.img ... done.
copying tbcdtbfile(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb)... done.
copying cfgfile(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc_p3668.xml) to flash.xml... done.
done.
Existing flasher(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py) reused.
Existing overlay_dtb(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/L4TConfiguration.dtbo) reused.
Existing overlay_dtb(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegra194-p3668-p3509-overlay.dtbo) reused.
Existing overlay_dtb(/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/L4TRootfsInfo.dtbo) reused.
./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,L4TRootfsInfo.dtbo  --bldtb tegra194-p3668-0001-p3509-0000.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.img; bootloader_dtb tegra194-p3668-0001-p3509-0000.dtb"   --secondary_gpt_backup  --bct_backup  --boot_chain A
saving flash command in /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/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.0191 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0192 ] Assuming zero filled SBK key
[   0.0021 ] Generating RCM messages
[   0.0032 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.0038 ] Header already present for mb1_t194_prod.bin
[   0.0251 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0252 ] Assuming zero filled SBK key
[   0.0271 ] tegrasign_v3.py --file mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0272 ] Assuming zero filled SBK key
[   0.0319 ] Warning: pub_key.key is not found
[   0.0167 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.0225 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.0265 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0272 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0278 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0278 ]
[   0.0305 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.0312 ] RCM 0 is saved as rcm_0.rcm
[   0.0343 ] RCM 1 is saved as rcm_1.rcm
[   0.0344 ] RCM 2 is saved as rcm_2.rcm
[   0.0345 ] List of rcm files are saved in rcm_list.xml
[   0.0345 ]
[   0.0345 ] Signing RCM messages
[   0.0538 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.0540 ] Assuming zero filled SBK key
[   0.0581 ] Warning: pub_key.key is not found
[   0.0410 ] Copying signature to RCM mesages
[   0.0429 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0442 ] odmdata (to decode) = 3088646144
[   0.0442 ] Odmdata strings: PCIE_XBAR_8_1_1_0_1,UFS_DISABLED,NVHS_PCIE,enable-debug-console,enable-denver-wdt
[   0.0442 ] 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.0460 ] bpmp_dtb is compressed; decompressing...
[   0.0460 ] lz4c -df tegra194-a02-bpmp-p3668-a00_lz4.dtb tegra194-a02-bpmp-p3668-a00_lz4_with_odm.dtb
[   0.0482 ] tegra194-a02-bpmp-p3 : decoded 442560 bytes
[   0.0482 ]
[   0.1057 ] Re-compressing updated bpmp_dtb
[   0.1057 ] lz4c -zf tegra194-a02-bpmp-p3668-a00_lz4_with_odm.dtb tegra194-a02-bpmp-p3668-a00_lz4.dtb
[   0.1071 ] Compressed 442529 bytes into 32067 bytes ==> 7.25%
[   0.1071 ]
[   0.2535 ] Concatenating L4TConfiguration.dtbo,tegra194-p3668-p3509-overlay.dtbo,L4TRootfsInfo.dtbo to tegra194-p3668-0001-p3509-0000_with_odm_overlay.dtb
[   0.2538 ] Parsing partition layout
[   0.2583 ] tegraparser_v2 --pt flash.xml.tmp
[   0.2604 ] Reading ramcode from backup chip_info.bin file
[   0.2605 ] RAMCODE Read from Device: 0

[   0.2610 ] Disable BPMP dtb trim, using default dtb
[   0.2610 ]
[   0.2611 ] Creating list of images to be signed
[   0.2618 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[   0.2625 ] MB1: Nvheader already present is mb1_t194_prod_aligned.bin
[   0.2628 ] Header already present for mb1_t194_prod_aligned_sigheader.bin
[   0.2629 ] MB1: Nvheader already present is mb1_b_t194_prod_aligned.bin
[   0.2645 ] Header already present for mb1_b_t194_prod_aligned_sigheader.bin
[   0.2646 ] adding BCH for spe_t194_aligned.bin
[   0.2680 ] adding BCH for nvtboot_t194_aligned.bin
[   0.2699 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   0.2723 ] Header already present for mce_c10_prod_cr_aligned.bin
[   0.2730 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   0.2813 ] Header already present for warmboot_t194_prod_aligned.bin
[   0.3193 ] adding BCH for xusb_sil_rel_fw_aligned
[   0.3200 ] adding BCH for nvdisp-init_aligned.bin
[   0.3254 ] adding BCH for tegra194-p3668-0001-p3509-0000_aligned.dtb
[   0.3607 ] adding BCH for tos-optee_t194_aligned.img
[   0.3665 ] adding BCH for eks_aligned.img
[   0.3761 ] adding BCH for adsp-fw_aligned.bin
[   0.3771 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   0.3829 ] adding BCH for bpmp-2_t194_aligned.bin
[   0.3911 ] adding BCH for tegra194-a02-bpmp-p3668-a00_lz4_aligned.dtb
[   0.4023 ] adding BCH for spe_t194_aligned.bin
[   0.4027 ] adding BCH for nvtboot_t194_aligned.bin
[   0.4040 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   0.4062 ] Header already present for mce_c10_prod_cr_aligned.bin
[   0.4064 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   0.4119 ] Header already present for warmboot_t194_prod_aligned.bin
[   0.4497 ] adding BCH for xusb_sil_rel_fw_aligned
[   0.4500 ] adding BCH for nvdisp-init_aligned.bin
[   0.4553 ] adding BCH for tegra194-p3668-0001-p3509-0000_aligned.dtb
[   0.4900 ] adding BCH for tos-optee_t194_aligned.img
[   0.4947 ] adding BCH for eks_aligned.img
[   0.5042 ] adding BCH for adsp-fw_aligned.bin
[   0.5047 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   0.5098 ] adding BCH for bpmp-2_t194_aligned.bin
[   0.5169 ] adding BCH for tegra194-a02-bpmp-p3668-a00_lz4_aligned.dtb
[   0.5287 ] Filling MB1 storage info
[   0.5287 ] Parsing dev params for multi chains
[   0.5288 ] Generating br-bct
[   0.5311 ] Performing cfg overlay
[   0.5311 ] ['tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg', 'tegra194-memcfg-sw-override.cfg']
[   0.5312 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg -s tegra194-memcfg-sw-override.cfg -o /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/3832867/tmpgaldch6w1.cfg
[   0.5585 ] Updating dev and MSS params in BR BCT
[   0.5586 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi-l4t.cfg --sdram /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/3832867/tmpgaldch6w1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   0.5835 ] Updating bl info
[   0.5855 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   0.5868 ] Generating br-bct
[   0.5888 ] Performing cfg overlay
[   0.5888 ] ['/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/3832867/tmpgaldch6w1.cfg']
[   0.5888 ] Updating dev and MSS params in BR BCT
[   0.5888 ] tegrabct_v2 --dev_param tegra194-br-bct_b-qspi-l4t.cfg --sdram /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/3832867/tmpgaldch6w1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   0.6135 ] Updating bl info
[   0.6155 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   0.6167 ] Generating BCT backup image
[   0.6168 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   0.6175 ] 32768+0 records in
[   0.6348 ] 32768+0 records out
[   0.6348 ] 32768 bytes (33 kB, 32 KiB) copied, 0.0169952 s, 1.9 MB/s
[   0.6348 ]
[   0.6348 ] Concatenating BCT for chain A to bct_backup.img

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

[   0.6369 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   0.6376 ] 2888+0 records in
[   0.6388 ] 2888+0 records out
[   0.6388 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.000998496 s, 2.9 MB/s
[   0.6388 ]
[   0.6388 ] Generating signatures
[   0.6579 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key
[   0.6580 ] Assuming zero filled SBK key
[   0.7091 ] Warning: pub_key.key is not found
[   0.6921 ] Parsing dev params for multi chains
[   0.6921 ] Generating br-bct
[   0.6938 ] Performing cfg overlay
[   0.6939 ] ['/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/3832867/tmpgaldch6w1.cfg']
[   0.6939 ] Updating dev and MSS params in BR BCT
[   0.6939 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi-l4t.cfg --sdram /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/3832867/tmpgaldch6w1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   0.7183 ] Updating bl info
[   0.7201 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   0.7218 ] Updating smd info
[   0.7239 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   0.7248 ] Updating Odmdata
[   0.7267 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[   0.7275 ] Signing BCT
[   0.7275 ] Get Signed section of bct
[   0.7293 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   0.7490 ] tegrasign_v3.py --key None --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.7491 ] Assuming zero filled SBK key
[   0.7503 ] Warning: pub_key.key is not found
[   0.7332 ] Updating BCT with signature
[   0.7351 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   0.7363 ] Generating br-bct
[   0.7385 ] Performing cfg overlay
[   0.7385 ] ['/home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/3832867/tmpgaldch6w1.cfg']
[   0.7385 ] Updating dev and MSS params in BR BCT
[   0.7386 ] tegrabct_v2 --dev_param tegra194-br-bct_b-qspi-l4t.cfg --sdram /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/3832867/tmpgaldch6w1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   0.7671 ] Updating bl info
[   0.7690 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   0.7706 ] Updating smd info
[   0.7725 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   0.7734 ] Updating Odmdata
[   0.7754 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[   0.7764 ] Signing BCT
[   0.7764 ] Get Signed section of bct
[   0.7783 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   0.7984 ] tegrasign_v3.py --key None --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.7985 ] Assuming zero filled SBK key
[   0.7999 ] Warning: pub_key.key is not found
[   0.7828 ] Updating BCT with signature
[   0.7850 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   0.7864 ] Generating BCT backup image
[   0.7864 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   0.7877 ] 32768+0 records in
[   0.8082 ] 32768+0 records out
[   0.8082 ] 32768 bytes (33 kB, 32 KiB) copied, 0.0200958 s, 1.6 MB/s
[   0.8082 ]
[   0.8082 ] Concatenating BCT for chain A to bct_backup.img

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

[   0.8103 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   0.8112 ] 2888+0 records in
[   0.8125 ] 2888+0 records out
[   0.8125 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00101857 s, 2.8 MB/s
[   0.8125 ]
[   0.8125 ] Generating coldboot mb1-bct
[   0.8147 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/gtm/nvidia/nvidia_sdk/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/3832867/tmpgaldch6w1.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.8154 ] MB1-BCT version: 0x1

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

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

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

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

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

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

[   0.8231 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg
[   0.8232 ] Added Platform Config 7 data with size :- 392

[   0.8233 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg
[   0.8234 ] Added Platform Config 9 data with size :- 40
[   0.8234 ]
[   0.8235 ] Updating mb1-bct with firmware information
[   0.8255 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   0.8261 ] Start sector for secure-os_b, expected >= 117639168, actual 0
Error: Return value 4
Command tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
Failed flashing t186ref.

Based on the error log, the issue seems to be related to the partition layout. I have tried modifying the partition size settings in the p3668.conf.common and flash.xml files, but the problem persists.

Can anyone provide suggestions on how to resolve this issue? Or are there any relevant documents or tutorials to refer to?

Thank you for your help!

Sorry to tell that we do not support customer to modify the module itself. There is no any design document which can be as reference.

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