Flash.sh kernel[_dtb] fails with return code 8

Hello,

I’m working on bringing up a new platform based on the Xavier NX SOM and am just getting started with the SDK. We have a custom carrier board with which we can flash the Jetson using SDKManager without issue.

SOM P3668, Jetpack 4.6.1 (for now), host ubuntu 18.04.

My end goal is simply to tweak the system DTB such that CSI imager sensor 1 is driven by I2C address 0–hopefully just a matter of changing the video node devices. But these details are for a different post.

To achieve this and future work requiring changes to GPIO pinmuxing it seems like I’ll need to run flash.sh with modified files. When I run this command, I get the attached output.

sudo ./flash.sh -k kernel_dtb jetson-xavier mmcblk0p1

Board ID(3668) version(301) sku(0001) revision(F.0)
copying bctfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p2888.cfg)... done.
copying bctfile1(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying uphy_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg)... done.
copying minratchet_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg)... done.
copying device_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-sdmmc.cfg)... done.
copying misc_cold_boot_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done.
copying misc_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg)... done.
copying gpioint_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg)... done.
copying pmic_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p2888-0001-a01-p2822-0000.cfg)... done.
copying pmc_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg)... done.
copying prod_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg)... done.
copying scr_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini.cfg)... done.
copying scr_cold_boot_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini.cfg)... done.
copying bootrom_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg)... done.
copying dev_params(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-sdmmc.cfg)... done.
Existing bootloader(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
Making Boot image... done.
/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --minratchet_config tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.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.0004 ] Generating signature
[   0.0028 ] tegrasign_v3.py --getmode mode.txt --key 
[   0.0029 ] Assuming zero filled SBK key : not reading 
[   0.0028 ] Generating ratchet blob
[   0.0047 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[   0.0053 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0055 ] FwIndex: 32, MinRatchetLevel: 0
[   0.0055 ] 
[   0.0056 ] header_magic: 414e4452
[   0.0075 ] tegrahost_v2 --chip 0x19 --align 1_boot.img
[   0.0082 ] 
[   0.0101 ] tegrahost_v2 --chip 0x19 0 --magicid KRNL --ratchet_blob ratchet_blob.bin --appendsigheader 1_boot.img zerosbk
[   0.0108 ] adding BCH for 1_boot.img
[   0.8608 ] 
[   0.8638 ] tegrasign_v3.py --key  --list 1_boot_sigheader.img_list.xml --pubkeyhash pub_key.key
[   0.8639 ] Assuming zero filled SBK key : not reading 
[   0.9518 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_boot_sigheader.img.encrypt 1_boot_sigheader.img.hash zerosbk
[   1.4934 ] 
[   1.5224 ] Signed file: /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_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 0x27cb800 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/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt
done.
Existing sosfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/bpmp_t194.bin) reused.
copying bpfdtbfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p2888-a01.dtb)... done.
Existing scefile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/camera-rtcpu-rce.img) reused.
Existing spefile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing wb0boot(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tos-trusty_t194.img) reused.
Existing eksfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/eks.img) reused.
copying soft_fuses(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --minratchet_config tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg --cmd sign kernel_tegra194-p2888-0001-p2822-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.0006 ] Generating signature
[   0.0030 ] tegrasign_v3.py --getmode mode.txt --key 
[   0.0030 ] Assuming zero filled SBK key : not reading 
[   0.0030 ] Generating ratchet blob
[   0.0049 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[   0.0055 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0057 ] FwIndex: 32, MinRatchetLevel: 0
[   0.0057 ] 
[   0.0058 ] header_magic: d00dfeed
[   0.0078 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p2888-0001-p2822-0000.dtb
[   0.0085 ] 
[   0.0105 ] tegrahost_v2 --chip 0x19 0 --magicid KDTB --ratchet_blob ratchet_blob.bin --appendsigheader 1_kernel_tegra194-p2888-0001-p2822-0000.dtb zerosbk
[   0.0111 ] adding BCH for 1_kernel_tegra194-p2888-0001-p2822-0000.dtb
[   0.0169 ] 
[   0.0196 ] tegrasign_v3.py --key  --list 1_kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0197 ] Assuming zero filled SBK key : not reading 
[   0.0242 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt 1_kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.hash zerosbk
[   0.0279 ] 
[   0.0283 ] Signed file: /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: Generate header for kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: chip 0x19: add 0x45767 to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: the signed file is /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt
done.
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating kernel_tegra194-p2888-0001-p2822-0000.dtb to rootfs... done.
Existing tbcfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/cboot_t194.bin) reused.
copying tbcdtbfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb)... done.
copying cfgfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/cfg/flash_t194_sdmmc.xml) to flash.xml... done.
Existing flasher(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py) reused.
*** Updating [kernel-dtb] with kernel_tegra194-p2888-0001-p2822-0000.dtb ***
./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin  --chip 0x19 --applet mb1_t194_prod.bin --sdram_config tegra194-mb1-bct-memcfg-p2888.cfg,tegra194-memcfg-sw-override.cfg --uphy_config tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --minratchet_config tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg --device_config tegra19x-mb1-bct-device-sdmmc.cfg --misc_cold_boot_config tegra194-mb1-bct-misc-l4t.cfg --misc_config tegra194-mb1-bct-misc-flash.cfg --pinmux_config tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --gpioint_config tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --pmic_config tegra194-mb1-bct-pmic-p2888-0001-a01-p2822-0000.cfg --pmc_config tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --prod_config tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --scr_config tegra194-mb1-bct-scr-cbb-mini.cfg --scr_cold_boot_config tegra194-mb1-bct-scr-cbb-mini.cfg --br_cmd_config tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --dev_params tegra194-br-bct-sdmmc.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_t194.bin; bpmp_fw_dtb tegra194-a02-bpmp-p2888-a01.dtb; spe_fw spe_t194.bin; tlk tos-trusty_t194.img; eks eks.img; bootloader_dtb tegra194-p2888-0001-p2822-0000.dtb"  --odmdata 0x9190000  --cmd "signwrite kernel-dtb kernel_tegra194-p2888-0001-p2822-0000.dtb; reboot"  
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.0089 ] tegrasign_v3.py --getmode mode.txt --key None
[   0.0089 ] Assuming zero filled SBK key
[   0.0089 ] header_magic: d00dfeed
[   0.0109 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p2888-0001-p2822-0000.dtb
[   0.0116 ] 
[   0.0136 ] tegrahost_v2 --chip 0x19 0 --magicid  --appendsigheader 1_kernel_tegra194-p2888-0001-p2822-0000.dtb zerosbk
[   0.0142 ] adding BCH for 1_kernel_tegra194-p2888-0001-p2822-0000.dtb
[   0.0200 ] 
[   0.0224 ] tegrasign_v3.py --key None --list 1_kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0224 ] Assuming zero filled SBK key
[   0.0270 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt 1_kernel_tegra194-p2888-0001-p2822-0000_sigheader.dtb.hash zerosbk
[   0.0307 ] 
[   0.0308 ] Generating RCM messages
[   0.0328 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.0335 ] Header already present for mb1_t194_prod.bin
[   0.0362 ] 
[   0.0384 ] tegrasign_v3.py --getmode mode.txt --key None
[   0.0385 ] Assuming zero filled SBK key
[   0.0405 ] tegrasign_v3.py --file mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0406 ] Assuming zero filled SBK key
[   0.0447 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.0481 ] 
[   0.0500 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.0508 ] 
[   0.0528 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[   0.0534 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0536 ] FwIndex: 32, MinRatchetLevel: 0
[   0.0536 ] 
[   0.0555 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.0562 ] RCM 0 is saved as rcm_0.rcm
[   0.0588 ] RCM 1 is saved as rcm_1.rcm
[   0.0588 ] RCM 2 is saved as rcm_2.rcm
[   0.0588 ] List of rcm files are saved in rcm_list.xml
[   0.0588 ] 
[   0.0588 ] Signing RCM messages
[   0.0610 ] tegrasign_v3.py --getmontgomeryvalues montgomery.bin --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0611 ] Assuming zero filled SBK key
[   0.0670 ] Copying signature to RCM mesages
[   0.0689 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0701 ] 
[   0.0701 ] Boot Rom communication
[   0.0721 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[   0.0727 ] BR_CID: 0x880219116429e0461400000003ff01c0
[   0.1017 ] RCM version 0X190001
[   0.1464 ] Boot Rom communication completed
[   1.1630 ] 
[   2.1692 ] tegrarcm_v2 --isapplet
[   2.1721 ] Applet version 01.00.0000
[   2.2435 ] 
[   2.2458 ] tegrasign_v3.py --getmode mode.txt --key None
[   2.2459 ] Assuming zero filled SBK key
[   2.2458 ] Parsing partition layout
[   2.2480 ] tegraparser_v2 --pt flash.xml.tmp
[   2.2529 ] 
[   2.2530 ] Creating list of images to be signed
[   2.2571 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[   2.2594 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   2.2610 ] Header already present for mb1_t194_prod_sigheader.bin
[   2.2625 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   2.2663 ] Header already present for mb1_t194_prod_sigheader.bin
[   2.2672 ] adding BCH for spe_t194.bin
[   2.2696 ] adding BCH for spe_t194.bin
[   2.2714 ] adding BCH for nvtboot_t194.bin
[   2.2732 ] adding BCH for nvtboot_t194.bin
[   2.2767 ] Header already present for preboot_c10_prod_cr.bin
[   2.2802 ] Header already present for preboot_c10_prod_cr.bin
[   2.2804 ] Header already present for mce_c10_prod_cr.bin
[   2.2807 ] Header already present for mce_c10_prod_cr.bin
[   2.2821 ] adding BCH for mts_c10_prod_cr.bin
[   2.2854 ] adding BCH for mts_c10_prod_cr.bin
[   2.3539 ] adding BCH for cboot_t194.bin
[   2.4216 ] adding BCH for cboot_t194.bin
[   2.4307 ] adding BCH for tegra194-p2888-0001-p2822-0000.dtb
[   2.4400 ] adding BCH for tegra194-p2888-0001-p2822-0000.dtb
[   2.4455 ] adding BCH for tos-trusty_t194.img
[   2.4510 ] adding BCH for tos-trusty_t194.img
[   2.4588 ] adding BCH for eks.img
[   2.4666 ] adding BCH for eks.img
[   2.4666 ] adding BCH for bpmp_t194.bin
[   2.4672 ] adding BCH for bpmp_t194.bin
[   2.4841 ] adding BCH for tegra194-a02-bpmp-p2888-a01.dtb
[   2.5012 ] adding BCH for tegra194-a02-bpmp-p2888-a01.dtb
[   2.5160 ] adding BCH for xusb_sil_rel_fw
[   2.5305 ] adding BCH for xusb_sil_rel_fw
[   2.5330 ] adding BCH for camera-rtcpu-rce.img
[   2.5356 ] adding BCH for camera-rtcpu-rce.img
[   2.5408 ] adding BCH for adsp-fw.bin
[   2.5459 ] adding BCH for adsp-fw.bin
[   2.5474 ] Header already present for warmboot_t194_prod.bin
[   2.5491 ] Header already present for warmboot_t194_prod.bin
[   2.5497 ] adding BCH for boot.img
[   2.5763 ] adding BCH for boot.img
[   3.4270 ] adding BCH for kernel_tegra194-p2888-0001-p2822-0000.dtb
[   4.3419 ] adding BCH for kernel_tegra194-p2888-0001-p2822-0000.dtb
[   4.3766 ] 
[   4.3767 ] Filling MB1 storage info
[   4.3767 ] Generating br-bct
[   4.3794 ] Performing cfg overlay
[   4.3794 ] ['tegra194-mb1-bct-memcfg-p2888.cfg', 'tegra194-memcfg-sw-override.cfg']
[   4.3799 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p2888.cfg -s tegra194-memcfg-sw-override.cfg -o /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1.cfg
[   4.4169 ] 
[   4.4170 ] Updating dev and MSS params in BR BCT
[   4.4170 ] tegrabct_v2 --dev_param tegra194-br-bct-sdmmc.cfg --sdram /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   4.4873 ] 
[   4.4873 ] Updating bl info
[   4.4893 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   4.4913 ] 
[   4.4913 ] Generating signatures
[   4.4935 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key
[   4.4936 ] Assuming zero filled SBK key
[   4.8774 ] Send BCT from Host
[   4.8774 ] Generating br-bct
[   4.8815 ] Performing cfg overlay
[   4.8815 ] ['/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1.cfg']
[   4.8815 ] Updating dev and MSS params in BR BCT
[   4.8817 ] tegrabct_v2 --dev_param tegra194-br-bct-sdmmc.cfg --sdram /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   4.9843 ] 
[   4.9843 ] Updating bl info
[   4.9866 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   4.9895 ] 
[   4.9896 ] Updating smd info
[   4.9918 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   4.9927 ] 
[   4.9927 ] Updating Odmdata
[   4.9947 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0x9190000
[   4.9957 ] 
[   4.9957 ] Get Signed section of bct
[   4.9976 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   4.9985 ] 
[   5.0005 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[   5.0012 ] Assuming zero filled SBK key
[   5.0224 ] 
[   5.0224 ] Updating BCT with signature
[   5.0247 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   5.0257 ] 
[   5.0258 ] Generating coldboot mb1-bct
[   5.0280 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1.cfg --misc tegra194-mb1-bct-misc-l4t.cfg --scr tegra194-mb1-bct-scr-cbb-mini.cfg --pinmux tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --pmc tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --pmic tegra194-mb1-bct-pmic-p2888-0001-a01-p2822-0000.cfg --brcommand tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --prod tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --gpioint tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --uphy tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --device tegra19x-mb1-bct-device-sdmmc.cfg
[   5.0287 ] MB1-BCT version: 0x1

[   5.0289 ] Parsing config file :tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg 
[   5.0293 ] Added Platform Config 0 data with size :- 3168

[   5.0307 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini.cfg 
[   5.0309 ] File read failed
[   5.0354 ] File read failed
[   5.0443 ] Added Platform Config 1 data with size :- 19640

[   5.0445 ] Parsing config file :tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg 
[   5.0448 ] Added Platform Config 2 data with size :- 24

[   5.0450 ] Parsing config file :tegra194-mb1-bct-pmic-p2888-0001-a01-p2822-0000.cfg 
[   5.0452 ] File read failed
[   5.0453 ] File read failed
[   5.0454 ] Added Platform Config 4 data with size :- 380

[   5.0455 ] Parsing config file :tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg 
[   5.0458 ] Added Platform Config 3 data with size :- 92
[   5.0459 ] 
[   5.0459 ] Parsing config file :tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg 
[   5.0459 ] Added Platform Config 5 data with size :- 68
[   5.0459 ] 
[   5.0459 ] Parsing config file :tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg 
[   5.0459 ] Added Platform Config 7 data with size :- 392
[   5.0459 ] 
[   5.0459 ] Parsing config file :tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg 
[   5.0459 ] Added Platform Config 8 data with size :- 12
[   5.0459 ] 
[   5.0459 ] Parsing config file :tegra19x-mb1-bct-device-sdmmc.cfg 
[   5.0459 ] Added Platform Config 9 data with size :- 32
[   5.0459 ] 
[   5.0459 ] Updating mb1-bct with firmware information
[   5.0479 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   5.0486 ] MB1-BCT version: 0x1
[   5.0489 ] 
[   5.0489 ] Updating mb1-bct with storage information
[   5.0509 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   5.0515 ] MB1-BCT version: 0x1
[   5.0518 ] 
[   5.0518 ] Updating mb1-bct with ratchet information
[   5.0538 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[   5.0545 ] MB1-BCT version: 0x1
[   5.0546 ] FwIndex: 1, MinRatchetLevel: 0
[   5.0547 ] FwIndex: 2, MinRatchetLevel: 0
[   5.0547 ] FwIndex: 3, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 4, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 5, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 6, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 7, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 11, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 12, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 13, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 14, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 15, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 16, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 17, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 18, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 19, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 30, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 31, MinRatchetLevel: 0
[   5.0548 ] FwIndex: 32, MinRatchetLevel: 0
[   5.0548 ] 
[   5.0568 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1.bct
[   5.0575 ] 
[   5.0595 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[   5.0601 ] adding BCH for mb1_cold_boot_bct_MB1.bct
[   5.0608 ] 
[   5.0632 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.0632 ] Assuming zero filled SBK key
[   5.0672 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[   5.0683 ] 
[   5.0684 ] Generating recovery mb1-bct
[   5.0706 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1.cfg --misc tegra194-mb1-bct-misc-flash.cfg --scr tegra194-mb1-bct-scr-cbb-mini.cfg --pinmux tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --pmc tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --pmic tegra194-mb1-bct-pmic-p2888-0001-a01-p2822-0000.cfg --brcommand tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --prod tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --gpioint tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --uphy tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --device tegra19x-mb1-bct-device-sdmmc.cfg
[   5.0713 ] MB1-BCT version: 0x1

[   5.0715 ] Parsing config file :tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg 
[   5.0718 ] Added Platform Config 0 data with size :- 3168

[   5.0733 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini.cfg 
[   5.0735 ] File read failed
[   5.0778 ] File read failed
[   5.0868 ] Added Platform Config 1 data with size :- 19640

[   5.0869 ] Parsing config file :tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg 
[   5.0872 ] Added Platform Config 2 data with size :- 24

[   5.0874 ] Parsing config file :tegra194-mb1-bct-pmic-p2888-0001-a01-p2822-0000.cfg 
[   5.0877 ] File read failed
[   5.0878 ] File read failed
[   5.0878 ] Added Platform Config 4 data with size :- 380

[   5.0880 ] Parsing config file :tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg 
[   5.0883 ] Added Platform Config 3 data with size :- 92
[   5.0883 ] 
[   5.0883 ] Parsing config file :tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg 
[   5.0883 ] Added Platform Config 5 data with size :- 68
[   5.0883 ] 
[   5.0883 ] Parsing config file :tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg 
[   5.0883 ] Added Platform Config 7 data with size :- 392
[   5.0883 ] 
[   5.0883 ] Parsing config file :tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg 
[   5.0883 ] Added Platform Config 8 data with size :- 12
[   5.0883 ] 
[   5.0883 ] Parsing config file :tegra19x-mb1-bct-device-sdmmc.cfg 
[   5.0883 ] Added Platform Config 9 data with size :- 32
[   5.0883 ] 
[   5.0883 ] Updating mb1-bct with firmware information
[   5.0903 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[   5.0910 ] MB1-BCT version: 0x1
[   5.0913 ] 
[   5.0913 ] Updating mb1-bct with storage information
[   5.0931 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   5.0938 ] MB1-BCT version: 0x1
[   5.0941 ] 
[   5.0941 ] Updating mb1-bct with ratchet information
[   5.0961 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[   5.0968 ] MB1-BCT version: 0x1
[   5.0970 ] FwIndex: 1, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 2, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 3, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 4, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 5, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 6, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 7, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 11, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 12, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 13, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 14, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 15, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 16, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 17, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 18, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 19, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 30, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 31, MinRatchetLevel: 0
[   5.0971 ] FwIndex: 32, MinRatchetLevel: 0
[   5.0971 ] 
[   5.0991 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1.bct
[   5.0998 ] 
[   5.1018 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1.bct zerosbk
[   5.1025 ] adding BCH for mb1_bct_MB1.bct
[   5.1032 ] 
[   5.1056 ] tegrasign_v3.py --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.1056 ] Assuming zero filled SBK key
[   5.1098 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[   5.1109 ] 
[   5.1110 ] Generating coldboot mem-bct
[   5.1129 ] tegrabct_v2 --chip 0x19 0 --sdram /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1.cfg --membct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1_1.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1_2.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1_3.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1_4.bct
[   5.1136 ] Packing sdram param for instance[0]
[   5.1831 ] Packing sdram param for instance[1]
[   5.1833 ] Packing sdram param for instance[2]
[   5.1834 ] Packing sdram param for instance[3]
[   5.1835 ] Packing sdram param for instance[4]
[   5.1835 ] Packing sdram param for instance[5]
[   5.1835 ] Packing sdram param for instance[6]
[   5.1835 ] Packing sdram param for instance[7]
[   5.1835 ] Packing sdram param for instance[8]
[   5.1835 ] Packing sdram param for instance[9]
[   5.1835 ] Packing sdram param for instance[10]
[   5.1835 ] Packing sdram param for instance[11]
[   5.1835 ] Packing sdram param for instance[12]
[   5.1835 ] Packing sdram param for instance[13]
[   5.1835 ] Packing sdram param for instance[14]
[   5.1835 ] Packing sdram param for instance[15]
[   5.1835 ] 
[   5.1835 ] Getting sector size from pt
[   5.1856 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[   5.1866 ] 
[   5.1867 ] BlockSize read from layout is 200

[   5.1887 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1_1.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1_2.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1_3.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1_4.bct
[   5.1895 ] adding BCH for /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1_1.bct
[   5.1918 ] 
[   5.1941 ] tegrahost_v2 --chip 0x19 --align mem_coldboot.bct
[   5.1951 ] 
[   5.1970 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_coldboot.bct zerosbk
[   5.1977 ] Header already present for mem_coldboot.bct
[   5.1980 ] 
[   5.2004 ] tegrasign_v3.py --key None --list mem_coldboot_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.2005 ] Assuming zero filled SBK key
[   5.2048 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_sigheader.bct.encrypt mem_coldboot_sigheader.bct.hash zerosbk
[   5.2059 ] 
[   5.2060 ] Generating recovery mem-bct
[   5.2079 ] tegrabct_v2 --chip 0x19 0 --sdram /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1.cfg --membct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1_1.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1_2.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1_3.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/6055/tmpjdpk8_5a1_4.bct
[   5.2086 ] Packing sdram param for instance[0]
[   5.2780 ] Packing sdram param for instance[1]
[   5.2781 ] Packing sdram param for instance[2]
[   5.2783 ] Packing sdram param for instance[3]
[   5.2783 ] Packing sdram param for instance[4]
[   5.2784 ] Packing sdram param for instance[5]
[   5.2784 ] Packing sdram param for instance[6]
[   5.2784 ] Packing sdram param for instance[7]
[   5.2784 ] Packing sdram param for instance[8]
[   5.2784 ] Packing sdram param for instance[9]
[   5.2784 ] Packing sdram param for instance[10]
[   5.2784 ] Packing sdram param for instance[11]
[   5.2784 ] Packing sdram param for instance[12]
[   5.2784 ] Packing sdram param for instance[13]
[   5.2784 ] Packing sdram param for instance[14]
[   5.2784 ] Packing sdram param for instance[15]
[   5.2784 ] 
[   5.2785 ] Reading ramcode from backup chip_info.bin file
[   5.2785 ] RAMCODE Read from Device: 0

[   5.2807 ] tegrahost_v2 --chip 0x19 --align mem_rcm.bct
[   5.2815 ] 
[   5.2835 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm.bct zerosbk
[   5.2842 ] adding BCH for mem_rcm.bct
[   5.2853 ] 
[   5.2877 ] tegrasign_v3.py --key None --list mem_rcm_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.2878 ] Assuming zero filled SBK key
[   5.2919 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_sigheader.bct.encrypt mem_rcm_sigheader.bct.hash zerosbk
[   5.2932 ] 
[   5.2933 ] Sending BCTs
[   5.2953 ] 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.2959 ] Applet version 01.00.0000
[   5.3681 ] Sending bct_bootrom
[   5.3682 ] [................................................] 100%
[   5.3689 ] Sending bct_mb1
[   5.3746 ] [................................................] 100%
[   5.3787 ] Sending bct_mem
[   5.4347 ] [................................................] 100%
[   5.5523 ] 
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 to flash/read t186ref.

hello shoelick,

you cannot use this platform configuration since you’re having customize board. in addition, you use use Xavier NX instead of AGX Xavier.

Thanks Jerry for highlighting that jetson-xavier board config corresponds to AGX Xavier and for anything with Xavier NX you must use one of the jetson-xavier-nx-devkit configs.

As I mentioned, we can flash using the SDKManager GUI which detects a Xavier NX Devkit and flashes successfully. We can in fact boot Jetpack with our custom board–the board effectively the same as the devkit carrier board with changes to camera topology. I’d like to be more clear that I’m just trying to reproduce what the SDKManager GUI is capable of doing, but instead with the flash.sh script. This is with an unmodified SDK copy as pulled by SDKManager.

Changing the board config got past the return value 8 problem but now the script seems to hang and not finish. When I enter:
sudo ./flash.sh -k kernel-dtb jetson-xavier-nx-devkit mmcblk0p1

The script does not exit, it hangs at the point where the logs stop below. I think I maybe have gotten a stack trace once; I will add it to this post if I can get it again.

###############################################################################
# L4T BSP Information:
# R32 , REVISION: 7.1
###############################################################################
# Target Board Information:
# Name: jetson-xavier-nx-devkit, Board Family: t186ref, SoC: Tegra 194, 
# OpMode: production, Boot Authentication: NS, 
# Disk encryption: disabled ,
###############################################################################
copying soft_fuses(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
./tegraflash.py --chip 0x19 --applet "/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_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.0040 ] Generating RCM messages
[   0.0061 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk
[   0.0067 ] Header already present for /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod.bin
[   0.0094 ] 
[   0.0116 ] tegrasign_v3.py --getmode mode.txt --key None
[   0.0117 ] Assuming zero filled SBK key
[   0.0137 ] tegrasign_v3.py --file /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_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.0137 ] Assuming zero filled SBK key
[   0.0179 ] tegrahost_v2 --chip 0x19 0 --updatesigheader /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.hash zerosbk
[   0.0212 ] 
[   0.0233 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[   0.0241 ] 
[   0.0260 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0
[   0.0266 ] RCM 0 is saved as rcm_0.rcm
[   0.0293 ] RCM 1 is saved as rcm_1.rcm
[   0.0293 ] RCM 2 is saved as rcm_2.rcm
[   0.0293 ] List of rcm files are saved in rcm_list.xml
[   0.0293 ] 
[   0.0293 ] Signing RCM messages
[   0.0315 ] tegrasign_v3.py --getmontgomeryvalues montgomery.bin --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0315 ] Assuming zero filled SBK key
[   0.0373 ] Copying signature to RCM mesages
[   0.0392 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0404 ] 
[   0.0404 ] Boot Rom communication
[   0.0423 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[   0.0429 ] RCM version 0X190001
[   0.0697 ] Boot Rom communication completed
[   1.0875 ] 
[   2.0933 ] tegrarcm_v2 --isapplet
[   2.0958 ] Applet version 01.00.0000
[   2.1236 ] 
[   2.1281 ] tegrarcm_v2 --ismb2
[   2.2194 ] 
[   2.2239 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194.bin
[   2.2267 ] 
[   2.2310 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194.bin zerosbk
[   2.2335 ] adding BCH for nvtboot_applet_t194.bin
[   2.2394 ] 
[   2.2423 ] tegrasign_v3.py --key None --list nvtboot_applet_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   2.2423 ] Assuming zero filled SBK key
[   2.2467 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_sigheader.bin.encrypt nvtboot_applet_t194_sigheader.bin.hash zerosbk
[   2.2489 ] 
[   2.2510 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[   2.2516 ] Applet version 01.00.0000
[   2.3238 ] Sending mb2
[   2.3239 ] [................................................] 100%
[   2.3392 ] 
[   2.3415 ] tegrarcm_v2 --boot recovery
[   2.3423 ] Applet version 01.00.0000
[   2.4193 ] 
[   3.4255 ] tegrarcm_v2 --isapplet
[   3.4998 ] 
[   3.5019 ] tegrarcm_v2 --ismb2
[   3.5026 ] MB2 Applet version 01.00.0000
[   3.5958 ] 
[   3.5980 ] tegrarcm_v2 --ismb2
[   3.5985 ] MB2 Applet version 01.00.0000
[   3.6876 ] 
[   3.6920 ] Retrieving board information
[   3.6961 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[   3.6986 ] MB2 Applet version 01.00.0000
[   3.7736 ] Saved platform info in chip_info.bin
[   3.7779 ] Chip minor revision: 2
[   3.7780 ] Bootrom revision: 0xf
[   3.7781 ] Ram code: 0x0
[   3.7781 ] Chip sku: 0xde
[   3.7782 ] Chip Sample: non es
[   3.7787 ] 
[   3.7789 ] Retrieving EEPROM data
[   3.7789 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/cvm.bin
[   3.7796 ] MB2 Applet version 01.00.0000
[   3.8697 ] Saved platform info in /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/cvm.bin
[   3.9049 ] 
[   3.9051 ] Rebooting to recovery mode
[   3.9094 ] tegrarcm_v2 --ismb2
[   3.9116 ] MB2 Applet version 01.00.0000
[   3.9837 ] 
[   3.9838 ] Rebooting to recovery mode
[   3.9881 ] tegrarcm_v2 --reboot recovery
[   3.9905 ] MB2 Applet version 01.00.0000
[   4.0865 ] 
Board ID(3668) version(301) sku(0001) revision(F.0)
copying bctfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg)... done.
copying bctfile1(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying minratchet_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-ratchet-p3668.cfg)... done.
copying device_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_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/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-sd-l4t.cfg)... done.
copying misc_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p3668-a01.cfg)... done.
copying gpioint_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg)... done.
copying pmic_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p3668-0001-a00.cfg)... done.
copying pmc_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p3668-a01.cfg)... done.
copying prod_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p3668-0001-a00.cfg)... done.
copying scr_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_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/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying bootrom_config(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p3668-0001-a00.cfg)... done.
copying dev_params(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-qspi.cfg)... done.
Existing bootloader(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
Making Boot image... done.
/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_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.0004 ] Generating signature
[   0.0028 ] tegrasign_v3.py --getmode mode.txt --key 
[   0.0028 ] Assuming zero filled SBK key : not reading 
[   0.0028 ] Generating ratchet blob
[   0.0046 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0052 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0054 ] FwIndex: 32, MinRatchetLevel: 0
[   0.0054 ] 
[   0.0055 ] header_magic: 414e4452
[   0.0075 ] tegrahost_v2 --chip 0x19 --align 1_boot.img
[   0.0082 ] 
[   0.0101 ] tegrahost_v2 --chip 0x19 0 --magicid KRNL --ratchet_blob ratchet_blob.bin --appendsigheader 1_boot.img zerosbk
[   0.0108 ] adding BCH for 1_boot.img
[   0.8582 ] 
[   0.8613 ] tegrasign_v3.py --key  --list 1_boot_sigheader.img_list.xml --pubkeyhash pub_key.key
[   0.8614 ] Assuming zero filled SBK key : not reading 
[   0.9462 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_boot_sigheader.img.encrypt 1_boot_sigheader.img.hash zerosbk
[   1.4630 ] 
[   1.4951 ] Signed file: /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_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 0x27cb800 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/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt
done.
Existing sosfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/bpmp_t194.bin) reused.
copying bpfdtbfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p3668-a00.dtb)... done.
Existing scefile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/camera-rtcpu-rce.img) reused.
Existing spefile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing wb0boot(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tos-trusty_t194.img) reused.
Existing eksfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/eks.img) reused.
copying soft_fuses(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_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-all-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.0006 ] Generating signature
[   0.0031 ] tegrasign_v3.py --getmode mode.txt --key 
[   0.0031 ] Assuming zero filled SBK key : not reading 
[   0.0031 ] Generating ratchet blob
[   0.0050 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0056 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0058 ] FwIndex: 32, MinRatchetLevel: 0
[   0.0058 ] 
[   0.0059 ] header_magic: d00dfeed
[   0.0079 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0086 ] 
[   0.0106 ] tegrahost_v2 --chip 0x19 0 --magicid KDTB --ratchet_blob ratchet_blob.bin --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk
[   0.0112 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0154 ] 
[   0.0182 ] tegrasign_v3.py --key  --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0183 ] Assuming zero filled SBK key : not reading 
[   0.0236 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.hash zerosbk
[   0.0265 ] 
[   0.0269 ] Signed file: /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: Generate header for kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: chip 0x19: add 0x31f5f to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: the signed file is /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
done.
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating kernel_tegra194-p3668-all-p3509-0000.dtb to rootfs... done.
Existing tbcfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/cboot_t194.bin) reused.
copying tbcdtbfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
copying cfgfile(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668.xml) to flash.xml... done.
Existing flasher(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py) reused.
*** Updating [kernel-dtb] with kernel_tegra194-p3668-all-p3509-0000.dtb ***
./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin  --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-sd-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.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_t194.bin; bpmp_fw_dtb tegra194-a02-bpmp-p3668-a00.dtb; spe_fw spe_t194.bin; tlk tos-trusty_t194.img; eks eks.img; bootloader_dtb tegra194-p3668-all-p3509-0000.dtb"  --odmdata 0xB8190000  --cmd "erase kernel-dtb; signwrite kernel-dtb kernel_tegra194-p3668-all-p3509-0000.dtb; reboot"  
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.0064 ] Generating RCM messages
[   0.0084 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.0091 ] Header already present for mb1_t194_prod.bin
[   0.0118 ] 
[   0.0141 ] tegrasign_v3.py --getmode mode.txt --key None
[   0.0142 ] Assuming zero filled SBK key
[   0.0162 ] tegrasign_v3.py --file mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0163 ] Assuming zero filled SBK key
[   0.0204 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.0238 ] 
[   0.0258 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.0266 ] 
[   0.0284 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0290 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0292 ] FwIndex: 32, MinRatchetLevel: 0
[   0.0292 ] 
[   0.0312 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.0318 ] RCM 0 is saved as rcm_0.rcm
[   0.0345 ] RCM 1 is saved as rcm_1.rcm
[   0.0345 ] 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.0366 ] tegrasign_v3.py --getmontgomeryvalues montgomery.bin --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0367 ] Assuming zero filled SBK key
[   0.0427 ] Copying signature to RCM mesages
[   0.0445 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0456 ] 
[   0.0457 ] Boot Rom communication
[   0.0476 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[   0.0483 ] BR_CID: 0x880219116429e0461400000003ff01c0
[   0.0771 ] RCM version 0X190001
[   0.1219 ] Boot Rom communication completed
[   1.1388 ] 
[   2.1446 ] tegrarcm_v2 --isapplet
[   2.1472 ] Applet version 01.00.0000
[   2.2189 ] 
[   2.2211 ] tegrasign_v3.py --getmode mode.txt --key None
[   2.2212 ] Assuming zero filled SBK key
[   2.2212 ] Parsing partition layout
[   2.2230 ] tegraparser_v2 --pt flash.xml.tmp
[   2.2243 ] 
[   2.2243 ] Creating list of images to be signed
[   2.2263 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[   2.2270 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   2.2274 ] Header already present for mb1_t194_prod_sigheader.bin
[   2.2278 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   2.2308 ] Header already present for mb1_t194_prod_sigheader.bin
[   2.2315 ] adding BCH for spe_t194.bin
[   2.2345 ] adding BCH for spe_t194.bin
[   2.2369 ] adding BCH for nvtboot_t194.bin
[   2.2387 ] adding BCH for nvtboot_t194.bin
[   2.2422 ] Header already present for preboot_c10_prod_cr.bin
[   2.2457 ] Header already present for preboot_c10_prod_cr.bin
[   2.2460 ] Header already present for mce_c10_prod_cr.bin
[   2.2462 ] Header already present for mce_c10_prod_cr.bin
[   2.2476 ] adding BCH for mts_c10_prod_cr.bin
[   2.2509 ] adding BCH for mts_c10_prod_cr.bin
[   2.3198 ] Header already present for warmboot_t194_prod.bin
[   2.3875 ] Header already present for warmboot_t194_prod.bin
[   2.3881 ] adding BCH for xusb_sil_rel_fw
[   2.3888 ] adding BCH for xusb_sil_rel_fw
[   2.3914 ] adding BCH for cboot_t194.bin
[   2.3941 ] adding BCH for cboot_t194.bin
[   2.4032 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[   2.4125 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[   2.4164 ] adding BCH for tos-trusty_t194.img
[   2.4205 ] adding BCH for tos-trusty_t194.img
[   2.4283 ] adding BCH for eks.img
[   2.4361 ] adding BCH for eks.img
[   2.4362 ] adding BCH for adsp-fw.bin
[   2.4363 ] adding BCH for adsp-fw.bin
[   2.4379 ] adding BCH for camera-rtcpu-rce.img
[   2.4395 ] adding BCH for camera-rtcpu-rce.img
[   2.4447 ] adding BCH for bpmp_t194.bin
[   2.4503 ] adding BCH for bpmp_t194.bin
[   2.4672 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[   2.4841 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[   2.4916 ] adding BCH for boot.img
[   2.5245 ] adding BCH for boot.img
[   3.3787 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[   4.3422 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[   4.3687 ] 
[   4.3688 ] Filling MB1 storage info
[   4.3688 ] Generating br-bct
[   4.3718 ] Performing cfg overlay
[   4.3718 ] ['tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg', 'tegra194-memcfg-sw-override.cfg']
[   4.3726 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg -s tegra194-memcfg-sw-override.cfg -o /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1.cfg
[   4.4071 ] 
[   4.4072 ] Updating dev and MSS params in BR BCT
[   4.4072 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   4.4638 ] 
[   4.4638 ] Updating bl info
[   4.4659 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   4.4683 ] 
[   4.4683 ] Generating signatures
[   4.4706 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key
[   4.4706 ] Assuming zero filled SBK key
[   4.8424 ] Send BCT from Host
[   4.8425 ] Generating br-bct
[   4.8463 ] Performing cfg overlay
[   4.8463 ] ['/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1.cfg']
[   4.8463 ] Updating dev and MSS params in BR BCT
[   4.8465 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   4.9348 ] 
[   4.9348 ] Updating bl info
[   4.9370 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   4.9398 ] 
[   4.9398 ] Updating smd info
[   4.9420 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   4.9430 ] 
[   4.9431 ] Updating Odmdata
[   4.9450 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[   4.9462 ] 
[   4.9463 ] Get Signed section of bct
[   4.9483 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   4.9495 ] 
[   4.9516 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[   4.9523 ] Assuming zero filled SBK key
[   4.9737 ] 
[   4.9737 ] Updating BCT with signature
[   4.9760 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   4.9770 ] 
[   4.9770 ] Generating coldboot mb1-bct
[   4.9792 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1.cfg --misc tegra194-mb1-bct-misc-sd-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
[   4.9799 ] MB1-BCT version: 0x1

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

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

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

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

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

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

[   4.9966 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[   4.9968 ] Added Platform Config 7 data with size :- 392
[   4.9968 ] 
[   4.9968 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[   4.9968 ] Added Platform Config 9 data with size :- 40
[   4.9968 ] 
[   4.9968 ] Updating mb1-bct with firmware information
[   4.9988 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   4.9994 ] MB1-BCT version: 0x1
[   4.9997 ] 
[   4.9997 ] Updating mb1-bct with storage information
[   5.0017 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   5.0024 ] MB1-BCT version: 0x1
[   5.0026 ] 
[   5.0026 ] Updating mb1-bct with ratchet information
[   5.0045 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   5.0051 ] MB1-BCT version: 0x1
[   5.0053 ] FwIndex: 1, MinRatchetLevel: 0
[   5.0053 ] FwIndex: 2, MinRatchetLevel: 0
[   5.0053 ] FwIndex: 3, MinRatchetLevel: 0
[   5.0053 ] FwIndex: 4, MinRatchetLevel: 0
[   5.0053 ] FwIndex: 5, MinRatchetLevel: 0
[   5.0053 ] FwIndex: 6, MinRatchetLevel: 0
[   5.0054 ] FwIndex: 7, MinRatchetLevel: 0
[   5.0054 ] FwIndex: 11, MinRatchetLevel: 0
[   5.0054 ] FwIndex: 12, MinRatchetLevel: 0
[   5.0054 ] FwIndex: 13, MinRatchetLevel: 0
[   5.0054 ] FwIndex: 14, MinRatchetLevel: 0
[   5.0054 ] FwIndex: 15, MinRatchetLevel: 0
[   5.0054 ] FwIndex: 16, MinRatchetLevel: 0
[   5.0054 ] FwIndex: 17, MinRatchetLevel: 0
[   5.0054 ] FwIndex: 18, MinRatchetLevel: 0
[   5.0054 ] FwIndex: 19, MinRatchetLevel: 0
[   5.0054 ] FwIndex: 30, MinRatchetLevel: 0
[   5.0054 ] FwIndex: 31, MinRatchetLevel: 0
[   5.0054 ] FwIndex: 32, MinRatchetLevel: 0
[   5.0054 ] 
[   5.0073 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1.bct
[   5.0081 ] 
[   5.0100 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[   5.0107 ] adding BCH for mb1_cold_boot_bct_MB1.bct
[   5.0113 ] 
[   5.0138 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.0138 ] Assuming zero filled SBK key
[   5.0179 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[   5.0190 ] 
[   5.0191 ] Generating recovery mb1-bct
[   5.0213 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1.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.0219 ] MB1-BCT version: 0x1

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

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

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

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

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

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

[   5.0384 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[   5.0386 ] Added Platform Config 7 data with size :- 392
[   5.0386 ] 
[   5.0386 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[   5.0386 ] Added Platform Config 9 data with size :- 40
[   5.0386 ] 
[   5.0386 ] Updating mb1-bct with firmware information
[   5.0405 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[   5.0411 ] MB1-BCT version: 0x1
[   5.0414 ] 
[   5.0415 ] Updating mb1-bct with storage information
[   5.0434 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   5.0441 ] MB1-BCT version: 0x1
[   5.0444 ] 
[   5.0444 ] Updating mb1-bct with ratchet information
[   5.0463 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   5.0470 ] MB1-BCT version: 0x1
[   5.0471 ] FwIndex: 1, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 2, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 3, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 4, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 5, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 6, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 7, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 11, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 12, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 13, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 14, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 15, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 16, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 17, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 18, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 19, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 30, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 31, MinRatchetLevel: 0
[   5.0472 ] FwIndex: 32, MinRatchetLevel: 0
[   5.0472 ] 
[   5.0492 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1.bct
[   5.0499 ] 
[   5.0519 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1.bct zerosbk
[   5.0526 ] adding BCH for mb1_bct_MB1.bct
[   5.0533 ] 
[   5.0557 ] tegrasign_v3.py --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.0558 ] Assuming zero filled SBK key
[   5.0599 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[   5.0611 ] 
[   5.0611 ] Generating coldboot mem-bct
[   5.0631 ] tegrabct_v2 --chip 0x19 0 --sdram /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1.cfg --membct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1_1.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1_2.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1_3.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1_4.bct
[   5.0638 ] Packing sdram param for instance[0]
[   5.1194 ] Packing sdram param for instance[1]
[   5.1195 ] Packing sdram param for instance[2]
[   5.1196 ] Packing sdram param for instance[3]
[   5.1197 ] Packing sdram param for instance[4]
[   5.1197 ] Packing sdram param for instance[5]
[   5.1197 ] Packing sdram param for instance[6]
[   5.1197 ] Packing sdram param for instance[7]
[   5.1197 ] Packing sdram param for instance[8]
[   5.1197 ] Packing sdram param for instance[9]
[   5.1197 ] Packing sdram param for instance[10]
[   5.1197 ] Packing sdram param for instance[11]
[   5.1197 ] Packing sdram param for instance[12]
[   5.1197 ] Packing sdram param for instance[13]
[   5.1197 ] Packing sdram param for instance[14]
[   5.1197 ] Packing sdram param for instance[15]
[   5.1197 ] 
[   5.1197 ] Getting sector size from pt
[   5.1219 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[   5.1227 ] 
[   5.1227 ] BlockSize read from layout is 200

[   5.1247 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1_1.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1_2.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1_3.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1_4.bct
[   5.1254 ] adding BCH for /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1_1.bct
[   5.1275 ] 
[   5.1296 ] tegrahost_v2 --chip 0x19 --align mem_coldboot.bct
[   5.1303 ] 
[   5.1324 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_coldboot.bct zerosbk
[   5.1330 ] Header already present for mem_coldboot.bct
[   5.1333 ] 
[   5.1356 ] tegrasign_v3.py --key None --list mem_coldboot_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.1357 ] Assuming zero filled SBK key
[   5.1394 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_sigheader.bct.encrypt mem_coldboot_sigheader.bct.hash zerosbk
[   5.1408 ] 
[   5.1409 ] Generating recovery mem-bct
[   5.1432 ] tegrabct_v2 --chip 0x19 0 --sdram /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1.cfg --membct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1_1.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1_2.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1_3.bct /home/ubuntu/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/23367/tmpaxvbzsrw1_4.bct
[   5.1439 ] Packing sdram param for instance[0]
[   5.1995 ] Packing sdram param for instance[1]
[   5.1996 ] Packing sdram param for instance[2]
[   5.1997 ] Packing sdram param for instance[3]
[   5.1999 ] Packing sdram param for instance[4]
[   5.1999 ] Packing sdram param for instance[5]
[   5.1999 ] Packing sdram param for instance[6]
[   5.1999 ] Packing sdram param for instance[7]
[   5.1999 ] Packing sdram param for instance[8]
[   5.1999 ] Packing sdram param for instance[9]
[   5.1999 ] Packing sdram param for instance[10]
[   5.1999 ] Packing sdram param for instance[11]
[   5.1999 ] Packing sdram param for instance[12]
[   5.1999 ] Packing sdram param for instance[13]
[   5.1999 ] Packing sdram param for instance[14]
[   5.1999 ] Packing sdram param for instance[15]
[   5.1999 ] 
[   5.2000 ] Reading ramcode from backup chip_info.bin file
[   5.2000 ] RAMCODE Read from Device: 0

[   5.2023 ] tegrahost_v2 --chip 0x19 --align mem_rcm.bct
[   5.2030 ] 
[   5.2050 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm.bct zerosbk
[   5.2057 ] adding BCH for mem_rcm.bct
[   5.2068 ] 
[   5.2092 ] tegrasign_v3.py --key None --list mem_rcm_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.2093 ] Assuming zero filled SBK key
[   5.2134 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_sigheader.bct.encrypt mem_rcm_sigheader.bct.hash zerosbk
[   5.2148 ] 
[   5.2149 ] Sending BCTs
[   5.2168 ] 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.2175 ] Applet version 01.00.0000
[   5.2910 ] Sending bct_bootrom
[   5.2913 ] [................................................] 100%
[   5.2926 ] Sending bct_mb1
[   5.2971 ] [................................................] 100%
[   5.3013 ] Sending bct_mem
[   5.3513 ] [................................................] 100%
[   5.4253 ] 
[   5.4254 ] Generating blob
[   5.4299 ] tegrahost_v2 --chip 0x19 --align blob_nvtboot_recovery_cpu_t194.bin
[   5.4325 ] 
[   5.4366 ] tegrahost_v2 --chip 0x19 0 --magicid CPBL --ratchet_blob ratchet_blob.bin --appendsigheader blob_nvtboot_recovery_cpu_t194.bin zerosbk
[   5.4391 ] adding BCH for blob_nvtboot_recovery_cpu_t194.bin
[   5.4477 ] 
[   5.4502 ] tegrasign_v3.py --key None --list blob_nvtboot_recovery_cpu_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   5.4503 ] Assuming zero filled SBK key
[   5.4551 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_nvtboot_recovery_cpu_t194_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_t194_sigheader.bin.hash zerosbk
[   5.4593 ] 
[   5.4616 ] tegrahost_v2 --chip 0x19 --align blob_nvtboot_recovery_t194.bin
[   5.4625 ] 
[   5.4645 ] tegrahost_v2 --chip 0x19 0 --magicid MB2B --ratchet_blob ratchet_blob.bin --appendsigheader blob_nvtboot_recovery_t194.bin zerosbk
[   5.4653 ] adding BCH for blob_nvtboot_recovery_t194.bin
[   5.4697 ] 
[   5.4723 ] tegrasign_v3.py --key None --list blob_nvtboot_recovery_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   5.4724 ] Assuming zero filled SBK key
[   5.4773 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_nvtboot_recovery_t194_sigheader.bin.encrypt blob_nvtboot_recovery_t194_sigheader.bin.hash zerosbk
[   5.4805 ] 
[   5.4827 ] tegrahost_v2 --chip 0x19 --align blob_preboot_c10_prod_cr.bin
[   5.4836 ] 
[   5.4857 ] tegrahost_v2 --chip 0x19 0 --magicid MTSP --appendsigheader blob_preboot_c10_prod_cr.bin zerosbk
[   5.4865 ] Header already present for blob_preboot_c10_prod_cr.bin
[   5.4869 ] 
[   5.4895 ] tegrasign_v3.py --key None --list blob_preboot_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   5.4895 ] Assuming zero filled SBK key
[   5.4942 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_preboot_c10_prod_cr_sigheader.bin.encrypt blob_preboot_c10_prod_cr_sigheader.bin.hash zerosbk
[   5.4955 ] 
[   5.4977 ] tegrahost_v2 --chip 0x19 --align blob_mce_c10_prod_cr.bin
[   5.4985 ] 
[   5.5006 ] tegrahost_v2 --chip 0x19 0 --magicid MTSM --appendsigheader blob_mce_c10_prod_cr.bin zerosbk
[   5.5014 ] Header already present for blob_mce_c10_prod_cr.bin
[   5.5032 ] 
[   5.5058 ] tegrasign_v3.py --key None --list blob_mce_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   5.5059 ] Assuming zero filled SBK key
[   5.5107 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_mce_c10_prod_cr_sigheader.bin.encrypt blob_mce_c10_prod_cr_sigheader.bin.hash zerosbk
[   5.5134 ] 
[   5.5157 ] tegrahost_v2 --chip 0x19 --align blob_mts_c10_prod_cr.bin
[   5.5165 ] 
[   5.5186 ] tegrahost_v2 --chip 0x19 0 --magicid MTSB --appendsigheader blob_mts_c10_prod_cr.bin zerosbk
[   5.5194 ] adding BCH for blob_mts_c10_prod_cr.bin
[   5.5890 ] 
[   5.5918 ] tegrasign_v3.py --key None --list blob_mts_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   5.5919 ] Assuming zero filled SBK key
[   5.6026 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_mts_c10_prod_cr_sigheader.bin.encrypt blob_mts_c10_prod_cr_sigheader.bin.hash zerosbk
[   5.6393 ] 
[   5.6417 ] tegrahost_v2 --chip 0x19 --align blob_bpmp_t194.bin
[   5.6425 ] 
[   5.6444 ] tegrahost_v2 --chip 0x19 0 --magicid BPMF --ratchet_blob ratchet_blob.bin --appendsigheader blob_bpmp_t194.bin zerosbk
[   5.6451 ] adding BCH for blob_bpmp_t194.bin
[   5.6622 ] 
[   5.6646 ] tegrasign_v3.py --key None --list blob_bpmp_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   5.6647 ] Assuming zero filled SBK key
[   5.6703 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_bpmp_t194_sigheader.bin.encrypt blob_bpmp_t194_sigheader.bin.hash zerosbk
[   5.6801 ] 
[   5.6823 ] tegrahost_v2 --chip 0x19 --align blob_tegra194-a02-bpmp-p3668-a00.dtb
[   5.6831 ] 
[   5.6851 ] tegrahost_v2 --chip 0x19 0 --magicid BPMD --ratchet_blob ratchet_blob.bin --appendsigheader blob_tegra194-a02-bpmp-p3668-a00.dtb zerosbk
[   5.6858 ] adding BCH for blob_tegra194-a02-bpmp-p3668-a00.dtb
[   5.6936 ] 
[   5.6961 ] tegrasign_v3.py --key None --list blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   5.6961 ] Assuming zero filled SBK key
[   5.7009 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb.hash zerosbk
[   5.7057 ] 
[   5.7079 ] tegrahost_v2 --chip 0x19 --align blob_spe_t194.bin
[   5.7086 ] 
[   5.7106 ] tegrahost_v2 --chip 0x19 0 --magicid SPEF --ratchet_blob ratchet_blob.bin --appendsigheader blob_spe_t194.bin zerosbk
[   5.7113 ] adding BCH for blob_spe_t194.bin
[   5.7132 ] 
[   5.7157 ] tegrasign_v3.py --key None --list blob_spe_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   5.7157 ] Assuming zero filled SBK key
[   5.7199 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_spe_t194_sigheader.bin.encrypt blob_spe_t194_sigheader.bin.hash zerosbk
[   5.7217 ] 
[   5.7239 ] tegrahost_v2 --chip 0x19 --align blob_tos-trusty_t194.img
[   5.7246 ] 
[   5.7266 ] tegrahost_v2 --chip 0x19 0 --magicid TOSB --ratchet_blob ratchet_blob.bin --appendsigheader blob_tos-trusty_t194.img zerosbk
[   5.7273 ] adding BCH for blob_tos-trusty_t194.img
[   5.7354 ] 
[   5.7379 ] tegrasign_v3.py --key None --list blob_tos-trusty_t194_sigheader.img_list.xml --pubkeyhash pub_key.key
[   5.7380 ] Assuming zero filled SBK key
[   5.7428 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tos-trusty_t194_sigheader.img.encrypt blob_tos-trusty_t194_sigheader.img.hash zerosbk
[   5.7478 ] 
[   5.7500 ] tegrahost_v2 --chip 0x19 --align blob_eks.img
[   5.7507 ] 
[   5.7526 ] tegrahost_v2 --chip 0x19 0 --magicid EKSB --ratchet_blob ratchet_blob.bin --appendsigheader blob_eks.img zerosbk
[   5.7532 ] adding BCH for blob_eks.img
[   5.7534 ] 
[   5.7558 ] tegrasign_v3.py --key None --list blob_eks_sigheader.img_list.xml --pubkeyhash pub_key.key
[   5.7559 ] Assuming zero filled SBK key
[   5.7600 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[   5.7609 ] 
[   5.7630 ] tegrahost_v2 --chip 0x19 --align blob_tegra194-p3668-all-p3509-0000.dtb
[   5.7637 ] 
[   5.7657 ] tegrahost_v2 --chip 0x19 0 --magicid CDTB --ratchet_blob ratchet_blob.bin --appendsigheader blob_tegra194-p3668-all-p3509-0000.dtb zerosbk
[   5.7664 ] adding BCH for blob_tegra194-p3668-all-p3509-0000.dtb
[   5.7706 ] 
[   5.7731 ] tegrasign_v3.py --key None --list blob_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   5.7731 ] Assuming zero filled SBK key
[   5.7775 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt blob_tegra194-p3668-all-p3509-0000_sigheader.dtb.hash zerosbk
[   5.7805 ] 
[   5.7827 ] tegrahost_v2 --chip 0x19 --generateblob blob.xml blob.bin
[   5.7834 ] number of images in blob are 11
[   5.7836 ] blobsize is 6010184
[   5.7837 ] Added binary blob_nvtboot_recovery_cpu_t194_sigheader.bin.encrypt of size 264064
[   5.7861 ] Added binary blob_nvtboot_recovery_t194_sigheader.bin.encrypt of size 181152
[   5.7863 ] Added binary blob_preboot_c10_prod_cr_sigheader.bin.encrypt of size 24016
[   5.7865 ] Added binary blob_mce_c10_prod_cr_sigheader.bin.encrypt of size 143200
[   5.7867 ] Added binary blob_mts_c10_prod_cr_sigheader.bin.encrypt of size 3430416
[   5.7882 ] Added binary blob_bpmp_t194_sigheader.bin.encrypt of size 856352
[   5.7893 ] Added binary blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt of size 391408
[   5.7896 ] Added binary blob_spe_t194_sigheader.bin.encrypt of size 94960
[   5.7898 ] Added binary blob_tos-trusty_t194_sigheader.img.encrypt of size 410560
[   5.7900 ] Added binary blob_eks_sigheader.img.encrypt of size 5136
[   5.7902 ] Added binary blob_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt of size 208736
[   5.7931 ] 
[   5.7932 ] Sending bootloader and pre-requisite binaries
[   5.7954 ] tegrarcm_v2 --download blob blob.bin
[   5.7961 ] Applet version 01.00.0000
[   5.8677 ] Sending blob
[   5.8679 ] [........                                        ] 017%
[   5.8679 ] [.................                               ] 034%
[   5.8679 ] [..........................                      ] 052%
[   5.8679 ] [..................................              ] 069%
[   5.8679 ] [...........................................     ] 087%
[   5.8679 ] [................................................] 100%
[   6.7328 ] 
[   6.7371 ] tegrarcm_v2 --boot recovery
[   6.7395 ] Applet version 01.00.0000
[   6.8154 ] 
[   7.8213 ] tegrarcm_v2 --isapplet

“jetson-xavier-nx-devkit” is for NX module with sdcard. But we have another kind of module which is using emmc and most of custom board is using that kind of module.

Are you sure you are using the correct module and correct board config here?

Thanks Wayne, using the board config jetson-xavier-nx-devkit-emmc enabled flash.sh to finish successfully.

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