Bootloader capsule cannot be triggered when TEGRA_BL.Cap kept on NVME's esp partition of different FAB=100

Hi,

Used BSP: BSP 35.6

Board: custom Xavier NX board

#Generate BUP bootloader paylod 

sudo ./l4t_generate_soc_bup.sh -u $ROOT_DIR/keys/jetson.pem -v $ROOT_DIR/keys/sbk_key.txt -b jetson-xavier-nx-devkit-emmc t19x

./generate_capsule/l4t_generate_soc_capsule.sh -i bootloader/payloads_t19x/bl_only_payload -o ./TEGRA_BL.Cap t194

  • Created internal and external images for internal QSPI + external NVME using board parameters FAB=301, BOARDREV=E.0
#internal image creation
sudo ADDITIONAL_DTB_OVERLAY_OPT="BootOrderNvme.dtbo" BOARDID=3668 FAB=301 BOARDSKU=0001 BOARDREV=E.0 ./tools/kernel_flash/l4t_initrd_flash.sh -u $ROOT_DIR/keys/jetson.pem -v $ROOT_DIR/keys/sbk_key.txt  -p "-c bootloader/t186ref/cfg/flash_l4t_t194_qspi_p3668.xml" --showlogs --no-flash jetson-xavier-nx-devkit-emmc internal

#external image creation
sudo ADDITIONAL_DTB_OVERLAY_OPT="BootOrderNvme.dtbo" ROOTFS_ENC=1 BOARDID=3668 FAB=301 BOARDSKU=0001 BOARDREV=E.0 ./tools/kernel_flash/l4t_initrd_flash.sh -u $ROOT_DIR/keys/jetson.pem -v $ROOT_DIR/keys/sbk_key.txt -i ./ekb.key  ``-p "--generic-passphrase"`` --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_t194_nvme_rootfs_enc.xml -S 40GiB --no-flash --append --direct nvme0n1 --external-only --showlogs jetson-xavier-nx-devkit-emmc external
  • On target; Trigger the Bootloader capsule via :
# Update the Bootloader via Bootloader capsule

sudo mkdir -p /opt/nvidia/esp
esp_uuid=$(lsblk -o name,partlabel,uuid | grep "nvme0n1" | awk '{ if($2 == "esp") print $3 }')
sudo mount UUID=$esp_uuid /opt/nvidia/esp


echo "Creating UpdateCapsule folder & copy BL Capsule in ESP partition on NVME... "
sudo mkdir -p /opt/nvidia/esp/EFI/UpdateCapsule
sudo cp TEGRA_BL.Cap /opt/nvidia/esp/EFI/UpdateCapsule

echo "Set bit2 of OSIndications UEFI variable..." 
cd /sys/firmware/efi/efivars/
printf "\x07\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00" > /tmp/var_tmp.bin
sudo dd if=/tmp/var_tmp.bin of=OsIndications-8be4df61-93ca-11d2-aa0d-00e098032b8c bs=12;sync


sudo umount /opt/nvidia/esp
  • On target jetson Xavier NX board with FAB=301,BOARDREV=E.0 (with which the internalQSPI + external images ran ), after reboot, it could pick up the TEGRA_BL.Cap Capsule and trigger Bootloader update with “Progress Bar 0%→100%
  • However, on target jetson Xavier NX board with FAB=100,BOARDREV=B.0, if the same steps of copying the Bootloader capsule is performed in it’s NVME’s ESP partition, on rebooting the jetson, it could not trigger the Bootloader update as if it is not even looking into the ESP partition of the NVME.
  1. How can I make the board FAB=100 trigger the Bootloader update with the same image created for FAB=301 board params ? Does it fail because QSPI don’t see the NVME ESP partition for FAB=100 due to FAB mismatch ? Where is the problem ?
  2. I cannot create two separate QSPI images for two set of board_params as I have been using single set of board params until now and if Bootloader update is not considered until now, we had no issues flashing images to NVME on both the boards. Now changing in production will be a challenge.
  3. Can I use USB to copy Bootloader capsule to it’s /boot/efi partition and then update the bootloader or what do you suggest the best ?

Thanks in advance !

Thanks

Hi,
For information, do you update from r35.6.0 to r35.6.0? Or from previous version(which version?) to r35.6.0?

We have both usecases. We have tried updating both r35.4.1 to r.35.6.0 and from r35.6.0 to r35.6.0.

Hi,
For the FAB=100 module, does it work if you generate the payload with BOARDID=3668 FAB=100 BOARDSKU=0001?

I generated the multi-spec BUP. In the logs, it shows that “Success” for the payload generated for both FAB=100 and FAB=301.

See my commands above for generating the payload. Do I need to create single spec payload?

I thought multi spec BUP should work for both FAB units.

Hi,
Please generate the payload with FAB=100:

$ sudo FAB=100 BOARDID=3668 FUSELEVEL=fuselevel_production BOARDSKU=0001 ./build_l4t_bup.sh jetson-xavier-nx-devkit-emmc mmcblk0p1

I generated the BUP using your command above

