Having an issue flashing my Jetson Orin NX, any help

I ran into a flash issue. We have our own carrier board with a Orin NX SOM.
Here is the flash output:
$ sudo ./flash.sh jetson-orin-nx-varmint-ai external
###############################################################################

L4T BSP Information:

R35 , REVISION: 3.1

User release: 0.0

###############################################################################

Target Board Information:

Name: jetson-orin-nx-varmint-ai, Board Family: t186ref, SoC: Tegra 234,

OpMode: production, Boot Authentication: NS,

Disk encryption: disabled ,

###############################################################################
copying emc_fuse_dev_params(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct-diag-boot.dts)… done.
copying device_config(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-device-p3767-0000.dts)… done.
copying misc_config(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)… done.
./tegraflash.py --chip 0x23 --applet “/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t234_prod.bin” --skipuid --cfg readinfo_t234_min_prod.xml --dev_params tegra234-br-bct-diag-boot.dts --device_config tegra234-mb1-bct-device-p3767-0000.dts --misc_config tegra234-mb1-bct-misc-p3767-0000.dts --bins “mb2_applet applet_t234.bin” --cmd “dump eeprom cvm cvm.bin; dump custinfo custinfo_out.bin; reboot recovery”
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands

[ 0.0152 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.0156 ] File rcm_state open failed
[ 0.0158 ] ERROR: failed to read rcm_state
[ 0.0158 ]
[ 0.0180 ] tegrasign_v3.py --key None --getmode mode.txt
[ 0.0181 ] Assuming zero filled SBK key
[ 0.0161 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts
[ 0.0644 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts
[ 0.0704 ] Parsing partition layout
[ 0.0714 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.0843 ] Kernel DTB used: None
[ 0.0843 ] WARNING: dce base dtb is not provided

[ 0.0843 ] Parsing partition layout
[ 0.0850 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.0857 ] Creating list of images to be signed
[ 0.0870 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --list images_list.xml zerosbk
[ 0.0875 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.0896 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.0898 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.0922 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.0925 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.0949 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.0951 ] adding BCH for mb2_t234_aligned.bin
[ 0.0972 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.1030 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.1034 ] adding BCH for mb2_t234_aligned.bin
[ 0.1159 ] Filling MB1 storage info
[ 0.1159 ] Parsing dev params for multi chains
[ 0.1198 ] Generating br-bct
[ 0.1215 ] Updating dev and MSS params in BR BCT
[ 0.1216 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.1249 ] Updating bl info
[ 0.1254 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin
[ 0.1258 ] WARNING: boot chain is not completed. set to 0
[ 0.1262 ] Generating signatures
[ 0.1284 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.1285 ] Assuming zero filled SBK key
[ 0.1483 ] Warning: pub_key.key is not found
[ 0.1464 ] Parsing dev params for multi chains
[ 0.1464 ] Generating br-bct
[ 0.1472 ] Updating dev and MSS params in BR BCT
[ 0.1474 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.1481 ] Updating bl info
[ 0.1485 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 0.1489 ] WARNING: boot chain is not completed. set to 0
[ 0.1500 ] Get Signed section of bct
[ 0.1505 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[ 0.1512 ] Signing BCT
[ 0.1534 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.1535 ] Assuming zero filled SBK key
[ 0.1553 ] Sha saved in br_bct_BR.sha
[ 0.1555 ] Warning: pub_key.key is not found
[ 0.1534 ] Updating BCT with signature
[ 0.1539 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml
[ 0.1542 ] Offset :4608 Len :3584
[ 0.1546 ] Generating SHA2 Hash
[ 0.1568 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[ 0.1569 ] Assuming zero filled SBK key
[ 0.1569 ] Assuming zero filled SBK key
[ 0.1585 ] Sha saved in br_bct_BR.sha
[ 0.1566 ] Updating BCT with SHA2 Hash
[ 0.1571 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[ 0.1575 ] Offset :4608 Len :3584
[ 0.1578 ] Offset :68 Len :8124
[ 0.1578 ]
[ 0.1579 ] Generating coldboot mb1-bct
[ 0.1584 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 0.1588 ] MB1-BCT version: 0.10
[ 0.1590 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 0.1596 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 0.1602 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 0.1602 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 0.1602 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 0.1603 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 0.1603 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[ 0.1603 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[ 0.1603 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[ 0.1603 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[ 0.1603 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[ 0.1603 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[ 0.1603 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[ 0.1604 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[ 0.1604 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[ 0.1604 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[ 0.1604 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[ 0.1604 ]
[ 0.1604 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 0.1604 ] Added Platform Config 9 data with size :- 100
[ 0.1604 ]
[ 0.1605 ] Updating mb1-bct with firmware information
[ 0.1609 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.1622 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[ 0.1630 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[ 0.1636 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[ 0.1661 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.1665 ] Assuming zero filled SBK key
[ 0.1679 ] Warning: pub_key.key is not found
[ 0.1664 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_aligned_sigheader.bct.hash zerosbk
[ 0.1687 ] Generating recovery mb1-bct
[ 0.1693 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 0.1697 ] MB1-BCT version: 0.10
[ 0.1699 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 0.1705 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 0.1711 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 0.1712 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 0.1712 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 0.1712 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 0.1712 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[ 0.1712 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[ 0.1712 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[ 0.1713 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[ 0.1713 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[ 0.1713 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[ 0.1713 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[ 0.1713 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[ 0.1713 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[ 0.1713 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[ 0.1714 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[ 0.1714 ]
[ 0.1714 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 0.1714 ] Added Platform Config 9 data with size :- 100
[ 0.1714 ]
[ 0.1714 ] Updating mb1-bct with firmware information
[ 0.1719 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.1732 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[ 0.1740 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[ 0.1745 ] adding BCH for mb1_bct_MB1_aligned.bct
[ 0.1924 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.1926 ] Assuming zero filled SBK key
[ 0.1939 ] Warning: pub_key.key is not found
[ 0.1925 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[ 0.1936 ] Error: Skip generating mem_bct because sdram_config is not defined
[ 0.1936 ] Error: Skip generating mem_bct because sdram_config is not defined
[ 0.1937 ] Copying signatures
[ 0.1943 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 0.1999 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[ 0.2000 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[ 0.2001 ] Boot Rom communication
[ 0.2008 ] tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[ 0.2015 ] BR_CID: 0x80012344705DD4578000000010FE8040
[ 0.2071 ] Sending bct_br
[ 0.2073 ] Sending mb1
[ 0.2128 ] Sending psc_bl1
[ 0.2419 ] Sending bct_mb1
[ 0.2661 ] Boot Rom communication completed
[ 0.2688 ] tegrahost_v2 --chip 0x23 0 --align applet_t234_aligned.bin
[ 0.2699 ] tegrahost_v2 --chip 0x23 0 --magicid MB2A --appendsigheader applet_t234_aligned.bin zerosbk
[ 0.2704 ] adding BCH for applet_t234_aligned.bin
[ 0.2766 ] tegrasign_v3.py --key None --list applet_t234_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.2767 ] Assuming zero filled SBK key
[ 0.2780 ] Warning: pub_key.key is not found
[ 0.2766 ] tegrahost_v2 --chip 0x23 0 --updatesigheader applet_t234_aligned_sigheader.bin.encrypt applet_t234_aligned_sigheader.bin.hash zerosbk
[ 0.2778 ] Sending mb2_applet…

[ 0.2784 ] tegrarcm_v2 --chip 0x23 0 --pollbl --download applet applet_t234_sigheader.bin.encrypt
[ 0.2790 ] BL: version 0.32.0.0-t234-54845784-57325615 last_boot_error: 0
[ 0.4783 ] Sending applet
[ 0.6425 ] completed
[ 0.6453 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.6471 ] MB2 Applet version 01.00.0000
[ 0.9210 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.9216 ] MB2 Applet version 01.00.0000
[ 0.9477 ] Retrieving board information
[ 0.9484 ] tegrarcm_v2 --chip 0x23 0 --oem platformdetails chip chip_info.bin
[ 0.9492 ] MB2 Applet version 01.00.0000
[ 0.9738 ] Saved platform info in chip_info.bin
[ 0.9879 ] Chip minor revision: 1
[ 0.9879 ] Bootrom revision: 0x7
[ 0.9880 ] Ram code: 0x0
[ 0.9880 ] Chip sku: 0xd3
[ 0.9880 ] Chip Sample: prod
[ 1.0039 ] Retrieving EEPROM data
[ 1.0040 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/cvm.bin --chip 0x23 0
[ 1.0047 ] MB2 Applet version 01.00.0000
[ 1.0377 ] Saved platform info in /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/cvm.bin
[ 1.1815 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 1.1821 ] MB2 Applet version 01.00.0000
[ 1.2035 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 1.2039 ] MB2 Applet version 01.00.0000
[ 1.2294 ] Dumping customer Info
[ 1.2301 ] tegrarcm_v2 --chip 0x23 0 --oem dump bct tmp.bct
[ 1.2306 ] MB2 Applet version 01.00.0000
[ 1.2674 ] Saved bct in tmp.bct
[ 1.3142 ] tegrabct_v2 --brbct tmp.bct --chip 0x23 0 --custinfo /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/custinfo_out.bin
[ 1.3148 ] C[ 1.3153 ] ustomer data saved in /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/custinfo_out.bin successfully
[ 1.3154 ] Rebooting to recovery mode
[ 1.3160 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 1.3609 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 1.3613 ] MB2 Applet version 01.00.0000
[ 1.4844 ] Booting to recovery mode
[ 1.4868 ] tegrarcm_v2 --chip 0x23 0 --reboot recovery
[ 1.4885 ] MB2 Applet version 01.00.0000
Board ID(3767) version(300) sku(0000) revision(G.3)
Chip SKU(00:00:00:D3) ramcode(00:00:00:00) fuselevel(fuselevel_production) board_FAB(300)
Copy /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/kernel/dtb/tegra234-p3767-0000-varmint-ai-00.dtb to /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/kernel/dtb/tegra234-p3767-0000-varmint-ai-00.dtb.rec
Using UUID 31cee016-5365-42da-a5a9-67f985024b83 for mounting root APP_ext partition.
copying bctfile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-p3767-0000-sdram-l4t.dts)… done.
copying minratchet_config(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-ratchet-p3767-0000.dts)… done.
copying device_config(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-device-p3767-0000.dts)… done.
copying misc_config(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)… done.
copying pinmux_config(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-pinmux-p3767-0000-hdmi-a03.dtsi)… done.
copying gpioint_config(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-gpioint-p3767-0000.dts)… done.
copying pmic_config(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-pmic-p3767-0000-a02.dts)… done.
copying pmc_config(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-padvoltage-p3767-0000-hdmi-a03.dtsi)… done.
copying deviceprod_config(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-cprod-p3767-0000.dts)… done.
copying prod_config(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-prod-p3767-0000.dts)… done.
copying scr_config(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb2-bct-scr-p3767-0000.dts)… done.
copying wb0sdram(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-p3767-0000-wb0sdram-l4t.dts)… done.
copying bootrom_config(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-reset-p3767-0000.dts)… done.
Existing uphylane_config(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/tegra234-mb1-bct-uphylane-si.dtsi) reused.
copying dev_params(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct-p3767-0000-l4t.dts)… done.
copying dev_params_b(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct_b-p3767-0000-l4t.dts)… done.
copying mb2bct_cfg(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb2-bct-misc-p3767-0000.dts)… done.
Existing pscfwfile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/pscfw_t234_prod.bin) reused.
Existing pscbl1file(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/psc_bl1_t234_prod.bin) reused.
Existing mtsmcefile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/mce_flash_o10_cr_prod.bin) reused.
Existing mb2applet(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/applet_t234.bin) reused.
Existing bootloader(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.
copying initrd(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/l4t_initrd.img)… done.
bl is uefi
Making Boot image… done.
Not signing of boot.img
Making recovery ramdisk for recovery image…
Re-generating recovery ramdisk for recovery image…
/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/ramdisk_tmp /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra
39726 blocks

gzip: /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/kernel/Image: not in gzip format
_BASE_KERNEL_VERSION=5.10.104-rt63-tegra
cp: cannot stat ‘/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/rootfs/lib/modules/5.10.104-rt63-tegra/kernel/drivers/mtd/mtd.ko’: No such file or directory
warning: cp -f /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/rootfs/lib/modules/5.10.104-rt63-tegra/kernel/drivers/mtd/mtd.ko /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.10.104-rt63-tegra/kernel/drivers/mtd/mtd.ko
cp: cannot stat ‘/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/rootfs/lib/modules/5.10.104-rt63-tegra/kernel/drivers/mtd/mtdblock.ko’: No such file or directory
warning: cp -f /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/rootfs/lib/modules/5.10.104-rt63-tegra/kernel/drivers/mtd/mtdblock.ko /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.10.104-rt63-tegra/kernel/drivers/mtd/mtdblock.ko
cp: cannot stat ‘/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/rootfs/lib/modules/5.10.104-rt63-tegra/kernel/drivers/mtd/mtd_blkdevs.ko’: No such file or directory
warning: cp -f /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/rootfs/lib/modules/5.10.104-rt63-tegra/kernel/drivers/mtd/mtd_blkdevs.ko /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.10.104-rt63-tegra/kernel/drivers/mtd/mtd_blkdevs.ko
cp: cannot stat ‘/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/rootfs/lib/modules/5.10.104-rt63-tegra/kernel/drivers/mtd/devices/qspi_mtd.ko’: No such file or directory
warning: cp -f /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/rootfs/lib/modules/5.10.104-rt63-tegra/kernel/drivers/mtd/devices/qspi_mtd.ko /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.10.104-rt63-tegra/kernel/drivers/mtd/devices/qspi_mtd.ko
cp: cannot stat ‘/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/rootfs/lib/modules/5.10.104-rt63-tegra/kernel/drivers/spi/spi-tegra210-qspi.ko’: No such file or directory
warning: cp -f /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/rootfs/lib/modules/5.10.104-rt63-tegra/kernel/drivers/spi/spi-tegra210-qspi.ko /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.10.104-rt63-tegra/kernel/drivers/spi/spi-tegra210-qspi.ko
55739 blocks
Making Recovery image…
copying recdtbfile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/kernel/dtb/tegra234-p3767-0000-varmint-ai-00.dtb.rec)… done.
20+0 records in
20+0 records out
20 bytes copied, 0.00011617 s, 172 kB/s
Existing sosfile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t234_prod.bin) reused.
Existing tegraboot(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.
Existing cpu_bootloader(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.
Existing mb2blfile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.
Existing xusbfile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/xusb_t234_prod.bin) reused.
Existing dcefile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/display-t234-dce.bin) reused.
Existing nvdecfile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/nvdec_t234_prod.fw) reused.
Existing psc_rf(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/psc_rf_t234_prod.bin) reused.
Existing mb2_rf(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/mb2rf_t234.bin) reused.
Existing mb1file(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t234_prod.bin) reused.
Existing bpffile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/bpmp_t234-TE990M-A1_prod.bin) reused.
copying bpfdtbfile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/tegra234-bpmp-3767-0000-a02-3509-a02.dtb)… done.
Existing scefile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/camera-rtcpu-t234-rce.img) reused.
Existing apefile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/adsp-fw.bin) reused.
Existing spefile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/spe_t234.bin) reused.
Existing wb0boot(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/sc7_t234_prod.bin) reused.
Existing tosfile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/tos-optee_t234.img) reused.
Existing eksfile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/eks_t234.img) reused.
copying dtbfile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/kernel/dtb/tegra234-p3767-0000-varmint-ai-00.dtb)… done.
Copying nv_boot_control.conf to rootfs
generating system.img for booting…
Making system.img…
Setting “FDT /boot/dtb/kernel_tegra234-p3767-0000-varmint-ai-00.dtb” successfully in the extlinux.conf…done.
populating rootfs from /tmp/tmp.eqwOhLffph … populating /boot/extlinux/extlinux.conf … done.
Sync’ing system.img … done.
Converting RAW image to Sparse image… done.
system.img built successfully.
Not signing of kernel-dtb
Existing tbcfile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/uefi_jetson.bin) reused.
131072+0 records in
131072+0 records out
67108864 bytes (67 MB, 64 MiB) copied, 0.165244 s, 406 MB/s
Sync’ing esp.img … done.
copying tbcdtbfile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/kernel/dtb/tegra234-p3767-0000-varmint-ai-00.dtb)… done.
copying cfgfile(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/cfg/flash_t234_qspi_sd.xml) to flash.xml… done.
Existing flashapp(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py) reused.
copying overlay_dtb(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/kernel/dtb/L4TConfiguration.dtbo)… done.
copying overlay_dtb(/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/kernel/dtb/tegra234-p3767-overlay.dtbo)… done.
./tegraflash.py --bl uefi_jetson_with_dtb.bin --odmdata gbe-uphy-config-8,hsstp-lane-map-3,hsio-uphy-config-0 --overlay_dtb L4TConfiguration.dtbo,tegra234-p3767-overlay.dtbo, --bldtb tegra234-p3767-0000-varmint-ai-00.dtb --applet mb1_t234_prod.bin --cmd “flash; reboot” --cfg flash.xml --chip 0x23 --concat_cpubl_bldtb --cpubl uefi_jetson.bin --minratchet_config tegra234-mb1-bct-ratchet-p3767-0000.dts --device_config tegra234-mb1-bct-device-p3767-0000.dts --misc_config tegra234-mb1-bct-misc-p3767-0000.dts --pinmux_config tegra234-mb1-bct-pinmux-p3767-0000-hdmi-a03.dtsi --gpioint_config tegra234-mb1-bct-gpioint-p3767-0000.dts --pmic_config tegra234-mb1-bct-pmic-p3767-0000-a02.dts --pmc_config tegra234-mb1-bct-padvoltage-p3767-0000-hdmi-a03.dtsi --deviceprod_config tegra234-mb1-bct-cprod-p3767-0000.dts --prod_config tegra234-mb1-bct-prod-p3767-0000.dts --scr_config tegra234-mb2-bct-scr-p3767-0000.dts --wb0sdram_config tegra234-p3767-0000-wb0sdram-l4t.dts --br_cmd_config tegra234-mb1-bct-reset-p3767-0000.dts --uphy tegra234-mb1-bct-uphylane-si.dtsi --dev_params tegra234-br-bct-p3767-0000-l4t.dts,tegra234-br-bct_b-p3767-0000-l4t.dts --mb2bct_cfg tegra234-mb2-bct-misc-p3767-0000.dts --bins “psc_fw pscfw_t234_prod.bin; mts_mce mce_flash_o10_cr_prod.bin; mb2_applet applet_t234.bin; mb2_bootloader mb2_t234.bin; xusb_fw xusb_t234_prod.bin; dce_fw display-t234-dce.bin; nvdec nvdec_t234_prod.fw; bpmp_fw bpmp_t234-TE990M-A1_prod.bin; bpmp_fw_dtb tegra234-bpmp-3767-0000-a02-3509-a02.dtb; sce_fw camera-rtcpu-sce.img; rce_fw camera-rtcpu-t234-rce.img; ape_fw adsp-fw.bin; spe_fw spe_t234.bin; tos tos-optee_t234.img; eks eks_t234.img” --sdram_config tegra234-p3767-0000-sdram-l4t.dts --cust_info custinfo_out.bin --secondary_gpt_backup --bct_backup --boot_chain A
saving flash command in /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/flash_win.bat
*** Flashing target device started. ***
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands

[ 0.0142 ] tegrasign_v3.py --key None --getmode mode.txt
[ 0.0143 ] Assuming zero filled SBK key
[ 0.0107 ] Parsing partition layout
[ 0.0117 ] tegraparser_v2 --pt flash.xml.tmp
[ 0.0156 ] Change tegra234-bpmp-3767-0000-a02-3509-a02.dtb to tegra234-bpmp-3767-0000-a02-3509-a02_with_odm.dtb
[ 0.0157 ] Change tegra234-bpmp-3767-0000-a02-3509-a02.dtb to tegra234-bpmp-3767-0000-a02-3509-a02_with_odm.dtb
[ 0.0297 ] /usr/bin/python3 dtbcheck.py -c t234 -o tegra234-bpmp-3767-0000-a02-3509-a02_with_odm.dtb tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_tmp.dtb
[ 0.1417 ] Concatenating L4TConfiguration.dtbo,tegra234-p3767-overlay.dtbo to tegra234-p3767-0000-varmint-ai-00_with_odm_overlay.dtb
[ 0.1418 ] Concatenating bl dtb to cpubl binary
[ 0.1436 ] MB2 binary: mb2_t234.bin
[ 0.1436 ] Pre-processing mb2bct config: tegra234-mb2-bct-misc-p3767-0000.dts
[ 0.1566 ] Pre-processing mb2bct config: tegra234-mb2-bct-scr-p3767-0000.dts
[ 0.3430 ] Generating coldboot mb2-bct
[ 0.3430 ] tegrabct_v2 --chip 0x23 0 --mb2bct mb2_cold_boot_bct.cfg --mb2bctcfg tegra234-mb2-bct-misc-p3767-0000_cpp.dtb --scr tegra234-mb2-bct-scr-p3767-0000_cpp.dtb
[ 0.3437 ] WARNING: unknown property ‘tfc_version’
[ 0.3450 ] WARNING: unknown property ‘addr_header_version’
[ 0.3546 ] Updating mb2-bct with storage information
[ 0.3551 ] tegrabct_v2 --chip 0x23 0 --mb2bct mb2_cold_boot_bct_MB2.bct --updatestorageinfo flash.xml.bin
[ 0.3581 ] Concatenating mb2-bct to mb2 binary
[ 0.3581 ] mb2_bin_file = mb2_t234.bin
[ 0.3581 ] mb2_bct_file = mb2_cold_boot_bct_MB2.bct
[ 0.3600 ] DCE binary: display-t234-dce.bin
[ 0.3601 ] Kernel DTB used: kernel_tegra234-p3767-0000-varmint-ai-00.dtb
[ 0.3601 ] Concatenating kernel-dtb to dce-fw binary
[ 0.3601 ] dce_bin = display-t234-dce.bin
[ 0.3601 ] kernel_dtb = kernel_tegra234-p3767-0000-varmint-ai-00.dtb
[ 0.3601 ] dce_with_dtb = display-t234-dce_with_kernel_tegra234-p3767-0000-varmint-ai-00.bin
[ 0.3663 ] Update display-t234-dce_with_kernel_tegra234-p3767-0000-varmint-ai-00.bin to dce_fw partitions
[ 0.3687 ] Parsing partition layout
[ 0.3694 ] tegraparser_v2 --pt flash.xml.tmp
[ 0.3704 ] Creating list of images to be signed
[ 0.3741 ] Generating ratchet blob
HERE WE ARE 1

[ 0.3743 ] Pre-processing config: tegra234-mb1-bct-reset-p3767-0000.dts
[ 0.3793 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts
[ 0.3831 ] Pre-processing config: tegra234-mb1-bct-cprod-p3767-0000.dts
[ 0.3914 ] Pre-processing config: tegra234-mb1-bct-gpioint-p3767-0000.dts
[ 0.3960 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts
[ 0.4054 ] Pre-processing config: tegra234-mb1-bct-pinmux-p3767-0000-hdmi-a03.dtsi
[ 0.4174 ] Pre-processing config: tegra234-mb1-bct-padvoltage-p3767-0000-hdmi-a03.dtsi
[ 0.4211 ] Pre-processing config: tegra234-mb1-bct-pmic-p3767-0000-a02.dts
[ 0.4244 ] Pre-processing config: tegra234-mb1-bct-prod-p3767-0000.dts
[ 0.4277 ] Pre-processing config: tegra234-p3767-0000-sdram-l4t.dts
[ 1.2216 ] Pre-processing config: tegra234-mb1-bct-uphylane-si.dtsi
[ 1.2258 ] Pre-processing config: tegra234-p3767-0000-wb0sdram-l4t.dts
[ 2.0272 ] Pre-processing config: tegra234-mb1-bct-ratchet-p3767-0000.dts
HERE WE ARE 2

[ 2.0413 ] Generating coldboot mb1-bct
[ 2.0418 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --wb0sdram tegra234-p3767-0000-wb0sdram-l4t_cpp.dtb --pinmux tegra234-mb1-bct-pinmux-p3767-0000-hdmi-a03_cpp.dtb --pmc tegra234-mb1-bct-padvoltage-p3767-0000-hdmi-a03_cpp.dtb --pmic tegra234-mb1-bct-pmic-p3767-0000-a02_cpp.dtb --brcommand tegra234-mb1-bct-reset-p3767-0000_cpp.dtb --prod tegra234-mb1-bct-prod-p3767-0000_cpp.dtb --gpioint tegra234-mb1-bct-gpioint-p3767-0000_cpp.dtb --uphy tegra234-mb1-bct-uphylane-si_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb --deviceprod tegra234-mb1-bct-cprod-p3767-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[ 2.0422 ] MB1-BCT version: 0.10
[ 2.0423 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 2.0427 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 2.0428 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 2.0429 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 2.0432 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 2.0434 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 2.0435 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[ 2.0438 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[ 2.0439 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[ 2.0441 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[ 2.0442 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[ 2.0443 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[ 2.0445 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[ 2.0447 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[ 2.0448 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[ 2.0449 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[ 2.0450 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported

[ 2.0459 ] Parsing config file :tegra234-mb1-bct-pinmux-p3767-0000-hdmi-a03_cpp.dtb
[ 2.0460 ] Added Platform Config 0 data with size :- 2272

[ 2.0487 ] Parsing config file :tegra234-mb1-bct-padvoltage-p3767-0000-hdmi-a03_cpp.dtb
[ 2.0489 ] WARNING: unknown node ‘g2’
[ 2.0489 ] WARNING: unknown node ‘g2’
[ 2.0490 ] WARNING: unknown node ‘g9’
[ 2.0490 ] WARNING: unknown node ‘g9’
[ 2.0491 ] Added Platform Config 2 data with size :- 24

[ 2.0492 ] Parsing config file :tegra234-mb1-bct-pmic-p3767-0000-a02_cpp.dtb
[ 2.0493 ] Added Platform Config 4 data with size :- 288

[ 2.0495 ] Parsing config file :tegra234-mb1-bct-reset-p3767-0000_cpp.dtb
[ 2.0496 ] Added Platform Config 3 data with size :- 52

[ 2.0497 ] Parsing config file :tegra234-mb1-bct-prod-p3767-0000_cpp.dtb
[ 2.0498 ] WARNING: unknown property ‘major’
[ 2.0499 ] WARNING: unknown property ‘minor’
[ 2.0500 ] Added Platform Config 5 data with size :- 500

[ 2.0500 ] Parsing config file :tegra234-mb1-bct-gpioint-p3767-0000_cpp.dtb
[ 2.0502 ] WARNING: unknown property ‘major’
[ 2.0503 ] WARNING: unknown property ‘minor’
[ 2.0503 ] Added Platform Config 7 data with size :- 380

[ 2.0505 ] Parsing config file :tegra234-mb1-bct-uphylane-si_cpp.dtb
[ 2.0506 ] Added Platform Config 8 data with size :- 24

[ 2.0507 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 2.0508 ] Added Platform Config 9 data with size :- 100

[ 2.0510 ] Parsing config file :tegra234-mb1-bct-cprod-p3767-0000_cpp.dtb
[ 2.0511 ] ModuleCount 0 NumProdNames 0
[ 2.0512 ] Added Platform Config 6 data with size :- 16

[ 2.0512 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb
[ 2.0515 ] Updating mb1-bct with firmware information
[ 2.0520 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 2.0553 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[ 2.0590 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[ 2.0594 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[ 2.0637 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 2.0638 ] Assuming zero filled SBK key
[ 2.0652 ] Warning: pub_key.key is not found
[ 2.0621 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_aligned_sigheader.bct.hash zerosbk
[ 2.0632 ] tegrahost_v2 --chip 0x23 0 --partitionlayout flash.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[ 2.0637 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 2.0646 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 2.0651 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 2.0705 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 2.0714 ] Header already present for nvdec_t234_prod_aligned.fw
[ 2.0750 ] adding BCH for mb2_t234_with_mb2_cold_boot_bct_MB2_aligned.bin
[ 2.0776 ] adding BCH for xusb_t234_prod_aligned.bin
[ 2.0842 ] Header already present for bpmp_t234-TE990M-A1_prod_aligned.bin
[ 2.0937 ] adding BCH for tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_aligned.dtb
[ 2.1016 ] Header already present for pscfw_t234_prod_aligned.bin
[ 2.1050 ] Header already present for mce_flash_o10_cr_prod_aligned.bin
[ 2.1086 ] Header already present for sc7_t234_prod.bin
[ 2.1108 ] Header already present for psc_rf_t234_prod_aligned.bin
[ 2.1132 ] adding BCH for mb2rf_t234_aligned.bin
[ 2.1150 ] adding BCH for uefi_jetson_with_dtb_aligned.bin
[ 2.1249 ] adding BCH for tos-optee_t234_aligned.img
[ 2.1711 ] adding BCH for eks_t234_aligned.img
[ 2.1896 ] INFO: compressing display-t234-dce_with_kernel_tegra234-p3767-0000-varmint-ai-00_aligned.bin
[ 2.2609 ] INFO: complete compression, display-t234-dce_with_kernel_tegra234-p3767-0000-varmint-ai-00_aligned.bin, ratio = 7%
[ 2.2695 ] adding BCH for display-t234-dce_with_kernel_tegra234-p3767-0000-varmint-ai-00_aligned_blob_w_bin_aligned.bin
[ 2.2772 ] adding BCH for spe_t234_aligned.bin
[ 2.2834 ] adding BCH for camera-rtcpu-t234-rce_aligned.img
[ 2.2884 ] adding BCH for adsp-fw_aligned.bin
[ 2.2964 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 2.3018 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 2.3021 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 2.3040 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 2.3041 ] Header already present for nvdec_t234_prod_aligned.fw
[ 2.3051 ] adding BCH for mb2_t234_with_mb2_cold_boot_bct_MB2_aligned.bin
[ 2.3076 ] adding BCH for xusb_t234_prod_aligned.bin
[ 2.3138 ] Header already present for bpmp_t234-TE990M-A1_prod_aligned.bin
[ 2.3173 ] adding BCH for tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_aligned.dtb
[ 2.3246 ] Header already present for pscfw_t234_prod_aligned.bin
[ 2.3269 ] Header already present for mce_flash_o10_cr_prod_aligned.bin
[ 2.3298 ] Header already present for sc7_t234_prod.bin
[ 2.3312 ] Header already present for psc_rf_t234_prod_aligned.bin
[ 2.3326 ] adding BCH for mb2rf_t234_aligned.bin
[ 2.3336 ] adding BCH for uefi_jetson_with_dtb_aligned.bin
[ 2.3399 ] adding BCH for tos-optee_t234_aligned.img
[ 2.3852 ] adding BCH for eks_t234_aligned.img
[ 2.4005 ] INFO: compressing display-t234-dce_with_kernel_tegra234-p3767-0000-varmint-ai-00_aligned.bin
[ 2.4773 ] INFO: complete compression, display-t234-dce_with_kernel_tegra234-p3767-0000-varmint-ai-00_aligned.bin, ratio = 7%
[ 2.4854 ] adding BCH for display-t234-dce_with_kernel_tegra234-p3767-0000-varmint-ai-00_aligned_blob_w_bin_aligned.bin
[ 2.4937 ] adding BCH for spe_t234_aligned.bin
[ 2.4988 ] adding BCH for camera-rtcpu-t234-rce_aligned.img
[ 2.5028 ] adding BCH for adsp-fw_aligned.bin
[ 2.5166 ] Filling MB1 storage info
[ 2.5166 ] Parsing dev params for multi chains
[ 2.5238 ] Generating br-bct
[ 2.5245 ] Updating dev and MSS params in BR BCT
[ 2.5245 ] tegrabct_v2 --dev_param tegra234-br-bct-p3767-0000-l4t_cpp.dtb --sdram tegra234-p3767-0000-sdram-l4t_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 2.5802 ] Updating bl info
[ 2.5811 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo flash.xml.bin
[ 2.5874 ] Generating br-bct
[ 2.5880 ] Updating dev and MSS params in BR BCT
[ 2.5880 ] tegrabct_v2 --dev_param tegra234-br-bct_b-p3767-0000-l4t_cpp.dtb --sdram tegra234-p3767-0000-sdram-l4t_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 2.6399 ] Updating bl info
[ 2.6409 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo flash.xml.bin
[ 2.6421 ] Generating BCT backup image
[ 2.6421 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[ 2.6428 ] 32768+0 records in
[ 2.6650 ] 32768+0 records out
[ 2.6650 ] 32768 bytes (33 kB, 32 KiB) copied, 0.0219929 s, 1.5 MB/s
[ 2.6650 ]
[ 2.6651 ] Concatenating BCT for chain A to bct_backup.img

[ 2.6651 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[ 2.6657 ] 8192+0 records in
[ 2.6693 ] 8192+0 records out
[ 2.6693 ] 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.00324158 s, 2.5 MB/s
[ 2.6693 ]
[ 2.6693 ] Concatenating BCT for chain B to bct_backup.img

[ 2.6693 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[ 2.6699 ] 8192+0 records in
[ 2.6741 ] 8192+0 records out
[ 2.6741 ] 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.00408609 s, 2.0 MB/s
[ 2.6787 ] Generating signatures
[ 2.6825 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[ 2.6827 ] Assuming zero filled SBK key
[ 2.7589 ] Warning: pub_key.key is not found
[ 2.7566 ] Parsing dev params for multi chains
[ 2.7567 ] Generating br-bct
[ 2.7572 ] Updating dev and MSS params in BR BCT
[ 2.7573 ] tegrabct_v2 --dev_param tegra234-br-bct-p3767-0000-l4t_cpp.dtb --sdram tegra234-p3767-0000-sdram-l4t_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 2.8116 ] Updating customer data section
[ 2.8124 ] tegrabct_v2 --chip 0x23 0 --brbct br_bct_BR.bct --update_custinfo custinfo_out.bin
[ 2.8149 ] Updating bl info
[ 2.8155 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 2.8167 ] Get Signed section of bct
[ 2.8173 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[ 2.8179 ] Signing BCT
[ 2.8217 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 2.8218 ] Assuming zero filled SBK key
[ 2.8234 ] Sha saved in br_bct_BR.sha
[ 2.8237 ] Warning: pub_key.key is not found
[ 2.8200 ] Updating BCT with signature
[ 2.8205 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml
[ 2.8210 ] Offset :4608 Len :3584
[ 2.8213 ] Generating SHA2 Hash
[ 2.8250 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[ 2.8251 ] Assuming zero filled SBK key
[ 2.8251 ] Assuming zero filled SBK key
[ 2.8268 ] Sha saved in br_bct_BR.sha
[ 2.8233 ] Updating BCT with SHA2 Hash
[ 2.8238 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[ 2.8243 ] Offset :4608 Len :3584
[ 2.8245 ] Offset :68 Len :8124
[ 2.8246 ] Generating br-bct
[ 2.8251 ] Updating dev and MSS params in BR BCT
[ 2.8252 ] tegrabct_v2 --dev_param tegra234-br-bct_b-p3767-0000-l4t_cpp.dtb --sdram tegra234-p3767-0000-sdram-l4t_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 2.8760 ] Updating customer data section
[ 2.8769 ] tegrabct_v2 --chip 0x23 0 --brbct br_bct_BR.bct --update_custinfo custinfo_out.bin
[ 2.8780 ] Updating bl info
[ 2.8788 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 2.8802 ] Get Signed section of bct
[ 2.8808 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[ 2.8815 ] Signing BCT
[ 2.8853 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 2.8854 ] Assuming zero filled SBK key
[ 2.8874 ] Sha saved in br_bct_BR.sha
[ 2.8876 ] Warning: pub_key.key is not found
[ 2.8840 ] Updating BCT with signature
[ 2.8846 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml
[ 2.8852 ] Offset :4608 Len :3584
[ 2.8854 ] Generating SHA2 Hash
[ 2.8891 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[ 2.8892 ] Assuming zero filled SBK key
[ 2.8893 ] Assuming zero filled SBK key
[ 2.8909 ] Sha saved in br_bct_BR.sha
[ 2.8875 ] Updating BCT with SHA2 Hash
[ 2.8881 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[ 2.8886 ] Offset :4608 Len :3584
[ 2.8888 ] Offset :68 Len :8124
[ 2.8890 ] Generating BCT backup image
[ 2.8890 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[ 2.8895 ] 32768+0 records in
[ 2.9120 ] 32768+0 records out
[ 2.9120 ] 32768 bytes (33 kB, 32 KiB) copied, 0.0220858 s, 1.5 MB/s
[ 2.9120 ]
[ 2.9120 ] Concatenating BCT for chain A to bct_backup.img

[ 2.9120 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[ 2.9128 ] 8192+0 records in
[ 2.9163 ] 8192+0 records out
[ 2.9163 ] 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.00325402 s, 2.5 MB/s
[ 2.9163 ]
[ 2.9164 ] Concatenating BCT for chain B to bct_backup.img

[ 2.9164 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[ 2.9235 ] 8192+0 records in
[ 2.9235 ] 8192+0 records out
[ 2.9235 ] 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.00325176 s, 2.5 MB/s
[ 2.9235 ]
[ 2.9236 ] Generating coldboot mb1-bct
[ 2.9246 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --wb0sdram tegra234-p3767-0000-wb0sdram-l4t_cpp.dtb --pinmux tegra234-mb1-bct-pinmux-p3767-0000-hdmi-a03_cpp.dtb --pmc tegra234-mb1-bct-padvoltage-p3767-0000-hdmi-a03_cpp.dtb --pmic tegra234-mb1-bct-pmic-p3767-0000-a02_cpp.dtb --brcommand tegra234-mb1-bct-reset-p3767-0000_cpp.dtb --prod tegra234-mb1-bct-prod-p3767-0000_cpp.dtb --gpioint tegra234-mb1-bct-gpioint-p3767-0000_cpp.dtb --uphy tegra234-mb1-bct-uphylane-si_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb --deviceprod tegra234-mb1-bct-cprod-p3767-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[ 2.9253 ] MB1-BCT version: 0.10
[ 2.9253 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 2.9258 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 2.9259 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 2.9260 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 2.9261 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 2.9262 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 2.9263 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[ 2.9265 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[ 2.9267 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[ 2.9268 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[ 2.9268 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[ 2.9269 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[ 2.9270 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[ 2.9272 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[ 2.9272 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[ 2.9273 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[ 2.9274 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported

[ 2.9275 ] Parsing config file :tegra234-mb1-bct-pinmux-p3767-0000-hdmi-a03_cpp.dtb
[ 2.9276 ] Added Platform Config 0 data with size :- 2272

[ 2.9295 ] Parsing config file :tegra234-mb1-bct-padvoltage-p3767-0000-hdmi-a03_cpp.dtb
[ 2.9300 ] WARNING: unknown node ‘g2’
[ 2.9301 ] WARNING: unknown node ‘g2’
[ 2.9302 ] WARNING: unknown node ‘g9’
[ 2.9304 ] WARNING: unknown node ‘g9’
[ 2.9304 ] Added Platform Config 2 data with size :- 24
[ 2.9304 ]
[ 2.9304 ] Parsing config file :tegra234-mb1-bct-pmic-p3767-0000-a02_cpp.dtb
[ 2.9304 ] Added Platform Config 4 data with size :- 288
[ 2.9304 ]
[ 2.9304 ] Parsing config file :tegra234-mb1-bct-reset-p3767-0000_cpp.dtb
[ 2.9304 ] Added Platform Config 3 data with size :- 52
[ 2.9304 ]
[ 2.9304 ] Parsing config file :tegra234-mb1-bct-prod-p3767-0000_cpp.dtb
[ 2.9304 ] WARNING: unknown property ‘major’
[ 2.9304 ] WARNING: unknown property ‘minor’
[ 2.9304 ] Added Platform Config 5 data with size :- 500
[ 2.9304 ]
[ 2.9304 ] Parsing config file :tegra234-mb1-bct-gpioint-p3767-0000_cpp.dtb
[ 2.9304 ] WARNING: unknown property ‘major’
[ 2.9304 ] WARNING: unknown property ‘minor’
[ 2.9304 ] Added Platform Config 7 data with size :- 380
[ 2.9304 ]
[ 2.9304 ] Parsing config file :tegra234-mb1-bct-uphylane-si_cpp.dtb
[ 2.9304 ] Added Platform Config 8 data with size :- 24
[ 2.9304 ]
[ 2.9304 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 2.9304 ] Added Platform Config 9 data with size :- 100
[ 2.9304 ]
[ 2.9304 ] Parsing config file :tegra234-mb1-bct-cprod-p3767-0000_cpp.dtb
[ 2.9304 ] ModuleCount 0 NumProdNames 0
[ 2.9304 ] Added Platform Config 6 data with size :- 16
[ 2.9304 ]
[ 2.9304 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb
[ 2.9304 ]
[ 2.9305 ] Updating mb1-bct with firmware information
[ 2.9312 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 2.9326 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[ 2.9337 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[ 2.9342 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[ 2.9387 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 2.9389 ] Assuming zero filled SBK key
[ 2.9399 ] Warning: pub_key.key is not found
[ 2.9370 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_aligned_sigheader.bct.hash zerosbk
[ 2.9381 ] Generating recovery mb1-bct
[ 2.9392 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --wb0sdram tegra234-p3767-0000-wb0sdram-l4t_cpp.dtb --pinmux tegra234-mb1-bct-pinmux-p3767-0000-hdmi-a03_cpp.dtb --pmc tegra234-mb1-bct-padvoltage-p3767-0000-hdmi-a03_cpp.dtb --pmic tegra234-mb1-bct-pmic-p3767-0000-a02_cpp.dtb --brcommand tegra234-mb1-bct-reset-p3767-0000_cpp.dtb --prod tegra234-mb1-bct-prod-p3767-0000_cpp.dtb --gpioint tegra234-mb1-bct-gpioint-p3767-0000_cpp.dtb --uphy tegra234-mb1-bct-uphylane-si_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb --deviceprod tegra234-mb1-bct-cprod-p3767-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[ 2.9403 ] MB1-BCT version: 0.10
[ 2.9432 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 2.9437 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 2.9439 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 2.9440 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 2.9441 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 2.9443 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 2.9443 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[ 2.9443 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[ 2.9443 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[ 2.9443 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[ 2.9443 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[ 2.9443 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[ 2.9443 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[ 2.9443 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[ 2.9443 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[ 2.9443 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[ 2.9444 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[ 2.9444 ]
[ 2.9444 ] Parsing config file :tegra234-mb1-bct-pinmux-p3767-0000-hdmi-a03_cpp.dtb
[ 2.9444 ] Added Platform Config 0 data with size :- 2272
[ 2.9444 ]
[ 2.9444 ] Parsing config file :tegra234-mb1-bct-padvoltage-p3767-0000-hdmi-a03_cpp.dtb
[ 2.9444 ] WARNING: unknown node ‘g2’
[ 2.9444 ] WARNING: unknown node ‘g2’
[ 2.9444 ] WARNING: unknown node ‘g9’
[ 2.9444 ] WARNING: unknown node ‘g9’
[ 2.9444 ] Added Platform Config 2 data with size :- 24
[ 2.9444 ]
[ 2.9444 ] Parsing config file :tegra234-mb1-bct-pmic-p3767-0000-a02_cpp.dtb
[ 2.9445 ] Added Platform Config 4 data with size :- 288
[ 2.9445 ]
[ 2.9445 ] Parsing config file :tegra234-mb1-bct-reset-p3767-0000_cpp.dtb
[ 2.9445 ] Added Platform Config 3 data with size :- 52
[ 2.9445 ]
[ 2.9445 ] Parsing config file :tegra234-mb1-bct-prod-p3767-0000_cpp.dtb
[ 2.9445 ] WARNING: unknown property ‘major’
[ 2.9445 ] WARNING: unknown property ‘minor’
[ 2.9445 ] Added Platform Config 5 data with size :- 500
[ 2.9445 ]
[ 2.9445 ] Parsing config file :tegra234-mb1-bct-gpioint-p3767-0000_cpp.dtb
[ 2.9445 ] WARNING: unknown property ‘major’
[ 2.9446 ] WARNING: unknown property ‘minor’
[ 2.9446 ] Added Platform Config 7 data with size :- 380
[ 2.9446 ]
[ 2.9446 ] Parsing config file :tegra234-mb1-bct-uphylane-si_cpp.dtb
[ 2.9446 ] Added Platform Config 8 data with size :- 24
[ 2.9446 ]
[ 2.9446 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 2.9446 ] Added Platform Config 9 data with size :- 100
[ 2.9446 ]
[ 2.9446 ] Parsing config file :tegra234-mb1-bct-cprod-p3767-0000_cpp.dtb
[ 2.9446 ] ModuleCount 0 NumProdNames 0
[ 2.9446 ] Added Platform Config 6 data with size :- 16
[ 2.9446 ]
[ 2.9446 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb
[ 2.9446 ]
[ 2.9447 ] Updating mb1-bct with firmware information
[ 2.9453 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo flash.xml.bin
[ 2.9470 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[ 2.9481 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[ 2.9486 ] adding BCH for mb1_bct_MB1_aligned.bct
[ 2.9528 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 2.9529 ] Assuming zero filled SBK key
[ 2.9538 ] Warning: pub_key.key is not found
[ 2.9554 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[ 2.9565 ] Generating coldboot mem-bct
[ 2.9572 ] tegrabct_v2 --chip 0x23 0 --sdram tegra234-p3767-0000-sdram-l4t_cpp.dtb --wb0sdram tegra234-p3767-0000-wb0sdram-l4t_cpp.dtb --membct tegra234-p3767-0000-sdram-l4t_cpp_1.bct tegra234-p3767-0000-sdram-l4t_cpp_2.bct tegra234-p3767-0000-sdram-l4t_cpp_3.bct tegra234-p3767-0000-sdram-l4t_cpp_4.bct
[ 2.9578 ] packing sdram params with Wb0 file tegra234-p3767-0000-wb0sdram-l4t_cpp.dtb
[ 3.0124 ] Packing sdram param for instance[0]
[ 3.0126 ] Packing sdram param for instance[1]
[ 3.0129 ] Packing sdram param for instance[2]
[ 3.0131 ] Packing sdram param for instance[3]
[ 3.0133 ] Packing sdram param for instance[4]
[ 3.0136 ] Packing sdram param for instance[5]
[ 3.0138 ] Packing sdram param for instance[6]
[ 3.0141 ] Packing sdram param for instance[7]
[ 3.0142 ] Packing sdram param for instance[8]
[ 3.0142 ] Packing sdram param for instance[9]
[ 3.0143 ] Packing sdram param for instance[10]
[ 3.0143 ] Packing sdram param for instance[11]
[ 3.0144 ] Packing sdram param for instance[12]
[ 3.0145 ] Packing sdram param for instance[13]
[ 3.0146 ] Packing sdram param for instance[14]
[ 3.0146 ] Packing sdram param for instance[15]
[ 3.0626 ] Getting sector size from pt
[ 3.0634 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[ 3.0642 ] BlockSize read from layout is 0x200

[ 3.0649 ] tegrahost_v2 --chip 0x23 0 --blocksize 512 --magicid MEMB --addsigheader_multi tegra234-p3767-0000-sdram-l4t_cpp_1.bct tegra234-p3767-0000-sdram-l4t_cpp_2.bct tegra234-p3767-0000-sdram-l4t_cpp_3.bct tegra234-p3767-0000-sdram-l4t_cpp_4.bct
[ 3.0655 ] Binary 0 length is 58752
[ 3.0657 ] Binary 0 align length is 58880
[ 3.0662 ] Binary 1 length is 58752
[ 3.0663 ] Binary 1 align length is 58880
[ 3.0667 ] Binary 2 length is 58752
[ 3.0668 ] Binary 2 align length is 58880
[ 3.0672 ] Binary 3 length is 58752
[ 3.0672 ] Binary 3 align length is 58880
[ 3.0677 ] Buffer length is 235520
[ 3.0678 ] adding BCH for tegra234-p3767-0000-sdram-l4t_cpp_1.bct
[ 3.0680 ] new length is 243712
[ 3.0680 ]
[ 3.0688 ] tegrahost_v2 --chip 0x23 0 --align mem_coldboot_aligned.bct
[ 3.0703 ] tegrahost_v2 --chip 0x23 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_coldboot_aligned.bct zerosbk
[ 3.0715 ] Header already present for mem_coldboot_aligned.bct
[ 3.0834 ] tegrasign_v3.py --key None --list mem_coldboot_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 3.0836 ] Assuming zero filled SBK key
[ 3.0849 ] Warning: pub_key.key is not found
[ 3.0818 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mem_coldboot_aligned_sigheader.bct.encrypt mem_coldboot_aligned_sigheader.bct.hash zerosbk
[ 3.0831 ] Generating recovery mem-bct
[ 3.0843 ] tegrabct_v2 --chip 0x23 0 --sdram tegra234-p3767-0000-sdram-l4t_cpp.dtb --wb0sdram tegra234-p3767-0000-wb0sdram-l4t_cpp.dtb --membct tegra234-p3767-0000-sdram-l4t_cpp_1.bct tegra234-p3767-0000-sdram-l4t_cpp_2.bct tegra234-p3767-0000-sdram-l4t_cpp_3.bct tegra234-p3767-0000-sdram-l4t_cpp_4.bct
[ 3.0877 ] packing sdram params with Wb0 file tegra234-p3767-0000-wb0sdram-l4t_cpp.dtb
[ 3.1412 ] Packing sdram param for instance[0]
[ 3.1414 ] Packing sdram param for instance[1]
[ 3.1416 ] Packing sdram param for instance[2]
[ 3.1418 ] Packing sdram param for instance[3]
[ 3.1419 ] Packing sdram param for instance[4]
[ 3.1421 ] Packing sdram param for instance[5]
[ 3.1423 ] Packing sdram param for instance[6]
[ 3.1425 ] Packing sdram param for instance[7]
[ 3.1426 ] Packing sdram param for instance[8]
[ 3.1428 ] Packing sdram param for instance[9]
[ 3.1429 ] Packing sdram param for instance[10]
[ 3.1431 ] Packing sdram param for instance[11]
[ 3.1433 ] Packing sdram param for instance[12]
[ 3.1434 ] Packing sdram param for instance[13]
[ 3.1436 ] Packing sdram param for instance[14]
[ 3.1438 ] Packing sdram param for instance[15]
[ 3.2000 ] Reading ramcode from backup chip_info.bin file
[ 3.2000 ] RAMCODE Read from Device: 0

[ 3.2000 ] Using ramcode 0
[ 3.2000 ] Disabled BPMP dtb trim, using default dtb
[ 3.2000 ]
[ 3.2011 ] tegrahost_v2 --chip 0x23 0 --align mem_rcm_aligned.bct
[ 3.2024 ] tegrahost_v2 --chip 0x23 0 --magicid MEM0 --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm_aligned.bct zerosbk
[ 3.2029 ] adding BCH for mem_rcm_aligned.bct
[ 3.2078 ] tegrasign_v3.py --key None --list mem_rcm_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 3.2079 ] Assuming zero filled SBK key
[ 3.2090 ] Warning: pub_key.key is not found
[ 3.2060 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mem_rcm_aligned_sigheader.bct.encrypt mem_rcm_aligned_sigheader.bct.hash zerosbk
[ 3.2071 ] Copying signatures
[ 3.2078 ] tegrahost_v2 --chip 0x23 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 3.2415 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[ 3.2418 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[ 3.2418 ] Boot Rom communication
[ 3.2432 ] tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
Error: Return value 8
Command tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
Failed flashing t186ref.

Hi,

can you provide more information?
Like what’s the design of your custom carrier board, and what storage device you are using?
We don’t know what is jetson-orin-nx-varmint-ai.

Also, given the “external” option, if you want to flash to an NVMe drive, you are supposed to use initrd_flash, flash.sh only supports flashing QSPI, eMMC, and SD card.

Our custom carrier board is loosely modeled after the P3509-A01, Jetson Xavier NX Carrier Board with HDMI, PD, USB3.1, M2 Ket-E & M, GBe, CAM. Our board is named varmint-ai. We have a NVMe interface on our carrier board. I am struggling trying to flash this Orin NX SOM. From what research I have done I think it is loosing the UBS connection during execution of the flash writing but that I will use the initrd_flash command. Does this SOM have internal flash associated with the QSPI? Should I be using this command:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1
-c tools/kernel_flash/flash_l4t_external.xml
-p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml --no-systemimg” --network usb0
jetson-orin-nx-varmint-ai external
To flash the nvme, also I am seeing an error on the mtd driver and not sure why that is not included in my kernel? Should I be flashing the QSPI internal flash instead of the NVMe flash? I assume if the Orin NX SOM has QSPI flash I should be using flash.sh to program that flash?

I am attaching the output from my latest initrd command. Seems like I am missing the mtd driver.
flashoutput.txt (249.3 KB)

Hi,

I feel you have something missing to tell here. Your kernel is already modified by you but not the pure one from jetpack release, am I correct?

yes I modified the kernel, I had to update a camera driver

when I look at the path used to access the mtd it appears to be looking in a missing folder.
cp: cannot stat ‘/home/jetson/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/rootfs/lib/modules/5.10.104-rt63-tegra/kernel/drivers/mtd/mtd.ko’: No such file or directory

The directory 5.10.104-rt63-tegra is not what my filesystem has I see a 5.10.104-tegra and a 5.10.104 directory.

Just some basic ideas about how things work.

When you rebuild the kernel, if you didn’t give the localversion variable, then by default it would be 5.10.104. And if it is rt kernel, then it will be added some suffix like your case.

The kernel image and kernel modules are usually a pair. Which means if you rebuild the kernel image, then you need to rebuild the kernel modules as well.

Also, the search path of the kernel modules is /lib/modules/{uname -r} on your system.

That leads to the error you hit here. Your “uname -r” command will return 5.10.104-rt63-tegra. But there is totally no such path in your rootfs at all.

In brief, you need to rebuild the modules too and install it to your rootfs.

I found the nvbuild.sh directions for building the kernel but did not find directions on the web site for building the kernel modules.

The nvbuild.sh script is setting the LOCALVERSION to -tegra and I see the 5.10.104-tegra folder.

I do have a question about getting the kernel files into the rootfs. I built the kernel and put it in $HOME/kernel_out but web page diretions only

Say to:

  1. Replace Linux_for_Tegra/rootfs/usr/lib/modules/$(uname -r)/kernel/drivers/gpu/nvgpu/nvgpu.ko with a copy of this file:

  2. $kernel_out/drivers/gpu/nvgpu/nvgpu.ko

  3. For the device tree, replace the files in Linux_for_Tegra/kernel/dtb/ with a copy from:

  4. $kernel_out/arch/arm64/boot/dts/nvidia/

  5. Replace Linux_for_Tegra/kernel/Image with a copy of this file:

$kernel_out/arch/arm64/boot/Image

But seems like more than just the device tree stuff should be copied into the rootfs folder?

Where do I find the directions for build the kernel modules?

FYI,
I am cross compiling this on a ubuntu linux VM running on my windows system.

Hi,

please run this command to build kernel modules:
sudo make ARCH=arm64 O=$TEGRA_KERNEL_OUT modules_install \
INSTALL_MOD_PATH=<top>/Linux_for_Tegra/rootfs/

OK now the flash seems to complete but I get no boot. I do have a question about the bpmp file I am using. I think I should have a different one because I am using our own carrier board but I don’t know how to generate the bpmp file. I used tegra234-bpmp-3767-0000-a02-3509-a02.dtb. I am attaching my flash output.
flashoutput.txt (241.2 KB)

Please confirm that this command will write the Bootloader stuff into QSPI flash and the kernel and rootfs to external flash?
udo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1
-c tools/kernel_flash/flash_l4t_external.xml
-p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml --no-systemimg” --network usb0
jetson-orin-nx-varmint-ai external

Hi,

BPMP dtb is not something that end users can configure. So please just ignore it.

I don’t know why you came up with that command. Please just use the one from the developer guide document → Quick start guide.

My conf file has an entry BPFDTB_FILE=“tegra234-bpmp-3767-0000-a02-3509-a02.dtb”; if I comment that out then my flash command fails. I was told if I am flashing external flash that I have to use initrd_flash.sh command. I got that command from the workflow 4 in the tools/kernel_flash/README_initrd_flash.txt file.

Does the Orin NX has enough internal flash for the bootloader, kernel, and rootfs?
I have my own .conf file because we have our own carrier board.
Not sure the flash command in the quick start will work, are you saying to use?
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1
-c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml”
–showlogs --network usb0 jetson-orin-nx-varmint-ai(Our conf) internal

Yes, that is the command I am talking about.

I didn’t know why you want to remove bpmp dtb here. My point is this file is not public source, so you should just use the original one we provided. I didn’t mean you need to delete it.

Also, what module are you using? Orin NX 16GB or 8GB?

16GB and so using the tegra234-bpmp-3767-0000-a02-3509-a02.dtb is ok? It won’t screw up my system?

That file is correct.

I don’t know what “screw up” you mean here.

Anything you are doing now could be recovered. Your board can be reflash again and again no matter what software you change here.

The point here is to bypass the flash issue first. Anything that does not meet your expectation could be discussed later.

Not I was worried the bpmp file might not be good with my carrier board. I know I can always reflash just did not want my carrier board getting confused if there is logic in the bpmp that would incorrectly configure something.

Gosh thanks so much for your help!