sudo FAB=100 BOARDID=3668 FUSELEVEL=fuselev
el_production BOARDSKU=0001 ./build_l4t_bup.sh  -u $ROOT_DIR/keys/sd/jetson.pem -v $ROOT_DIR/keys/sd/sbk_key.txt jetson-xavier-nx-devkit-emmc mmcblk0p1
###############################################################################
# L4T BSP Information:
# R35 , REVISION: 6.0
# User release: 0.0
###############################################################################
Board ID(3668) version(100) sku(0001) revision()
lz4c installed at /usr/bin/lz4c
Compressing /home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p3668-a00.dtb ...
NVDISP+UEFI in bootloader/nvdisp-init.bin ..
copying bctfile(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg)... done.
copying bctfile1(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying minratchet_config(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-ratchet-p3668.cfg)... done.
copying device_config(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-qspi-p3668.cfg)... done.
copying misc_cold_boot_config(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done.
copying misc_config(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p3668-a01.cfg)... done.
copying gpioint_config(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg)... done.
copying pmic_config(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p3668-0001-a00.cfg)... done.
copying pmc_config(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p3668-a01.cfg)... done.
copying prod_config(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p3668-0001-a00.cfg)... done.
copying scr_config(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying scr_cold_boot_config(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying bootrom_config(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p3668-0001-a00.cfg)... done.
copying dev_params(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-qspi-l4t.cfg)... done.
copying dev_params_b(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct_b-qspi-l4t.cfg)... done.
Existing bootloader(/home/adit/jetson/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/adit/jetson/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
bl is uefi
Making Boot image... done.
Not signing of boot.img
Existing sosfile(/home/adit/jetson/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/adit/jetson/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/adit/jetson/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/adit/jetson/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/adit/jetson/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/adit/jetson/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/adit/jetson/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/adit/jetson/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/adit/jetson/Linux_for_Tegra/bootloader/bpmp-2_t194.bin) reused.
Existing bpfdtbfile(/home/adit/jetson/Linux_for_Tegra/bootloader/tegra194-a02-bpmp-p3668-a00_lz4.dtb) reused.
Existing scefile(/home/adit/jetson/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/adit/jetson/Linux_for_Tegra/bootloader/camera-rtcpu-t194-rce.img) reused.
Existing apefile(/home/adit/jetson/Linux_for_Tegra/bootloader/adsp-fw.bin) reused.
Existing spefile(/home/adit/jetson/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing wb0boot(/home/adit/jetson/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/adit/jetson/Linux_for_Tegra/bootloader/tos-optee_t194.img) reused.
Existing eksfile(/home/adit/jetson/Linux_for_Tegra/bootloader/eks_t194.img) reused.
copying soft_fuses(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/adit/jetson/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
Skip generating system.img
Not signing of kernel-dtb
Existing tbcfile(/home/adit/jetson/Linux_for_Tegra/bootloader/nvdisp-init.bin) reused.
copying tbcdtbfile(/home/adit/jetson/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
copying cfgfile(/home/adit/jetson/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc_p3668.xml) to flash.xml... done.
done.
Existing flasher(/home/adit/jetson/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/adit/jetson/Linux_for_Tegra/bootloader/tegraflash.py) reused.
copying overlay_dtb(/home/adit/jetson/Linux_for_Tegra/kernel/dtb/L4TConfiguration.dtbo)... done.
copying overlay_dtb(/home/adit/jetson/Linux_for_Tegra/kernel/dtb/tegra194-p3668-p3509-overlay.dtbo)... done.
/home/adit/jetson/Linux_for_Tegra/bootloader/L4TConfiguration_updated.dts: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
/home/adit/jetson/Linux_for_Tegra/bootloader/L4TConfiguration.dtbo: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin --sdram_config tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg,tegra194-memcfg-sw-override.cfg  --odmdata 0xB8190000  --overlay_dtb L4TConfiguration.dtbo,tegra194-p3668-p3509-overlay.dtbo, --bldtb tegra194-p3668-all-p3509-0000.dtb --applet mb1_t194_prod.bin --cmd "sign" --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg  --cfg flash.xml --chip 0x19 --minratchet_config tegra194-mb1-bct-ratchet-p3668.cfg --device_config tegra19x-mb1-bct-device-qspi-p3668.cfg --misc_cold_boot_config tegra194-mb1-bct-misc-l4t.cfg --misc_config tegra194-mb1-bct-misc-flash.cfg --pinmux_config tegra19x-mb1-pinmux-p3668-a01.cfg --gpioint_config tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --pmic_config tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --pmc_config tegra19x-mb1-padvoltage-p3668-a01.cfg --prod_config tegra19x-mb1-prod-p3668-0001-a00.cfg --scr_config tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --scr_cold_boot_config tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --br_cmd_config tegra194-mb1-bct-reset-p3668-0001-a00.cfg --dev_params tegra194-br-bct-qspi-l4t.cfg,tegra194-br-bct_b-qspi-l4t.cfg  --bin "mb2_bootloader nvtboot_recovery_t194.bin; mts_preboot preboot_c10_prod_cr.bin; mts_mce mce_c10_prod_cr.bin; mts_proper mts_c10_prod_cr.bin; bpmp_fw bpmp-2_t194.bin; bpmp_fw_dtb tegra194-a02-bpmp-p3668-a00_lz4.dtb; spe_fw spe_t194.bin; tos tos-optee_t194.img; eks eks_t194.img; bootloader_dtb tegra194-p3668-all-p3509-0000.dtb"  --bct_backup  --key /home/adit/jetson/keys/sd/jetson.pem --encrypt_key /home/adit/jetson/keys/sd/sbk_key.txt 
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
 
[   0.0237 ] Using default ramcode: 0
[   0.0237 ] Disable BPMP dtb trim, using default dtb
[   0.0237 ] 
[   0.0272 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --getmode mode.txt
[   0.0282 ] Key size is 384 bytes
[   0.0275 ] Generating RCM messages
[   0.0308 ] tegrasign_v3.py --file mb1_t194_prod.bin --key /home/adit/jetson/keys/sd/sbk_key.txt --offset 4096
[   0.0310 ] Key is a SBK key
[   0.0310 ] Key Size is 16 bytes
[   0.0401 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod_encrypt.bin zerosbk
[   0.0408 ] Header already present for mb1_t194_prod_encrypt.bin
[   0.0464 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --getmode mode.txt
[   0.0473 ] Key size is 384 bytes
[   0.0497 ] tegrasign_v3.py --file mb1_t194_prod_encrypt_sigheader.bin --key /home/adit/jetson/keys/sd/jetson.pem --length 1136 --getmontgomeryvalues montgomery.bin --offset 2960 --pubkeyhash pub_key.key
[   0.0506 ] Key size is 384 bytes
[   0.0885 ] Saving pkc public key in pub_key.key
[   0.0885 ] Saving Montgomery values in montgomery.bin
[   0.0894 ] tegrahost_v2 --chip 0x19 0 --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin --updatesigheader mb1_t194_prod_encrypt_sigheader.bin mb1_t194_prod_encrypt_sigheader.sig oem-rsa
[   0.0944 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.0973 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0981 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0984 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0984 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0984 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0984 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0984 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0984 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0984 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0984 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0984 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0984 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0985 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0985 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0985 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0985 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0985 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0985 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0985 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0985 ] 
[   0.1004 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_encrypt_sigheader.bin 0 0
[   0.1011 ] RCM 0 is saved as rcm_0.rcm
[   0.1034 ] RCM 1 is saved as rcm_1.rcm
[   0.1035 ] RCM 2 is saved as rcm_2.rcm
[   0.1036 ] List of rcm files are saved in rcm_list.xml
[   0.1036 ] 
[   0.1036 ] Signing RCM messages
[   0.1070 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.1079 ] Key size is 384 bytes
[   0.2193 ] Saving pkc public key in pub_key.key
[   0.2193 ] Saving Montgomery values in montgomery.bin
[   0.2180 ] Copying signature to RCM mesages
[   0.2201 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   0.2215 ] odmdata (to decode) = 3088646144
[   0.2215 ] Odmdata strings: PCIE_XBAR_8_1_1_0_1,UFS_DISABLED,NVHS_PCIE,enable-debug-console,enable-denver-wdt
[   0.2215 ] 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.2227 ] bpmp_dtb is compressed; decompressing...
[   0.2227 ] lz4c -df tegra194-a02-bpmp-p3668-a00_lz4.dtb tegra194-a02-bpmp-p3668-a00_lz4_with_odm.dtb
[   0.2248 ] tegra194-a02-bpmp-p3 : decoded 606912 bytes                                    
[   0.2248 ] 
[   0.3648 ] Re-compressing updated bpmp_dtb
[   0.3649 ] lz4c -zf tegra194-a02-bpmp-p3668-a00_lz4_with_odm.dtb tegra194-a02-bpmp-p3668-a00_lz4.dtb
[   0.3673 ] Compressed 606849 bytes into 38768 bytes ==> 6.39%                             
[   0.3673 ] 
[   0.6893 ] Concatenating L4TConfiguration.dtbo,tegra194-p3668-p3509-overlay.dtbo to tegra194-p3668-all-p3509-0000_with_odm_overlay.dtb
[   0.6897 ] Parsing partition layout
[   0.6920 ] tegraparser_v2 --pt flash.xml.tmp
[   0.6935 ] Creating list of images to be signed
[   0.6956 ] tegrahost_v2 --chip 0x19 --partitionlayout flash.xml.bin --list images_list.xml --ratchet_blob ratchet_blob.bin
[   0.6965 ] MB1: Nvheader already present is mb1_t194_prod_aligned.bin
[   0.6975 ] Header already present for mb1_t194_prod_aligned_sigheader.bin
[   0.6978 ] MB1: Nvheader already present is mb1_b_t194_prod_aligned.bin
[   0.6998 ] Header already present for mb1_b_t194_prod_aligned_sigheader.bin
[   0.7002 ] adding BCH for spe_t194_aligned.bin
[   0.7019 ] adding BCH for nvtboot_t194_aligned.bin
[   0.7037 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   0.7070 ] Header already present for mce_c10_prod_cr_aligned.bin
[   0.7074 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   0.7145 ] Header already present for warmboot_t194_prod_aligned.bin
[   0.7646 ] adding BCH for nvdisp-init_aligned.bin
[   0.7708 ] adding BCH for tegra194-p3668-all-p3509-0000_aligned.dtb
[   0.8206 ] adding BCH for tos-optee_t194_aligned.img
[   0.8276 ] adding BCH for eks_t194_aligned.img
[   0.8450 ] adding BCH for adsp-fw_aligned.bin
[   0.8455 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   0.8525 ] adding BCH for bpmp-2_t194_aligned.bin
[   0.8624 ] adding BCH for tegra194-a02-bpmp-p3668-a00_lz4_aligned.dtb
[   0.8780 ] adding BCH for spe_t194_aligned.bin
[   0.8786 ] adding BCH for nvtboot_t194_aligned.bin
[   0.8803 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   0.8836 ] Header already present for mce_c10_prod_cr_aligned.bin
[   0.8841 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   0.8920 ] Header already present for warmboot_t194_prod_aligned.bin
[   0.9452 ] adding BCH for nvdisp-init_aligned.bin
[   0.9521 ] adding BCH for tegra194-p3668-all-p3509-0000_aligned.dtb
[   1.0028 ] adding BCH for tos-optee_t194_aligned.img
[   1.0103 ] adding BCH for eks_t194_aligned.img
[   1.0282 ] adding BCH for adsp-fw_aligned.bin
[   1.0290 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   1.0364 ] adding BCH for bpmp-2_t194_aligned.bin
[   1.0465 ] adding BCH for tegra194-a02-bpmp-p3668-a00_lz4_aligned.dtb
[   1.0666 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list images_list.xml --pubkeyhash pub_key.key
[   1.0678 ] Key size is 384 bytes
[   2.1095 ] Saving pkc public key in pub_key.key
[   2.1082 ] Parsing dev params for multi chains
[   2.1082 ] Generating br-bct
[   2.1105 ] Performing cfg overlay
[   2.1106 ] ['tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg', 'tegra194-memcfg-sw-override.cfg']
[   2.1108 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg -s tegra194-memcfg-sw-override.cfg -o /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.cfg
[   2.1520 ] Updating dev and MSS params in BR BCT
[   2.1521 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi-l4t.cfg --sdram /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   2.2115 ] Updating bl info
[   2.2139 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   2.2156 ] Generating br-bct
[   2.2178 ] Performing cfg overlay
[   2.2178 ] ['/home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.cfg']
[   2.2178 ] Updating dev and MSS params in BR BCT
[   2.2178 ] tegrabct_v2 --dev_param tegra194-br-bct_b-qspi-l4t.cfg --sdram /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   2.2785 ] Updating bl info
[   2.2808 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   2.2827 ] Generating BCT backup image
[   2.2828 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   2.2839 ] 32768+0 records in
[   2.3622 ] 32768+0 records out
[   2.3622 ] 32768 bytes (33 kB, 32 KiB) copied, 0,0778443 s, 421 kB/s
[   2.3622 ] 
[   2.3622 ] Concatenating BCT for chain A to bct_backup.img

[   2.3622 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   2.3635 ] 2888+0 records in
[   2.3700 ] 2888+0 records out
[   2.3700 ] 2888 bytes (2,9 kB, 2,8 KiB) copied, 0,0061559 s, 469 kB/s
[   2.3700 ] 
[   2.3701 ] Concatenating BCT for chain B to bct_backup.img

[   2.3701 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   2.3713 ] 2888+0 records in
[   2.3778 ] 2888+0 records out
[   2.3778 ] 2888 bytes (2,9 kB, 2,8 KiB) copied, 0,00618577 s, 467 kB/s
[   2.3778 ] 
[   2.3810 ] tegrahost_v2 --chip 0x19 --align mb1_t194_prod_aligned_sigheader_aligned.bin
[   2.3821 ] header_magic: 4e564441
[   2.3858 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list mb1_t194_prod_aligned_sigheader_aligned.bin_list.xml
[   2.3860 ] Key is a SBK key
[   2.3860 ] Key Size is 16 bytes
[   2.3962 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_aligned_sigheader_aligned.bin.encrypt mb1_t194_prod_aligned_sigheader_aligned.bin.hash zerosbk
[   2.4026 ] tegrahost_v2 --chip 0x19 --align mb1_t194_prod_sigheader.bin_aligned.encrypt
[   2.4039 ] header_magic: 4e564441
[   2.4078 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list mb1_t194_prod_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   2.4092 ] Key size is 384 bytes
[   2.4461 ] Saving pkc public key in pub_key.key
[   2.4474 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin_aligned.encrypt.signed mb1_t194_prod_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   2.4539 ] tegrahost_v2 --chip 0x19 --align mb1_b_t194_prod_aligned_sigheader_aligned.bin
[   2.4550 ] header_magic: 4e564441
[   2.4588 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list mb1_b_t194_prod_aligned_sigheader_aligned.bin_list.xml
[   2.4591 ] Key is a SBK key
[   2.4591 ] Key Size is 16 bytes
[   2.4688 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_b_t194_prod_aligned_sigheader_aligned.bin.encrypt mb1_b_t194_prod_aligned_sigheader_aligned.bin.hash zerosbk
[   2.4749 ] tegrahost_v2 --chip 0x19 --align mb1_b_t194_prod_sigheader.bin_aligned.encrypt
[   2.4760 ] header_magic: 4e564441
[   2.4798 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list mb1_b_t194_prod_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   2.4810 ] Key size is 384 bytes
[   2.5181 ] Saving pkc public key in pub_key.key
[   2.5194 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_b_t194_prod_sigheader.bin_aligned.encrypt.signed mb1_b_t194_prod_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   2.5259 ] tegrahost_v2 --chip 0x19 --align spe_t194_sigheader_aligned.bin
[   2.5269 ] header_magic: 4e564441
[   2.5307 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list spe_t194_sigheader_aligned.bin_list.xml
[   2.5310 ] Key is a SBK key
[   2.5310 ] Key Size is 16 bytes
[   2.5371 ] tegrahost_v2 --chip 0x19 0 --updatesigheader spe_t194_sigheader_aligned.bin.encrypt spe_t194_sigheader_aligned.bin.hash zerosbk
[   2.5416 ] tegrahost_v2 --chip 0x19 --align spe_t194_sigheader.bin_aligned.encrypt
[   2.5427 ] header_magic: 4e564441
[   2.5464 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list spe_t194_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   2.5476 ] Key size is 384 bytes
[   2.5839 ] Saving pkc public key in pub_key.key
[   2.5851 ] tegrahost_v2 --chip 0x19 0 --updatesigheader spe_t194_sigheader.bin_aligned.encrypt.signed spe_t194_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   2.5899 ] tegrahost_v2 --chip 0x19 --align nvtboot_t194_sigheader_aligned.bin
[   2.5910 ] header_magic: 4e564441
[   2.5948 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list nvtboot_t194_sigheader_aligned.bin_list.xml
[   2.5950 ] Key is a SBK key
[   2.5950 ] Key Size is 16 bytes
[   2.6037 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_t194_sigheader_aligned.bin.encrypt nvtboot_t194_sigheader_aligned.bin.hash zerosbk
[   2.6093 ] tegrahost_v2 --chip 0x19 --align nvtboot_t194_sigheader.bin_aligned.encrypt
[   2.6105 ] header_magic: 4e564441
[   2.6143 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list nvtboot_t194_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   2.6155 ] Key size is 384 bytes
[   2.6517 ] Saving pkc public key in pub_key.key
[   2.6530 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_t194_sigheader.bin_aligned.encrypt.signed nvtboot_t194_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   2.6589 ] tegrahost_v2 --chip 0x19 --align preboot_c10_prod_cr_sigheader_aligned.bin
[   2.6600 ] header_magic: 4e564441
[   2.6638 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list preboot_c10_prod_cr_sigheader_aligned.bin_list.xml
[   2.6640 ] Key is a SBK key
[   2.6640 ] Key Size is 16 bytes
[   2.6688 ] tegrahost_v2 --chip 0x19 0 --updatesigheader preboot_c10_prod_cr_sigheader_aligned.bin.encrypt preboot_c10_prod_cr_sigheader_aligned.bin.hash zerosbk
[   2.6726 ] tegrahost_v2 --chip 0x19 --align preboot_c10_prod_cr_sigheader.bin_aligned.encrypt
[   2.6737 ] header_magic: 4e564441
[   2.6774 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list preboot_c10_prod_cr_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   2.6786 ] Key size is 384 bytes
[   2.7146 ] Saving pkc public key in pub_key.key
[   2.7160 ] tegrahost_v2 --chip 0x19 0 --updatesigheader preboot_c10_prod_cr_sigheader.bin_aligned.encrypt.signed preboot_c10_prod_cr_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   2.7201 ] tegrahost_v2 --chip 0x19 --align mce_c10_prod_cr_sigheader_aligned.bin
[   2.7213 ] header_magic: 4e564441
[   2.7250 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list mce_c10_prod_cr_sigheader_aligned.bin_list.xml
[   2.7253 ] Key is a SBK key
[   2.7253 ] Key Size is 16 bytes
[   2.7326 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mce_c10_prod_cr_sigheader_aligned.bin.encrypt mce_c10_prod_cr_sigheader_aligned.bin.hash zerosbk
[   2.7376 ] tegrahost_v2 --chip 0x19 --align mce_c10_prod_cr_sigheader.bin_aligned.encrypt
[   2.7386 ] header_magic: 4e564441
[   2.7424 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list mce_c10_prod_cr_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   2.7437 ] Key size is 384 bytes
[   2.7800 ] Saving pkc public key in pub_key.key
[   2.7813 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mce_c10_prod_cr_sigheader.bin_aligned.encrypt.signed mce_c10_prod_cr_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   2.7889 ] tegrahost_v2 --chip 0x19 --align mts_c10_prod_cr_sigheader_aligned.bin
[   2.7901 ] header_magic: 4e564441
[   2.7939 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list mts_c10_prod_cr_sigheader_aligned.bin_list.xml
[   2.7941 ] Key is a SBK key
[   2.7941 ] Key Size is 16 bytes
[   2.8737 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mts_c10_prod_cr_sigheader_aligned.bin.encrypt mts_c10_prod_cr_sigheader_aligned.bin.hash zerosbk
[   2.9116 ] tegrahost_v2 --chip 0x19 --align mts_c10_prod_cr_sigheader.bin_aligned.encrypt
[   2.9127 ] header_magic: 4e564441
[   2.9165 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list mts_c10_prod_cr_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   2.9177 ] Key size is 384 bytes
[   2.9569 ] Saving pkc public key in pub_key.key
[   2.9581 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mts_c10_prod_cr_sigheader.bin_aligned.encrypt.signed mts_c10_prod_cr_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   3.0065 ] tegrahost_v2 --chip 0x19 --align warmboot_t194_prod_sigheader_aligned.bin
[   3.0076 ] header_magic: 4e564441
[   3.0114 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list warmboot_t194_prod_sigheader_aligned.bin_list.xml
[   3.0116 ] Key is a SBK key
[   3.0116 ] Key Size is 16 bytes
[   3.0166 ] tegrahost_v2 --chip 0x19 0 --updatesigheader warmboot_t194_prod_sigheader_aligned.bin.encrypt warmboot_t194_prod_sigheader_aligned.bin.hash zerosbk
[   3.0206 ] tegrahost_v2 --chip 0x19 --align warmboot_t194_prod_sigheader.bin_aligned.encrypt
[   3.0217 ] header_magic: 4e564441
[   3.0254 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list warmboot_t194_prod_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   3.0266 ] Key size is 384 bytes
[   3.0626 ] Saving pkc public key in pub_key.key
[   3.0638 ] tegrahost_v2 --chip 0x19 0 --updatesigheader warmboot_t194_prod_sigheader.bin_aligned.encrypt.signed warmboot_t194_prod_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   3.0696 ] tegrahost_v2 --chip 0x19 --align nvdisp-init_sigheader_aligned.bin
[   3.0707 ] header_magic: 4e564441
[   3.0744 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list nvdisp-init_sigheader_aligned.bin_list.xml
[   3.0747 ] Key is a SBK key
[   3.0747 ] Key Size is 16 bytes
[   3.1489 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvdisp-init_sigheader_aligned.bin.encrypt nvdisp-init_sigheader_aligned.bin.hash zerosbk
[   3.1833 ] tegrahost_v2 --chip 0x19 --align nvdisp-init_sigheader.bin_aligned.encrypt
[   3.1843 ] header_magic: 4e564441
[   3.1881 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list nvdisp-init_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   3.1892 ] Key size is 384 bytes
[   3.2277 ] Saving pkc public key in pub_key.key
[   3.2288 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvdisp-init_sigheader.bin_aligned.encrypt.signed nvdisp-init_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   3.2642 ] tegrahost_v2 --chip 0x19 --align tegra194-p3668-all-p3509-0000_sigheader_aligned.dtb
[   3.2654 ] header_magic: 4e564441
[   3.2691 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list tegra194-p3668-all-p3509-0000_sigheader_aligned.dtb_list.xml
[   3.2693 ] Key is a SBK key
[   3.2693 ] Key Size is 16 bytes
[   3.2806 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tegra194-p3668-all-p3509-0000_sigheader_aligned.dtb.encrypt tegra194-p3668-all-p3509-0000_sigheader_aligned.dtb.hash zerosbk
[   3.2873 ] tegrahost_v2 --chip 0x19 --align tegra194-p3668-all-p3509-0000_sigheader.dtb_aligned.encrypt
[   3.2884 ] header_magic: 4e564441
[   3.2921 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list tegra194-p3668-all-p3509-0000_sigheader.dtb_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   3.2933 ] Key size is 384 bytes
[   3.3296 ] Saving pkc public key in pub_key.key
[   3.3308 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tegra194-p3668-all-p3509-0000_sigheader.dtb_aligned.encrypt.signed tegra194-p3668-all-p3509-0000_sigheader.dtb_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   3.3386 ] tegrahost_v2 --chip 0x19 --align tos-optee_t194_sigheader_aligned.img
[   3.3397 ] header_magic: 4e564441
[   3.3434 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list tos-optee_t194_sigheader_aligned.img_list.xml
[   3.3436 ] Key is a SBK key
[   3.3436 ] Key Size is 16 bytes
[   3.3723 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tos-optee_t194_sigheader_aligned.img.encrypt tos-optee_t194_sigheader_aligned.img.hash zerosbk
[   3.3870 ] tegrahost_v2 --chip 0x19 --align tos-optee_t194_sigheader.img_aligned.encrypt
[   3.3881 ] header_magic: 4e564441
[   3.3919 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list tos-optee_t194_sigheader.img_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   3.3931 ] Key size is 384 bytes
[   3.4300 ] Saving pkc public key in pub_key.key
[   3.4313 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tos-optee_t194_sigheader.img_aligned.encrypt.signed tos-optee_t194_sigheader.img_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   3.4464 ] tegrahost_v2 --chip 0x19 --align eks_t194_sigheader_aligned.img
[   3.4476 ] header_magic: 4e564441
[   3.4513 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list eks_t194_sigheader_aligned.img_list.xml
[   3.4515 ] Key is a SBK key
[   3.4515 ] Key Size is 16 bytes
[   3.4554 ] tegrahost_v2 --chip 0x19 0 --updatesigheader eks_t194_sigheader_aligned.img.encrypt eks_t194_sigheader_aligned.img.hash zerosbk
[   3.4590 ] tegrahost_v2 --chip 0x19 --align eks_t194_sigheader.img_aligned.encrypt
[   3.4601 ] header_magic: 4e564441
[   3.4639 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list eks_t194_sigheader.img_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   3.4651 ] Key size is 384 bytes
[   3.5009 ] Saving pkc public key in pub_key.key
[   3.5021 ] tegrahost_v2 --chip 0x19 0 --updatesigheader eks_t194_sigheader.img_aligned.encrypt.signed eks_t194_sigheader.img_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   3.5060 ] tegrahost_v2 --chip 0x19 --align adsp-fw_sigheader_aligned.bin
[   3.5071 ] header_magic: 4e564441
[   3.5108 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list adsp-fw_sigheader_aligned.bin_list.xml
[   3.5110 ] Key is a SBK key
[   3.5111 ] Key Size is 16 bytes
[   3.5233 ] tegrahost_v2 --chip 0x19 0 --updatesigheader adsp-fw_sigheader_aligned.bin.encrypt adsp-fw_sigheader_aligned.bin.hash zerosbk
[   3.5307 ] tegrahost_v2 --chip 0x19 --align adsp-fw_sigheader.bin_aligned.encrypt
[   3.5318 ] header_magic: 4e564441
[   3.5356 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list adsp-fw_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   3.5368 ] Key size is 384 bytes
[   3.5729 ] Saving pkc public key in pub_key.key
[   3.5741 ] tegrahost_v2 --chip 0x19 0 --updatesigheader adsp-fw_sigheader.bin_aligned.encrypt.signed adsp-fw_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   3.5821 ] tegrahost_v2 --chip 0x19 --align camera-rtcpu-t194-rce_sigheader_aligned.img
[   3.5832 ] header_magic: 4e564441
[   3.5869 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list camera-rtcpu-t194-rce_sigheader_aligned.img_list.xml
[   3.5871 ] Key is a SBK key
[   3.5871 ] Key Size is 16 bytes
[   3.6026 ] tegrahost_v2 --chip 0x19 0 --updatesigheader camera-rtcpu-t194-rce_sigheader_aligned.img.encrypt camera-rtcpu-t194-rce_sigheader_aligned.img.hash zerosbk
[   3.6114 ] tegrahost_v2 --chip 0x19 --align camera-rtcpu-t194-rce_sigheader.img_aligned.encrypt
[   3.6126 ] header_magic: 4e564441
[   3.6163 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list camera-rtcpu-t194-rce_sigheader.img_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   3.6175 ] Key size is 384 bytes
[   3.6537 ] Saving pkc public key in pub_key.key
[   3.6549 ] tegrahost_v2 --chip 0x19 0 --updatesigheader camera-rtcpu-t194-rce_sigheader.img_aligned.encrypt.signed camera-rtcpu-t194-rce_sigheader.img_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   3.6658 ] tegrahost_v2 --chip 0x19 --align bpmp-2_t194_sigheader_aligned.bin
[   3.6669 ] header_magic: 4e564441
[   3.6707 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list bpmp-2_t194_sigheader_aligned.bin_list.xml
[   3.6709 ] Key is a SBK key
[   3.6709 ] Key Size is 16 bytes
[   3.6965 ] tegrahost_v2 --chip 0x19 0 --updatesigheader bpmp-2_t194_sigheader_aligned.bin.encrypt bpmp-2_t194_sigheader_aligned.bin.hash zerosbk
[   3.7099 ] tegrahost_v2 --chip 0x19 --align bpmp-2_t194_sigheader.bin_aligned.encrypt
[   3.7111 ] header_magic: 4e564441
[   3.7148 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list bpmp-2_t194_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   3.7160 ] Key size is 384 bytes
[   3.7526 ] Saving pkc public key in pub_key.key
[   3.7538 ] tegrahost_v2 --chip 0x19 0 --updatesigheader bpmp-2_t194_sigheader.bin_aligned.encrypt.signed bpmp-2_t194_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   3.7703 ] tegrahost_v2 --chip 0x19 --align tegra194-a02-bpmp-p3668-a00_lz4_sigheader_aligned.dtb
[   3.7714 ] header_magic: 4e564441
[   3.7751 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list tegra194-a02-bpmp-p3668-a00_lz4_sigheader_aligned.dtb_list.xml
[   3.7753 ] Key is a SBK key
[   3.7753 ] Key Size is 16 bytes
[   3.7800 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tegra194-a02-bpmp-p3668-a00_lz4_sigheader_aligned.dtb.encrypt tegra194-a02-bpmp-p3668-a00_lz4_sigheader_aligned.dtb.hash zerosbk
[   3.7840 ] tegrahost_v2 --chip 0x19 --align tegra194-a02-bpmp-p3668-a00_lz4_sigheader.dtb_aligned.encrypt
[   3.7851 ] header_magic: 4e564441
[   3.7889 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list tegra194-a02-bpmp-p3668-a00_lz4_sigheader.dtb_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   3.7901 ] Key size is 384 bytes
[   3.8259 ] Saving pkc public key in pub_key.key
[   3.8272 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tegra194-a02-bpmp-p3668-a00_lz4_sigheader.dtb_aligned.encrypt.signed tegra194-a02-bpmp-p3668-a00_lz4_sigheader.dtb_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   3.8313 ] tegrahost_v2 --chip 0x19 --align spe_t194_sigheader_aligned.bin
[   3.8324 ] header_magic: 4e564441
[   3.8362 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list spe_t194_sigheader_aligned.bin_list.xml
[   3.8365 ] Key is a SBK key
[   3.8365 ] Key Size is 16 bytes
[   3.8424 ] tegrahost_v2 --chip 0x19 0 --updatesigheader spe_t194_sigheader_aligned.bin.encrypt spe_t194_sigheader_aligned.bin.hash zerosbk
[   3.8470 ] tegrahost_v2 --chip 0x19 --align spe_t194_sigheader.bin_aligned.encrypt
[   3.8481 ] header_magic: 4e564441
[   3.8519 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list spe_t194_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   3.8531 ] Key size is 384 bytes
[   3.8892 ] Saving pkc public key in pub_key.key
[   3.8904 ] tegrahost_v2 --chip 0x19 0 --updatesigheader spe_t194_sigheader.bin_aligned.encrypt.signed spe_t194_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   3.8952 ] tegrahost_v2 --chip 0x19 --align nvtboot_t194_sigheader_aligned.bin
[   3.8964 ] header_magic: 4e564441
[   3.9002 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list nvtboot_t194_sigheader_aligned.bin_list.xml
[   3.9004 ] Key is a SBK key
[   3.9004 ] Key Size is 16 bytes
[   3.9089 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_t194_sigheader_aligned.bin.encrypt nvtboot_t194_sigheader_aligned.bin.hash zerosbk
[   3.9147 ] tegrahost_v2 --chip 0x19 --align nvtboot_t194_sigheader.bin_aligned.encrypt
[   3.9159 ] header_magic: 4e564441
[   3.9198 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list nvtboot_t194_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   3.9211 ] Key size is 384 bytes
[   3.9572 ] Saving pkc public key in pub_key.key
[   3.9583 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_t194_sigheader.bin_aligned.encrypt.signed nvtboot_t194_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   3.9642 ] tegrahost_v2 --chip 0x19 --align preboot_c10_prod_cr_sigheader_aligned.bin
[   3.9654 ] header_magic: 4e564441
[   3.9692 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list preboot_c10_prod_cr_sigheader_aligned.bin_list.xml
[   3.9694 ] Key is a SBK key
[   3.9694 ] Key Size is 16 bytes
[   3.9739 ] tegrahost_v2 --chip 0x19 0 --updatesigheader preboot_c10_prod_cr_sigheader_aligned.bin.encrypt preboot_c10_prod_cr_sigheader_aligned.bin.hash zerosbk
[   3.9776 ] tegrahost_v2 --chip 0x19 --align preboot_c10_prod_cr_sigheader.bin_aligned.encrypt
[   3.9786 ] header_magic: 4e564441
[   3.9824 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list preboot_c10_prod_cr_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   3.9836 ] Key size is 384 bytes
[   4.0196 ] Saving pkc public key in pub_key.key
[   4.0208 ] tegrahost_v2 --chip 0x19 0 --updatesigheader preboot_c10_prod_cr_sigheader.bin_aligned.encrypt.signed preboot_c10_prod_cr_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   4.0248 ] tegrahost_v2 --chip 0x19 --align mce_c10_prod_cr_sigheader_aligned.bin
[   4.0260 ] header_magic: 4e564441
[   4.0298 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list mce_c10_prod_cr_sigheader_aligned.bin_list.xml
[   4.0300 ] Key is a SBK key
[   4.0300 ] Key Size is 16 bytes
[   4.0371 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mce_c10_prod_cr_sigheader_aligned.bin.encrypt mce_c10_prod_cr_sigheader_aligned.bin.hash zerosbk
[   4.0428 ] tegrahost_v2 --chip 0x19 --align mce_c10_prod_cr_sigheader.bin_aligned.encrypt
[   4.0440 ] header_magic: 4e564441
[   4.0479 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list mce_c10_prod_cr_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   4.0493 ] Key size is 384 bytes
[   4.0853 ] Saving pkc public key in pub_key.key
[   4.0865 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mce_c10_prod_cr_sigheader.bin_aligned.encrypt.signed mce_c10_prod_cr_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   4.0950 ] tegrahost_v2 --chip 0x19 --align mts_c10_prod_cr_sigheader_aligned.bin
[   4.0962 ] header_magic: 4e564441
[   4.0999 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list mts_c10_prod_cr_sigheader_aligned.bin_list.xml
[   4.1002 ] Key is a SBK key
[   4.1002 ] Key Size is 16 bytes
[   4.1799 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mts_c10_prod_cr_sigheader_aligned.bin.encrypt mts_c10_prod_cr_sigheader_aligned.bin.hash zerosbk
[   4.2307 ] tegrahost_v2 --chip 0x19 --align mts_c10_prod_cr_sigheader.bin_aligned.encrypt
[   4.2318 ] header_magic: 4e564441
[   4.2355 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list mts_c10_prod_cr_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   4.2366 ] Key size is 384 bytes
[   4.2755 ] Saving pkc public key in pub_key.key
[   4.2768 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mts_c10_prod_cr_sigheader.bin_aligned.encrypt.signed mts_c10_prod_cr_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   4.3142 ] tegrahost_v2 --chip 0x19 --align warmboot_t194_prod_sigheader_aligned.bin
[   4.3153 ] header_magic: 4e564441
[   4.3191 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list warmboot_t194_prod_sigheader_aligned.bin_list.xml
[   4.3193 ] Key is a SBK key
[   4.3193 ] Key Size is 16 bytes
[   4.3245 ] tegrahost_v2 --chip 0x19 0 --updatesigheader warmboot_t194_prod_sigheader_aligned.bin.encrypt warmboot_t194_prod_sigheader_aligned.bin.hash zerosbk
[   4.3294 ] tegrahost_v2 --chip 0x19 --align warmboot_t194_prod_sigheader.bin_aligned.encrypt
[   4.3305 ] header_magic: 4e564441
[   4.3345 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list warmboot_t194_prod_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   4.3358 ] Key size is 384 bytes
[   4.3722 ] Saving pkc public key in pub_key.key
[   4.3735 ] tegrahost_v2 --chip 0x19 0 --updatesigheader warmboot_t194_prod_sigheader.bin_aligned.encrypt.signed warmboot_t194_prod_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   4.3803 ] tegrahost_v2 --chip 0x19 --align nvdisp-init_sigheader_aligned.bin
[   4.3815 ] header_magic: 4e564441
[   4.3852 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list nvdisp-init_sigheader_aligned.bin_list.xml
[   4.3854 ] Key is a SBK key
[   4.3854 ] Key Size is 16 bytes
[   4.4610 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvdisp-init_sigheader_aligned.bin.encrypt nvdisp-init_sigheader_aligned.bin.hash zerosbk
[   4.5097 ] tegrahost_v2 --chip 0x19 --align nvdisp-init_sigheader.bin_aligned.encrypt
[   4.5108 ] header_magic: 4e564441
[   4.5146 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list nvdisp-init_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   4.5158 ] Key size is 384 bytes
[   4.5562 ] Saving pkc public key in pub_key.key
[   4.5575 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvdisp-init_sigheader.bin_aligned.encrypt.signed nvdisp-init_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   4.5923 ] tegrahost_v2 --chip 0x19 --align tegra194-p3668-all-p3509-0000_sigheader_aligned.dtb
[   4.5937 ] header_magic: 4e564441
[   4.5974 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list tegra194-p3668-all-p3509-0000_sigheader_aligned.dtb_list.xml
[   4.5976 ] Key is a SBK key
[   4.5976 ] Key Size is 16 bytes
[   4.6092 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tegra194-p3668-all-p3509-0000_sigheader_aligned.dtb.encrypt tegra194-p3668-all-p3509-0000_sigheader_aligned.dtb.hash zerosbk
[   4.6167 ] tegrahost_v2 --chip 0x19 --align tegra194-p3668-all-p3509-0000_sigheader.dtb_aligned.encrypt
[   4.6178 ] header_magic: 4e564441
[   4.6217 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list tegra194-p3668-all-p3509-0000_sigheader.dtb_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   4.6231 ] Key size is 384 bytes
[   4.6595 ] Saving pkc public key in pub_key.key
[   4.6607 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tegra194-p3668-all-p3509-0000_sigheader.dtb_aligned.encrypt.signed tegra194-p3668-all-p3509-0000_sigheader.dtb_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   4.6697 ] tegrahost_v2 --chip 0x19 --align tos-optee_t194_sigheader_aligned.img
[   4.6708 ] header_magic: 4e564441
[   4.6746 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list tos-optee_t194_sigheader_aligned.img_list.xml
[   4.6749 ] Key is a SBK key
[   4.6749 ] Key Size is 16 bytes
[   4.7037 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tos-optee_t194_sigheader_aligned.img.encrypt tos-optee_t194_sigheader_aligned.img.hash zerosbk
[   4.7187 ] tegrahost_v2 --chip 0x19 --align tos-optee_t194_sigheader.img_aligned.encrypt
[   4.7198 ] header_magic: 4e564441
[   4.7236 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list tos-optee_t194_sigheader.img_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   4.7248 ] Key size is 384 bytes
[   4.7616 ] Saving pkc public key in pub_key.key
[   4.7629 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tos-optee_t194_sigheader.img_aligned.encrypt.signed tos-optee_t194_sigheader.img_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   4.7780 ] tegrahost_v2 --chip 0x19 --align eks_t194_sigheader_aligned.img
[   4.7791 ] header_magic: 4e564441
[   4.7828 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list eks_t194_sigheader_aligned.img_list.xml
[   4.7830 ] Key is a SBK key
[   4.7831 ] Key Size is 16 bytes
[   4.7870 ] tegrahost_v2 --chip 0x19 0 --updatesigheader eks_t194_sigheader_aligned.img.encrypt eks_t194_sigheader_aligned.img.hash zerosbk
[   4.7906 ] tegrahost_v2 --chip 0x19 --align eks_t194_sigheader.img_aligned.encrypt
[   4.7917 ] header_magic: 4e564441
[   4.7955 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list eks_t194_sigheader.img_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   4.7967 ] Key size is 384 bytes
[   4.8325 ] Saving pkc public key in pub_key.key
[   4.8337 ] tegrahost_v2 --chip 0x19 0 --updatesigheader eks_t194_sigheader.img_aligned.encrypt.signed eks_t194_sigheader.img_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   4.8377 ] tegrahost_v2 --chip 0x19 --align adsp-fw_sigheader_aligned.bin
[   4.8388 ] header_magic: 4e564441
[   4.8425 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list adsp-fw_sigheader_aligned.bin_list.xml
[   4.8428 ] Key is a SBK key
[   4.8428 ] Key Size is 16 bytes
[   4.8554 ] tegrahost_v2 --chip 0x19 0 --updatesigheader adsp-fw_sigheader_aligned.bin.encrypt adsp-fw_sigheader_aligned.bin.hash zerosbk
[   4.8637 ] tegrahost_v2 --chip 0x19 --align adsp-fw_sigheader.bin_aligned.encrypt
[   4.8649 ] header_magic: 4e564441
[   4.8687 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list adsp-fw_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   4.8699 ] Key size is 384 bytes
[   4.9065 ] Saving pkc public key in pub_key.key
[   4.9078 ] tegrahost_v2 --chip 0x19 0 --updatesigheader adsp-fw_sigheader.bin_aligned.encrypt.signed adsp-fw_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   4.9177 ] tegrahost_v2 --chip 0x19 --align camera-rtcpu-t194-rce_sigheader_aligned.img
[   4.9189 ] header_magic: 4e564441
[   4.9226 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list camera-rtcpu-t194-rce_sigheader_aligned.img_list.xml
[   4.9228 ] Key is a SBK key
[   4.9228 ] Key Size is 16 bytes
[   4.9384 ] tegrahost_v2 --chip 0x19 0 --updatesigheader camera-rtcpu-t194-rce_sigheader_aligned.img.encrypt camera-rtcpu-t194-rce_sigheader_aligned.img.hash zerosbk
[   4.9475 ] tegrahost_v2 --chip 0x19 --align camera-rtcpu-t194-rce_sigheader.img_aligned.encrypt
[   4.9486 ] header_magic: 4e564441
[   4.9524 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list camera-rtcpu-t194-rce_sigheader.img_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   4.9537 ] Key size is 384 bytes
[   4.9903 ] Saving pkc public key in pub_key.key
[   4.9916 ] tegrahost_v2 --chip 0x19 0 --updatesigheader camera-rtcpu-t194-rce_sigheader.img_aligned.encrypt.signed camera-rtcpu-t194-rce_sigheader.img_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   5.0014 ] tegrahost_v2 --chip 0x19 --align bpmp-2_t194_sigheader_aligned.bin
[   5.0026 ] header_magic: 4e564441
[   5.0064 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list bpmp-2_t194_sigheader_aligned.bin_list.xml
[   5.0066 ] Key is a SBK key
[   5.0067 ] Key Size is 16 bytes
[   5.0325 ] tegrahost_v2 --chip 0x19 0 --updatesigheader bpmp-2_t194_sigheader_aligned.bin.encrypt bpmp-2_t194_sigheader_aligned.bin.hash zerosbk
[   5.0474 ] tegrahost_v2 --chip 0x19 --align bpmp-2_t194_sigheader.bin_aligned.encrypt
[   5.0485 ] header_magic: 4e564441
[   5.0523 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list bpmp-2_t194_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   5.0536 ] Key size is 384 bytes
[   5.0901 ] Saving pkc public key in pub_key.key
[   5.0915 ] tegrahost_v2 --chip 0x19 0 --updatesigheader bpmp-2_t194_sigheader.bin_aligned.encrypt.signed bpmp-2_t194_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   5.1052 ] tegrahost_v2 --chip 0x19 --align tegra194-a02-bpmp-p3668-a00_lz4_sigheader_aligned.dtb
[   5.1064 ] header_magic: 4e564441
[   5.1101 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list tegra194-a02-bpmp-p3668-a00_lz4_sigheader_aligned.dtb_list.xml
[   5.1104 ] Key is a SBK key
[   5.1104 ] Key Size is 16 bytes
[   5.1154 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tegra194-a02-bpmp-p3668-a00_lz4_sigheader_aligned.dtb.encrypt tegra194-a02-bpmp-p3668-a00_lz4_sigheader_aligned.dtb.hash zerosbk
[   5.1194 ] tegrahost_v2 --chip 0x19 --align tegra194-a02-bpmp-p3668-a00_lz4_sigheader.dtb_aligned.encrypt
[   5.1205 ] header_magic: 4e564441
[   5.1243 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list tegra194-a02-bpmp-p3668-a00_lz4_sigheader.dtb_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   5.1255 ] Key size is 384 bytes
[   5.1614 ] Saving pkc public key in pub_key.key
[   5.1626 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tegra194-a02-bpmp-p3668-a00_lz4_sigheader.dtb_aligned.encrypt.signed tegra194-a02-bpmp-p3668-a00_lz4_sigheader.dtb_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   5.1696 ] tegrahost_v2 --chip 0x19 --align nvtboot_recovery_t194_aligned.bin
[   5.1707 ] header_magic: 50000ea
[   5.1745 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list nvtboot_recovery_t194_aligned.bin_list.xml
[   5.1747 ] Key is a SBK key
[   5.1747 ] Key Size is 16 bytes
[   5.1830 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_recovery_t194_aligned.bin.encrypt nvtboot_recovery_t194_aligned.bin.hash zerosbk
[   5.1870 ] tegrahost_v2 --chip 0x19 --align nvtboot_recovery_t194.bin_aligned.encrypt
[   5.1881 ] header_magic: d07e13d7
[   5.1903 ] tegrahost_v2 --appendsigheader nvtboot_recovery_t194.bin_aligned.encrypt oem-rsa-sbk --chip 0x19 0 --magicid MB2B --ratchet_blob ratchet_blob.bin
[   5.1913 ] adding BCH for nvtboot_recovery_t194.bin_aligned.encrypt
[   5.1985 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list nvtboot_recovery_t194.bin_aligned_sigheader.encrypt_list.xml --pubkeyhash pub_key.key
[   5.1998 ] Key size is 384 bytes
[   5.2358 ] Saving pkc public key in pub_key.key
[   5.2371 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_recovery_t194.bin_aligned_sigheader.encrypt.signed nvtboot_recovery_t194.bin_aligned_sigheader.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   5.2428 ] tegrahost_v2 --chip 0x19 --align nvtboot_recovery_cpu_t194_aligned.bin
[   5.2440 ] header_magic: 9000014
[   5.2477 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list nvtboot_recovery_cpu_t194_aligned.bin_list.xml
[   5.2480 ] Key is a SBK key
[   5.2480 ] Key Size is 16 bytes
[   5.2567 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_recovery_cpu_t194_aligned.bin.encrypt nvtboot_recovery_cpu_t194_aligned.bin.hash zerosbk
[   5.2609 ] tegrahost_v2 --chip 0x19 --align nvtboot_recovery_cpu_t194.bin_aligned.encrypt
[   5.2621 ] header_magic: c75315da
[   5.2643 ] tegrahost_v2 --appendsigheader nvtboot_recovery_cpu_t194.bin_aligned.encrypt oem-rsa-sbk --chip 0x19 0 --magicid CPBL --ratchet_blob ratchet_blob.bin
[   5.2653 ] adding BCH for nvtboot_recovery_cpu_t194.bin_aligned.encrypt
[   5.2731 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list nvtboot_recovery_cpu_t194.bin_aligned_sigheader.encrypt_list.xml --pubkeyhash pub_key.key
[   5.2744 ] Key size is 384 bytes
[   5.3105 ] Saving pkc public key in pub_key.key
[   5.3118 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_recovery_cpu_t194.bin_aligned_sigheader.encrypt.signed nvtboot_recovery_cpu_t194.bin_aligned_sigheader.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   5.3153 ] Copying signed file in /home/adit/jetson/Linux_for_Tegra/bootloader/encrypted_signed_t19x
[   5.3159 ] Parsing dev params for multi chains
[   5.3159 ] Generating br-bct
[   5.3183 ] Performing cfg overlay
[   5.3183 ] ['/home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.cfg']
[   5.3183 ] Updating dev and MSS params in BR BCT
[   5.3183 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi-l4t.cfg --sdram /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   5.3768 ] Updating bl info
[   5.3794 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   5.3813 ] Generating br-bct
[   5.3835 ] Performing cfg overlay
[   5.3836 ] ['/home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.cfg']
[   5.3836 ] Updating dev and MSS params in BR BCT
[   5.3836 ] tegrabct_v2 --dev_param tegra194-br-bct_b-qspi-l4t.cfg --sdram /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   5.4423 ] Updating bl info
[   5.4451 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   5.4473 ] Generating BCT backup image
[   5.4474 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   5.4486 ] 32768+0 records in
[   5.5264 ] 32768+0 records out
[   5.5264 ] 32768 bytes (33 kB, 32 KiB) copied, 0,0773589 s, 424 kB/s
[   5.5264 ] 
[   5.5264 ] Concatenating BCT for chain A to bct_backup.img

[   5.5264 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   5.5278 ] 2888+0 records in
[   5.5342 ] 2888+0 records out
[   5.5342 ] 2888 bytes (2,9 kB, 2,8 KiB) copied, 0,00608302 s, 475 kB/s
[   5.5343 ] 
[   5.5343 ] Concatenating BCT for chain B to bct_backup.img

[   5.5343 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   5.5355 ] 2888+0 records in
[   5.5420 ] 2888+0 records out
[   5.5420 ] 2888 bytes (2,9 kB, 2,8 KiB) copied, 0,0060802 s, 475 kB/s
[   5.5420 ] 
[   5.5420 ] Parsing dev params for multi chains
[   5.5421 ] Generating br-bct
[   5.5445 ] Performing cfg overlay
[   5.5445 ] ['/home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.cfg']
[   5.5446 ] Updating dev and MSS params in BR BCT
[   5.5446 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi-l4t.cfg --sdram /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   5.6028 ] Updating bl info
[   5.6053 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   5.6081 ] Updating smd info
[   5.6104 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   5.6117 ] Updating Odmdata
[   5.6139 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[   5.6152 ] Get encrypted section of bct
[   5.6174 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listencbct bct_list.xml
[   5.6186 ] Signing BCT
[   5.6186 ] Generating signatures with encryption
[   5.6222 ] tegrasign_v3.py --file br_bct_BR.bct --key /home/adit/jetson/keys/sd/sbk_key.txt --offset 2328
[   5.6224 ] Key is a SBK key
[   5.6224 ] Key Size is 16 bytes
[   5.6239 ] Updating BCT with signature
[   5.6242 ] Get Signed section of bct
[   5.6264 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   5.6313 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   5.6326 ] Key size is 384 bytes
[   5.6703 ] Saving pkc public key in pub_key.key
[   5.6704 ] Saving Montgomery values in montgomery.bin
[   5.6690 ] Updating BCT with signature
[   5.6715 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   5.6730 ] Generating br-bct
[   5.6753 ] Performing cfg overlay
[   5.6753 ] ['/home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.cfg']
[   5.6753 ] Updating dev and MSS params in BR BCT
[   5.6753 ] tegrabct_v2 --dev_param tegra194-br-bct_b-qspi-l4t.cfg --sdram /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   5.7336 ] Updating bl info
[   5.7361 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   5.7391 ] Updating smd info
[   5.7413 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   5.7427 ] Updating Odmdata
[   5.7449 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[   5.7462 ] Get encrypted section of bct
[   5.7484 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listencbct bct_list.xml
[   5.7497 ] Signing BCT
[   5.7497 ] Generating signatures with encryption
[   5.7533 ] tegrasign_v3.py --file br_bct_BR.bct --key /home/adit/jetson/keys/sd/sbk_key.txt --offset 2328
[   5.7535 ] Key is a SBK key
[   5.7535 ] Key Size is 16 bytes
[   5.7551 ] Updating BCT with signature
[   5.7553 ] Get Signed section of bct
[   5.7576 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   5.7625 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   5.7638 ] Key size is 384 bytes
[   5.8019 ] Saving pkc public key in pub_key.key
[   5.8020 ] Saving Montgomery values in montgomery.bin
[   5.8006 ] Updating BCT with signature
[   5.8031 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   5.8045 ] Generating BCT backup image
[   5.8046 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   5.8059 ] 32768+0 records in
[   5.8837 ] 32768+0 records out
[   5.8837 ] 32768 bytes (33 kB, 32 KiB) copied, 0,0773735 s, 424 kB/s
[   5.8837 ] 
[   5.8837 ] Concatenating BCT for chain A to bct_backup.img

[   5.8837 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   5.8853 ] 2888+0 records in
[   5.8916 ] 2888+0 records out
[   5.8917 ] 2888 bytes (2,9 kB, 2,8 KiB) copied, 0,00596753 s, 484 kB/s
[   5.8917 ] 
[   5.8917 ] Concatenating BCT for chain B to bct_backup.img

[   5.8917 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   5.8932 ] 2888+0 records in
[   5.8996 ] 2888+0 records out
[   5.8996 ] 2888 bytes (2,9 kB, 2,8 KiB) copied, 0,00603837 s, 478 kB/s
[   5.8996 ] 
[   5.8997 ] Generating coldboot mb1-bct
[   5.9022 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.cfg --misc tegra194-mb1-bct-misc-l4t.cfg --scr tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --pinmux tegra19x-mb1-pinmux-p3668-a01.cfg --pmc tegra19x-mb1-padvoltage-p3668-a01.cfg --pmic tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --brcommand tegra194-mb1-bct-reset-p3668-0001-a00.cfg --prod tegra19x-mb1-prod-p3668-0001-a00.cfg --gpioint tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --device tegra19x-mb1-bct-device-qspi-p3668.cfg
[   5.9032 ] MB1-BCT version: 0x1

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

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

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

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

[   5.9198 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg 
[   5.9201 ] Added Platform Config 3 data with size :- 92
[   5.9201 ] 
[   5.9201 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[   5.9201 ] Added Platform Config 5 data with size :- 140
[   5.9201 ] 
[   5.9201 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[   5.9201 ] Added Platform Config 7 data with size :- 392
[   5.9201 ] 
[   5.9201 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[   5.9201 ] Added Platform Config 9 data with size :- 40
[   5.9201 ] 
[   5.9202 ] Updating mb1-bct with firmware information
[   5.9229 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   5.9243 ] Updating mb1-bct with storage information
[   5.9266 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   5.9279 ] Updating mb1-bct with ratchet information
[   5.9301 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   5.9312 ] FwIndex: 1, MinRatchetLevel: 0
[   5.9316 ] FwIndex: 2, MinRatchetLevel: 0
[   5.9316 ] FwIndex: 3, MinRatchetLevel: 0
[   5.9316 ] FwIndex: 4, MinRatchetLevel: 0
[   5.9316 ] FwIndex: 5, MinRatchetLevel: 0
[   5.9316 ] FwIndex: 6, MinRatchetLevel: 0
[   5.9316 ] FwIndex: 7, MinRatchetLevel: 0
[   5.9316 ] FwIndex: 11, MinRatchetLevel: 0
[   5.9316 ] FwIndex: 12, MinRatchetLevel: 0
[   5.9316 ] FwIndex: 13, MinRatchetLevel: 0
[   5.9316 ] FwIndex: 14, MinRatchetLevel: 0
[   5.9316 ] FwIndex: 15, MinRatchetLevel: 0
[   5.9316 ] FwIndex: 16, MinRatchetLevel: 0
[   5.9316 ] FwIndex: 17, MinRatchetLevel: 0
[   5.9317 ] FwIndex: 18, MinRatchetLevel: 0
[   5.9317 ] FwIndex: 19, MinRatchetLevel: 0
[   5.9317 ] FwIndex: 30, MinRatchetLevel: 0
[   5.9317 ] FwIndex: 31, MinRatchetLevel: 0
[   5.9317 ] 
[   5.9341 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1_aligned.bct
[   5.9352 ] header_magic: d0660000
[   5.9390 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list mb1_cold_boot_bct_MB1_aligned.bct_list.xml
[   5.9392 ] Key is a SBK key
[   5.9392 ] Key Size is 16 bytes
[   5.9439 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_aligned.bct.encrypt mb1_cold_boot_bct_MB1_aligned.bct.hash zerosbk
[   5.9476 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1.bct_aligned.encrypt
[   5.9488 ] header_magic: a4f7243c
[   5.9510 ] tegrahost_v2 --appendsigheader mb1_cold_boot_bct_MB1.bct_aligned.encrypt oem-rsa-sbk --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin
[   5.9520 ] adding BCH for mb1_cold_boot_bct_MB1.bct_aligned.encrypt
[   5.9564 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list mb1_cold_boot_bct_MB1.bct_aligned_sigheader.encrypt_list.xml --pubkeyhash pub_key.key
[   5.9577 ] Key size is 384 bytes
[   5.9940 ] Saving pkc public key in pub_key.key
[   5.9953 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1.bct_aligned_sigheader.encrypt.signed mb1_cold_boot_bct_MB1.bct_aligned_sigheader.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   5.9970 ] Generating recovery mb1-bct
[   5.9993 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.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
[   6.0004 ] MB1-BCT version: 0x1

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

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

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

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

[   6.0170 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg 
[   6.0173 ] Added Platform Config 3 data with size :- 92
[   6.0173 ] 
[   6.0173 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[   6.0173 ] Added Platform Config 5 data with size :- 140
[   6.0173 ] 
[   6.0174 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[   6.0174 ] Added Platform Config 7 data with size :- 392
[   6.0174 ] 
[   6.0174 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[   6.0174 ] Added Platform Config 9 data with size :- 40
[   6.0174 ] 
[   6.0174 ] Updating mb1-bct with firmware information
[   6.0199 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo flash.xml.bin
[   6.0213 ] Updating mb1-bct with storage information
[   6.0236 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   6.0249 ] Updating mb1-bct with ratchet information
[   6.0272 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   6.0282 ] FwIndex: 1, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 2, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 3, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 4, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 5, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 6, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 7, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 11, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 12, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 13, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 14, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 15, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 16, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 17, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 18, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 19, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 30, MinRatchetLevel: 0
[   6.0286 ] FwIndex: 31, MinRatchetLevel: 0
[   6.0286 ] 
[   6.0311 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1_aligned.bct
[   6.0324 ] header_magic: d0660000
[   6.0362 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list mb1_bct_MB1_aligned.bct_list.xml
[   6.0365 ] Key is a SBK key
[   6.0365 ] Key Size is 16 bytes
[   6.0411 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_aligned.bct.encrypt mb1_bct_MB1_aligned.bct.hash zerosbk
[   6.0447 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1.bct_aligned.encrypt
[   6.0459 ] header_magic: a4f7243c
[   6.0481 ] tegrahost_v2 --appendsigheader mb1_bct_MB1.bct_aligned.encrypt oem-rsa-sbk --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin
[   6.0491 ] adding BCH for mb1_bct_MB1.bct_aligned.encrypt
[   6.0537 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list mb1_bct_MB1.bct_aligned_sigheader.encrypt_list.xml --pubkeyhash pub_key.key
[   6.0551 ] Key size is 384 bytes
[   6.0913 ] Saving pkc public key in pub_key.key
[   6.0926 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1.bct_aligned_sigheader.encrypt.signed mb1_bct_MB1.bct_aligned_sigheader.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   6.0943 ] Generating coldboot mem-bct
[   6.0965 ] tegrabct_v2 --chip 0x19 0 --sdram /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.cfg --membct /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_1.bct /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_2.bct /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_3.bct /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_4.bct
[   6.0976 ] Packing sdram param for instance[0]
[   6.1563 ] Packing sdram param for instance[1]
[   6.1565 ] Packing sdram param for instance[2]
[   6.1567 ] Packing sdram param for instance[3]
[   6.1567 ] Packing sdram param for instance[4]
[   6.1567 ] Packing sdram param for instance[5]
[   6.1567 ] Packing sdram param for instance[6]
[   6.1567 ] Packing sdram param for instance[7]
[   6.1567 ] Packing sdram param for instance[8]
[   6.1567 ] Packing sdram param for instance[9]
[   6.1567 ] Packing sdram param for instance[10]
[   6.1567 ] Packing sdram param for instance[11]
[   6.1568 ] Packing sdram param for instance[12]
[   6.1568 ] Packing sdram param for instance[13]
[   6.1568 ] Packing sdram param for instance[14]
[   6.1568 ] Packing sdram param for instance[15]
[   6.1568 ] 
[   6.1568 ] Getting sector size from pt
[   6.1594 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[   6.1606 ] BlockSize read from layout is 200

[   6.1643 ] tegrasign_v3.py --file /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_1.bct --key /home/adit/jetson/keys/sd/sbk_key.txt
[   6.1645 ] Key is a SBK key
[   6.1645 ] Key Size is 16 bytes
[   6.1708 ] tegrasign_v3.py --file /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_2.bct --key /home/adit/jetson/keys/sd/sbk_key.txt
[   6.1711 ] Key is a SBK key
[   6.1711 ] Key Size is 16 bytes
[   6.1772 ] tegrasign_v3.py --file /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_3.bct --key /home/adit/jetson/keys/sd/sbk_key.txt
[   6.1775 ] Key is a SBK key
[   6.1775 ] Key Size is 16 bytes
[   6.1836 ] tegrasign_v3.py --file /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_4.bct --key /home/adit/jetson/keys/sd/sbk_key.txt
[   6.1839 ] Key is a SBK key
[   6.1839 ] Key Size is 16 bytes
[   6.1887 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_1_encrypt.bct /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_2_encrypt.bct /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_3_encrypt.bct /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_4_encrypt.bct
[   6.1898 ] adding BCH for /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_1_encrypt.bct
[   6.1941 ] tegrahost_v2 --chip 0x19 --align mem_coldboot_aligned.bct
[   6.1952 ] header_magic: 4e564441
[   6.1990 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list mem_coldboot_aligned.bct_list.xml --pubkeyhash pub_key.key
[   6.2003 ] Key size is 384 bytes
[   6.2370 ] Saving pkc public key in pub_key.key
[   6.2383 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_aligned.bct.signed mem_coldboot_aligned.bct.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   6.2424 ] tegrahost_v2 --chip 0x19 --align mem_coldboot_aligned.bct
[   6.2458 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_coldboot_aligned.bct oem-rsa
[   6.2468 ] Header already present for mem_coldboot_aligned.bct
[   6.2510 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list mem_coldboot_aligned_sigheader.bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   6.2523 ] Key size is 384 bytes
[   6.2898 ] Saving pkc public key in pub_key.key
[   6.2898 ] Saving Montgomery values in montgomery.bin
[   6.2911 ] tegrahost_v2 --chip 0x19 0 --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin --updatesigheader mem_coldboot_aligned_sigheader.bct.signed mem_coldboot_aligned_sigheader.bct.sig oem-rsa
[   6.2928 ] Generating recovery mem-bct
[   6.2952 ] tegrabct_v2 --chip 0x19 0 --sdram /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1.cfg --membct /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_1.bct /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_2.bct /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_3.bct /home/adit/jetson/Linux_for_Tegra/bootloader/3351144/tmpb6wv3gwi1_4.bct
[   6.2963 ] Packing sdram param for instance[0]
[   6.3534 ] Packing sdram param for instance[1]
[   6.3536 ] Packing sdram param for instance[2]
[   6.3538 ] Packing sdram param for instance[3]
[   6.3541 ] Packing sdram param for instance[4]
[   6.3541 ] Packing sdram param for instance[5]
[   6.3541 ] Packing sdram param for instance[6]
[   6.3541 ] Packing sdram param for instance[7]
[   6.3541 ] Packing sdram param for instance[8]
[   6.3541 ] Packing sdram param for instance[9]
[   6.3541 ] Packing sdram param for instance[10]
[   6.3541 ] Packing sdram param for instance[11]
[   6.3541 ] Packing sdram param for instance[12]
[   6.3541 ] Packing sdram param for instance[13]
[   6.3541 ] Packing sdram param for instance[14]
[   6.3541 ] Packing sdram param for instance[15]
[   6.3541 ] 
[   6.3569 ] tegrahost_v2 --chip 0x19 --align mem_rcm_aligned.bct
[   6.3581 ] header_magic: 3000000
[   6.3619 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/sbk_key.txt --list mem_rcm_aligned.bct_list.xml
[   6.3622 ] Key is a SBK key
[   6.3622 ] Key Size is 16 bytes
[   6.3675 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_aligned.bct.encrypt mem_rcm_aligned.bct.hash zerosbk
[   6.3715 ] tegrahost_v2 --chip 0x19 --align mem_rcm.bct_aligned.encrypt
[   6.3727 ] header_magic: a29a2135
[   6.3749 ] tegrahost_v2 --appendsigheader mem_rcm.bct_aligned.encrypt oem-rsa-sbk --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin
[   6.3760 ] adding BCH for mem_rcm.bct_aligned.encrypt
[   6.3808 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list mem_rcm.bct_aligned_sigheader.encrypt_list.xml --pubkeyhash pub_key.key
[   6.3821 ] Key size is 384 bytes
[   6.4182 ] Saving pkc public key in pub_key.key
[   6.4195 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm.bct_aligned_sigheader.encrypt.signed mem_rcm.bct_aligned_sigheader.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   6.4216 ] Copying br bct for multi chains
[   6.4217 ] Signed BCT for boot chain A is copied to /home/adit/jetson/Linux_for_Tegra/bootloader/encrypted_signed_t19x/br_bct_BR.bct

[   6.4218 ] Signed BCT for boot chain B is copied to /home/adit/jetson/Linux_for_Tegra/bootloader/encrypted_signed_t19x/br_bct_b_BR.bct

[   6.4219 ] Copying BCT backup image bct_backup.img to /home/adit/jetson/Linux_for_Tegra/bootloader/encrypted_signed_t19x/bct_backup.img
[   6.4226 ] nvtboot_recovery_t194.bin_sigheader.encrypt.signed
[   6.4229 ] preboot_c10_prod_cr.bin
[   6.4230 ] mce_c10_prod_cr.bin
[   6.4232 ] mts_c10_prod_cr.bin
[   6.4260 ] bpmp-2_t194.bin
[   6.4268 ] tegra194-a02-bpmp-p3668-a00_lz4.dtb
[   6.4269 ] spe_t194.bin
[   6.4271 ] tos-optee_t194.img
[   6.4281 ] eks_t194.img
[   6.4282 ] tegra194-p3668-all-p3509-0000.dtb
[   6.4286 ] nvtboot_recovery_cpu_t194.bin_sigheader.encrypt.signed
[   6.4408 ] tegrahost_v2 --chip 0x19 --align mb1_t194_prod_sigheader.bin_aligned.encrypt
[   6.4420 ] header_magic: 4e564441
[   6.4459 ] tegrasign_v3.py --key /home/adit/jetson/keys/sd/jetson.pem --list mb1_t194_prod_sigheader.bin_aligned.encrypt_list.xml --pubkeyhash pub_key.key
[   6.4472 ] Key size is 384 bytes
[   6.4837 ] Saving pkc public key in pub_key.key
[   6.4850 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin_aligned.encrypt.signed mb1_t194_prod_sigheader.bin_aligned.encrypt.sig oem-rsa --pubkeyhash pub_key.key --setmontgomeryvalues montgomery.bin
[   6.4913 ] tegraparser_v2 --generategpt --pt flash.xml.bin
[   6.4924 ] gpt_secondary_3_0.bin:
[   6.4926 ] partition_id       partition_name                        StartingLba       EndingLba
[   6.4928 ]            1       BCT                                            0             255
[   6.4930 ]            2       mb1                                          256             767
[   6.4932 ]            3       mb1_b                                        768            1279
[   6.4935 ]            4       MB1_BCT                                     1280            1407
[   6.4937 ]            5       MEM_BCT                                     1408            1919
[   6.4939 ]            6       spe-fw                                      1920            2431
[   6.4941 ]            7       mb2                                         2432            2943
[   6.4943 ]            8       mts-preboot                                 2944            3071
[   6.4945 ]            9       mts-mce                                     3072            3455
[   6.4947 ]           10       mts-proper                                  3456           11647
[   6.4950 ]           11       sc7                                        11648           11903
[   6.4952 ]           12       xusb-fw                                    11904           12287
[   6.4955 ]           13       cpu-bootloader                             12288           20479
[   6.4957 ]           14       bootloader-dtb                             20480           21375
[   6.4959 ]           15       secure-os                                  21376           26495
[   6.4962 ]           16       eks                                        26496           26623
[   6.4962 ]           17       adsp-fw                                    26624           28671
[   6.4962 ]           18       rce-fw                                     28672           30719
[   6.4963 ]           19       sce-fw                                     30720           32767
[   6.4963 ]           20       bpmp-fw                                    32768           35839
[   6.4963 ]           21       bpmp-fw-dtb                                35840           37887
[   6.4963 ]           22       reserved_for_chain_A_boot                  37888           41983
[   6.4963 ]           23       MB1_BCT_b                                  41984           42111
[   6.4963 ]           24       MEM_BCT_b                                  42112           42623
[   6.4963 ]           25       spe-fw_b                                   42624           43135
[   6.4963 ]           26       mb2_b                                      43136           43647
[   6.4963 ]           27       mts-preboot_b                              43648           43775
[   6.4963 ]           28       mts-mce_b                                  43776           44159
[   6.4963 ]           29       mts-proper_b                               44160           52351
[   6.4963 ]           30       sc7_b                                      52352           52607
[   6.4963 ]           31       xusb-fw_b                                  52608           52991
[   6.4963 ]           32       cpu-bootloader_b                           52992           61183
[   6.4963 ]           33       bootloader-dtb_b                           61184           62079
[   6.4963 ]           34       reserved_for_chain_B_boot                  62080           63359
[   6.4963 ]           35       uefi_variables                             63360           63615
[   6.4963 ]           36       uefi_ftw                                   63616           63999
[   6.4963 ]           37       BCT-boot-chain_backup                      64768           64895
[   6.4963 ]           38       reserved_partition                         64896           65023
[   6.4963 ]           39       secondary_gpt_backup                       65024           65151
[   6.4963 ]           40       VER_b                                      65152           65279
[   6.4963 ]           41       VER                                        65280           65407
[   6.4963 ] gpt_primary_1_3.bin:
[   6.4963 ] partition_id       partition_name                        StartingLba       EndingLba
[   6.4963 ]            1       APP                                           40        29360167
[   6.4963 ]            2       kernel                                  29360168        29491239
[   6.4963 ]            3       kernel-dtb                              29491240        29492135
[   6.4963 ]            4       reserved_for_chain_A_user               29492136        29558783
[   6.4963 ]            5       secure-os_b                             29558784        29563903
[   6.4963 ]            6       eks_b                                   29563904        29564031
[   6.4963 ]            7       adsp-fw_b                               29564032        29566079
[   6.4963 ]            8       rce-fw_b                                29566080        29568127
[   6.4963 ]            9       sce-fw_b                                29568128        29570175
[   6.4963 ]           10       bpmp-fw_b                               29570176        29573247
[   6.4963 ]           11       bpmp-fw-dtb_b                           29573248        29575295
[   6.4964 ]           12       kernel_b                                29575296        29706367
[   6.4964 ]           13       kernel-dtb_b                            29706368        29707263
[   6.4964 ]           14       reserved_for_chain_B_user               29707264        29773823
[   6.4964 ]           15       recovery                                29773824        29937663
[   6.4964 ]           16       recovery-dtb                            29937664        29938687
[   6.4964 ]           17       RECROOTFS                               29938688        30143487
[   6.4964 ]           18       esp                                     30143488        30274559
[   6.4964 ]           19       recovery_alt                            30274560        30438399
[   6.4964 ]           20       recovery-dtb_alt                        30438400        30439423
[   6.4964 ]           21       esp_alt                                 30439424        30570495
[   6.4964 ]           22       UDA                                     30570496        30777303
[   6.4964 ] gpt_secondary_1_3.bin:
[   6.4964 ] partition_id       partition_name                        StartingLba       EndingLba
[   6.4964 ]            1       APP                                           40        29360167
[   6.4964 ]            2       kernel                                  29360168        29491239
[   6.4964 ]            3       kernel-dtb                              29491240        29492135
[   6.4964 ]            4       reserved_for_chain_A_user               29492136        29558783
[   6.4964 ]            5       secure-os_b                             29558784        29563903
[   6.4964 ]            6       eks_b                                   29563904        29564031
[   6.4964 ]            7       adsp-fw_b                               29564032        29566079
[   6.4964 ]            8       rce-fw_b                                29566080        29568127
[   6.4964 ]            9       sce-fw_b                                29568128        29570175
[   6.4964 ]           10       bpmp-fw_b                               29570176        29573247
[   6.4964 ]           11       bpmp-fw-dtb_b                           29573248        29575295
[   6.4964 ]           12       kernel_b                                29575296        29706367
[   6.4964 ]           13       kernel-dtb_b                            29706368        29707263
[   6.4964 ]           14       reserved_for_chain_B_user               29707264        29773823
[   6.4964 ]           15       recovery                                29773824        29937663
[   6.4964 ]           16       recovery-dtb                            29937664        29938687
[   6.4964 ]           17       RECROOTFS                               29938688        30143487
[   6.4964 ]           18       esp                                     30143488        30274559
[   6.4964 ]           19       recovery_alt                            30274560        30438399
[   6.4964 ]           20       recovery-dtb_alt                        30438400        30439423
[   6.4964 ]           21       esp_alt                                 30439424        30570495
[   6.4964 ]           22       UDA                                     30570496        30777303
[   6.4964 ] 
[   6.5033 ] tegraparser_v2 --pt flash.xml.bin --generateflashindex /home/adit/jetson/Linux_for_Tegra/bootloader/encrypted_signed_t19x/flash.xml.tmp flash.idx
copying overlay_dtb(/home/adit/jetson/Linux_for_Tegra/kernel/dtb/L4TConfiguration.dtbo)... done.
copying overlay_dtb(/home/adit/jetson/Linux_for_Tegra/kernel/dtb/tegra194-p3668-p3509-overlay.dtbo)... done.
/home/adit/jetson/Linux_for_Tegra/bootloader/L4TConfiguration_updated.dts: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
/home/adit/jetson/Linux_for_Tegra/bootloader/L4TConfiguration.dtbo: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin --sdram_config tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg,tegra194-memcfg-sw-override.cfg  --odmdata 0xB8190000  --overlay_dtb L4TConfiguration.dtbo,tegra194-p3668-p3509-overlay.dtbo,  --bldtb tegra194-p3668-all-p3509-0000.dtb --applet mb1_t194_prod.bin --cmd "sign" --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg  --cfg flash.xml --chip 0x19 --minratchet_config tegra194-mb1-bct-ratchet-p3668.cfg --device_config tegra19x-mb1-bct-device-qspi-p3668.cfg --misc_cold_boot_config tegra194-mb1-bct-misc-l4t.cfg --misc_config tegra194-mb1-bct-misc-flash.cfg --pinmux_config tegra19x-mb1-pinmux-p3668-a01.cfg --gpioint_config tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --pmic_config tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --pmc_config tegra19x-mb1-padvoltage-p3668-a01.cfg --prod_config tegra19x-mb1-prod-p3668-0001-a00.cfg --scr_config tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --scr_cold_boot_config tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --br_cmd_config tegra194-mb1-bct-reset-p3668-0001-a00.cfg --dev_params tegra194-br-bct-qspi-l4t.cfg,tegra194-br-bct_b-qspi-l4t.cfg  --bin "mb2_bootloader nvtboot_recovery_t194.bin; mts_preboot preboot_c10_prod_cr.bin; mts_mce mce_c10_prod_cr.bin; mts_proper mts_c10_prod_cr.bin; bpmp_fw bpmp-2_t194.bin; bpmp_fw_dtb tegra194-a02-bpmp-p3668-a00_lz4.dtb; spe_fw spe_t194.bin; tos tos-optee_t194.img; eks eks_t194.img; bootloader_dtb tegra194-p3668-all-p3509-0000.dtb"   --key "/home/adit/jetson/keys/sd/jetson.pem"  --bct_backup  --boot_chain A 
saving flash command in /home/adit/jetson/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/adit/jetson/Linux_for_Tegra/bootloader/flash_win.bat
*** Sign and generate BUP... *** 
Encrypting with /home/adit/jetson/keys/sd/sbk_key.txt ...
Signing with /home/adit/jetson/keys/sd/jetson.pem ...
rollback info is parsed and saved in rollback.bin
pad ZEROs to the end of rollback.bin

signing images succeeded


Creating update payloads for Jetson-3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc- board ...
creating bl payload

PARTITION INFO   :                      multi_signed/3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-/BCT/br_bct_BR.bct.prod BCT 3560 2 3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-;            multi_signed/3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-/BCT_A/br_bct_BR.bct.prod BCT_A 3560 2 3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-;                       multi_signed/3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-/BCT_B/br_bct_b_BR.bct.prod BCT_B 3560 2 3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-;                       multi_signed/3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-/BCT-boot-chain_backup/bct_backup.img.prod BCT-boot-chain_backup 3560 2 3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-;                        multi_signed/3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-/mb1/mb1_t194_prod_sigheader.bin.encrypt.signed mb1 3560 2 3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-;                     multi_signed/3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-/mb1_b/mb1_b_t194_prod_sigheader.bin.encrypt.signed mb1_b 3560 2 3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-;                       multi_signed/3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-/MB1_BCT/mb1_cold_boot_bct_MB1.bct_sigheader.encrypt.signed MB1_BCT 3560 0 3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-;                     multi_signed/3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-/MEM_BCT/mem_coldboot_sigheader.bct.signed MEM_BCT 3560 0 3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-;                                      encrypted_signed_t19x/spe_t194_sigheader.bin.encrypt.signed spe-fw 3560 0 common;                                  encrypted_signed_t19x/nvtboot_t194_sigheader.bin.encrypt.signed mb2 3560 0 common;                 multi_signed/mts-preboot_fuselevel_production/preboot_c10_prod_cr_sigheader.bin.encrypt.signed mts-preboot 3560 2 common;                     multi_signed/mts-mce_fuselevel_production/mce_c10_prod_cr_sigheader.bin.encrypt.signed mts-mce 3560 2 common;                      multi_signed/mts-proper_fuselevel_production/mts_c10_prod_cr_sigheader.bin.encrypt.signed mts-proper 3560 2 common;                        multi_signed/3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-/VER/qspi_bootblob_ver.txt VER 3560 0 3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-;                                  encrypted_signed_t19x/nvdisp-init_sigheader.bin.encrypt.signed cpu-bootloader 3560 0 common;                       multi_signed/3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-/bootloader-dtb/tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt.signed bootloader-dtb 3560 0 3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-;                                  encrypted_signed_t19x/tos-optee_t194_sigheader.img.encrypt.signed secure-os 3560 0 common;                                 encrypted_signed_t19x/eks_t194_sigheader.img.encrypt.signed eks 3560 0 common;                                     encrypted_signed_t19x/bpmp-2_t194_sigheader.bin.encrypt.signed bpmp-fw 3560 0 common;                      multi_signed/3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-/bpmp-fw-dtb/tegra194-a02-bpmp-p3668-a00_lz4_sigheader.dtb.encrypt.signed bpmp-fw-dtb 3560 0 3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-;     encrypted_signed_t19x/camera-rtcpu-t194-rce_sigheader.img.encrypt.signed rce-fw 3560 0 common;     encrypted_signed_t19x/adsp-fw_sigheader.bin.encrypt.signed adsp-fw 3560 0 common;                  multi_signed/sc7_fuselevel_production/warmboot_t194_prod_sigheader.bin.encrypt.signed sc7 3560 2 common;                                    xusb_sil_rel_fw xusb-fw 3560 0 common;                  multi_signed/3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-/secondary_gpt/gpt_secondary_3_0.bin secondary_gpt 3560 0 3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-;                      multi_signed/3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-/secondary_gpt_backup/gpt_secondary_3_0.bin secondary_gpt_backup 3560 0 3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-

SUCCESS: bl_only_payload created

creating kernel payload

PARTITION INFO   :                                      boot.img kernel 3560 0 common;            multi_signed/3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-/kernel-dtb/kernel_tegra194-p3668-0001-p3509-0000.dtb kernel-dtb 3560 0 3668-100-0001--1-2-jetson-xavier-nx-devkit-emmc-

SUCCESS: kernel_only_payload created

Payloads saved to "/home/adit/jetson/Linux_for_Tegra/bootloader/payloads_t19x/"

and then capsule using command below and then copied it to ESP partition of NVME :

./generate_capsule/l4t_generate_soc_capsule.sh -i bootloader/payloads_t19x/bl_only_payload -o ./TEGRA_BL.Cap t194

Still, the FAB=100 board cannot trigger the Boootloader Update after reboot .

What can I do next ?

Hi,
Is it possible the module has different PKC and SBK keys? Probably the keys are different so it cannot be updated.

For information, please run $ sudo i2cdump -y 0 0x50 and share the prints for reference.

If the PKC and SBK keys have been different, I could not have flashed the SW on NVME in the first place.

FAB=100; 

sudo i2cdump -y 0 0x50 
No size specified (using byte-data access)
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 01 00 fc 00 54 0e 01 00 03 42 00 00 00 00 00 00    ?.?.T??.?B......
10: 00 00 00 00 36 39 39 2d 31 33 36 36 38 2d 30 30    ....699-13668-00
20: 30 31 2d 33 30 30 20 42 2e 30 00 00 00 00 00 00    01-300 B.0......
30: 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
40: ff ff ff ff a5 0d 3a 2d b0 48 31 34 32 31 35 32    ....??:-?H142152
50: 31 30 33 34 31 37 38 00 00 00 00 00 00 00 00 00    1034178.........
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 4e 56 43 42 1c 00 4d 31 00 00    ......NVCB?.M1..
a0: ff ff ff ff ff ff ff ff ff ff ff ff a5 0d 3a 2d    ............??:-
b0: b0 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ?H..............
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45    ...............E


FAB=100;

sudo /opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.sh -v
3668-100---1--jetson-xavier-nx-devkit-emmc-
Info. Installing mtdblock.
Info. Active boot storage: sdb
Info. Legacy mode: false
TNSPEC 3668-300-0001-B.0-1-2-jetson-xavier-nx-devkit-emmc-
COMPATIBLE_SPEC 3668-100---1--jetson-xavier-nx-devkit-emmc-
TEGRA_LEGACY_UPDATE false
TEGRA_BOOT_STORAGE sdb
TEGRA_EMMC_ONLY false
TEGRA_CHIPID 0x19
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0
Info: Write TegraPlatformCompatSpec with 3668-100---1--jetson-xavier-nx-devkit-emmc-.
Info. Uninstalling mtdblock.
Info. Verifying boot status.
Info: variable BootChainFwStatus is not found.
FAB=301;

sudo i2cdump -y 0 0x50 
No size specified (using byte-data access)
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 01 00 fc 00 54 0e 01 00 03 45 00 00 00 00 00 00    ?.?.T??.?E......
10: 00 00 00 00 36 39 39 2d 31 33 36 36 38 2d 30 30    ....699-13668-00
20: 30 31 2d 33 30 31 20 45 2e 30 00 00 00 00 00 00    01-301 E.0......
30: 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
40: ff ff ff ff 8a 09 60 2d b0 48 31 34 32 34 39 32    ....??`-?H142492
50: 31 30 36 39 34 34 33 00 00 00 00 00 00 00 00 00    1069443.........
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 4e 56 43 42 1c 00 4d 31 00 00    ......NVCB?.M1..
a0: ff ff ff ff ff ff ff ff ff ff ff ff 05 38 e6 ad    ............?8??
b0: 00 c4 00 00 00 00 00 00 00 00 00 00 00 00 00 00    .?..............
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 35    ...............5

sudo  /opt/nvidia/l4t-bootloader-config/nv-l4t-bootloader-config.sh -v 
3668-301---1--jetson-xavier-nx-devkit-emmc-
Info. Installing mtdblock.
Info. Active boot storage: nvme0n1
Info. Legacy mode: false
TNSPEC 3668-301-0001-E.0-1-2-jetson-xavier-nx-devkit-emmc-
COMPATIBLE_SPEC 3668-301---1--jetson-xavier-nx-devkit-emmc-
TEGRA_LEGACY_UPDATE false
TEGRA_BOOT_STORAGE nvme0n1
TEGRA_EMMC_ONLY false
TEGRA_CHIPID 0x19
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0
Info: Write TegraPlatformCompatSpec with 3668-301---1--jetson-xavier-nx-devkit-emmc-.
Info. Uninstalling mtdblock.
Info. Verifying boot status.
Info: variable BootChainFwStatus is not found.

Note; on FAB=100; I am currently booted from USB and from there copied TEGRA_BL.cap on internal NVME’s EMMC partition.

One other strange thing I noticed, is one some of the boards with FAB=100, it can actually trigger an update but for others not. The difference I saw was the EMMC has ESP partition on the boards which can trigger an update but boards which don’t have ESP partition on the EMMC , cannot trigger it. We anyway have nothing to do with EMMC as we use internal QSPI + NVME image for booting and preserving boot order and we don’t copy BUP on EMMC’s ESP either on the boards FAB=100 which can actually trigger the capsule update.

I will try to get the serial logs from the board, since I don’t have serial cable right now , it will take some time.

Meanwhile, you can suggest me what else can I try ?

Hi,
Please run the command on the FAB=100 module and share the prints:

$ lsblk -o name,partlabel,uuid

Looks like the roofs is not on NVMe SSD because it shows:

TEGRA_BOOT_STORAGE sdb

As I already mentioned, I am booting from USB from which I copy the TEGRA_BL.CAP on the ESP partition of NVME and then disconnect the USB and reboot again from NVME. While booting from NVME, it cannot detect the Capsule and can’t trigger BL update.

Hi,
Because the rootfs is at

TEGRA_BOOT_STORAGE sdb

putting TEGRA_BL.CAP to the ESP partition of NVME does not work.

It works for FAB=301 boards, there also I boot from USB and then copy the TEGRA_BL.Cap to ESP partition of the NVME and then reboot from NVME. On next boot from NVME, it detects Capsule and triggers the Update.

Why do you think it won’t work ?

Steps done while booted from USB:

echo "Mounting ESP partition on the NVME... "
sudo mkdir -p /opt/nvidia/esp
esp_uuid=$(lsblk -o name,partlabel,uuid | grep "nvme0n1" | awk '{ if($2 == "esp") print $3 }')
sudo mount UUID=$esp_uuid /opt/nvidia/esp

echo "Creating UpdateCapsule folder & copy BL Capsule in ESP partition on NVME... "
sudo mkdir -p /opt/nvidia/esp/EFI/UpdateCapsule
sudo cp TEGRA_BL.Cap /opt/nvidia/esp/EFI/UpdateCapsule
ls -ltr /opt/nvidia/esp/EFI/UpdateCapsule

sudo umount /opt/nvidia/esp

Hi,
The two devices are not in same setup. The FAB=301 has roots in NVMe SSD:

TEGRA_BOOT_STORAGE nvme0n1

So putting TEGRA_BL.CAP to the ESP partition of NVME works.

Summary of the Issue:

We’re working with two different Jetson boards: FAB=301 and FAB=100.

What works on FAB=301:

  1. We boot the board using USB.

  2. We copy the TEGRA_BL.Cap file to the NVMe’s ESP partition.

  3. We power off, unplug USB, and boot from NVMe.

  4. The board detects the capsule file and performs the bootloader update.

  5. Result: NVMe becomes the active boot media, and everything works as expected.

What fails on FAB=100:

  1. We do the same steps: boot with USB, copy TEGRA_BL.Cap to NVMe ESP.

  2. We power off, unplug USB, and boot from NVMe.

  3. The board does NOT detect the capsule, so the bootloader update does not happen.

  4. We never see NVMe become the active boot media in logs.

  5. NVME boot into a newer rootfs (e.g., R35.6.0), but it fails with kernel panic because the bootloader wasn’t updated.(still 4.1)


Core Problem:

  • On FAB=301, the capsule update from NVMe works fine.

  • On FAB=100, the capsule file on NVMe is ignored, and bootloader update does not happen.


Key Question:

Why does capsule-based bootloader update from NVMe work on FAB=301 but fail on FAB=100, even though the steps are the same?

Hi,
It looks like you flash the two devices differently. For the FAB=100 device, the rootfs is at sdb, so you would need to put payload to ESP in sdb to trigger capsule update.

No, we follow the same flashing and update process for both FAB=100 and FAB=301 devices.

In both cases:

  • We boot the board first using USB.

  • The rootfs during this stage is on sdb (USB).

  • We copy the TEGRA_BL.Cap capsule payload to the ESP partition of the NVMe (typically nvme0n1p1), not to the USB.

  • We then power off the board, unplug the USB, and boot from NVMe.

On FAB=301, this correctly triggers the capsule-based bootloader update from NVMe.

On FAB=100, the same steps do not trigger the capsule update — the payload on the NVMe ESP is ignored, even though it’s identical to the working setup on FAB=301.

So, the process is the same; the behavior differs only between the two hardware revisions.