Issue with backing up an img and then restoring/flashing it to another SoM

I have a flashed JP 5.1.2 GPU SoM which boots and works well as created.

I am trying to copy/backup that SoM image to another similar SoM. I used the command:

sudo ./flash.sh -r -k APP -G auto2-jp512-08282024.img auto2-gpgpu mmcblk0p1

It creates .img and img.raw files, as expected. I try and flash that image back to the new SoM using the commands:

sudo cp auto2-jp512-08282024.img bootloader/system.img
sudo ./flash.sh -r auto2-gpgpu mmcblk0p1

It fails.
Below is the log from the GPU SoM side (Orin AGX):

I> MB2 (version: 0.0.0.0-t234-54845784-4d0906e6)
I> t234-A01-1-Silicon (0x12347)
I> Boot-mode : RCM Flash
I> Emulation:
I> Entry timestamp: 0x02352e0f
I> Regular heap: [base:0x40040000, size:0x10000]
I> DMA heap: [base:0x102e800000, size:0x800000]
I> Task: ARI update carveout TZDRAM (0x50002034)
I> Task: PSC mailbox init (0x500178b0)
I> Task: Map CCPLEX_INTERWORLD_SHMEM carveout (0x50001fe0)
I> Task: Program CBB PCIE AMAP regions (0x5001ac14)
I> Task: Boot device init (0x50001f28)
I> Boot_device: QSPI_FLASH instance: 0
I> Qspi clock source : pllc_out0
I> QSPI-0l initialized successfully
I> Task: Partition Manager Init (0x50001f24)
I> Found 57 partitions in QSPI_FLASH (instance 0)
W> Cannot find any partition table for 00000003

PARTITION_MANAGER: Failed to publish partition.
I> Found 15 partitions in SDMMC_USER (instance 3)
I> Task: Trigger mailbox for PSC-BL1 exit (0x50017930)
I> Sending opcode 0x4d420802 to psc
I> Received ACK from psc
I> Task: Enter 3p server (0x500020cc)
I> USB configuration success
I> Populate storage info
I> Erasing device 3: 0
I> QSPI: Erasing entire device
I> Writing device 3: 0.
I> Found 57 partitions in QSPI_FLASH (instance 0)
I> Erasing device 1: 3
I> Writing device 1: 3.
I> Writing device 1: 3.
I> Found 15 partitions in SDMMC_USER (instance 3)
I> Writing device 1: 3.
I> Found 15 partitions in SDMMC_USER (instance 3)
I> Writing A_mb1 partition.
I> Writing A_psc_bl1 partition.
I> Writing A_nvdec partition.
I> Writing A_mb2 partition.
I> Writing A_xusb-fw partition.
I> Writing A_bpmp-fw partition.
I> Writing A_bpmp-fw-dtb partition.
I> Writing A_psc-fw partition.
I> Writing A_mts-mce partition.
I> Writing A_sc7 partition.
I> Writing A_pscrf partition.
I> Writing A_mb2rf partition.
I> Writing A_cpu-bootloader partition.
I> Writing A_secure-os partition.
I> Writing A_eks partition.
I> Writing A_dce-fw partition.
I> Writing A_spe-fw partition.
I> Writing A_rce-fw partition.
I> Writing A_adsp-fw partition.
I> Writing B_mb1 partition.
I> Writing B_psc_bl1 partition.
I> Writing B_nvdec partition.
I> Writing B_mb2 partition.
I> Writing B_xusb-fw partition.
I> Writing B_bpmp-fw partition.
I> Writing B_bpmp-fw-dtb partition.
I> Writing B_psc-fw partition.
I> Writing B_mts-mce partition.
I> Writing B_sc7 partition.
I> Writing B_pscrf partition.
I> Writing B_mb2rf partition.
I> Writing B_cpu-bootloader partition.
I> Writing B_secure-os partition.
I> Writing B_eks partition.
I> Writing B_dce-fw partition.
I> Writing B_spe-fw partition.
I> Writing B_rce-fw partition.
I> Writing B_adsp-fw partition.
I> Writing B_VER partition.
I> Writing A_VER partition.
I> Writing device 1: 3.
I> Writing A_kernel partition.
I> Writing A_kernel-dtb partition.
I> Writing B_kernel partition.
I> Writing B_kernel-dtb partition.
I> Writing recovery partition.
I> Writing recovery-dtb partition.
I> Writing esp partition.
I> Writing APP partition.
E> NV3P_SERVER: Could not write 1048576 bytes.

On the flashing host computer (Ubuntu 18.04.6 LTS), it fails at the system.img line:

[ 428.8589 ] […] 100%
[ 428.8738 ] Writing partition B_VER with qspi_bootblob_ver.txt [ 109 bytes ]
[ 433.7950 ] […] 100%
[ 433.7986 ] Writing partition A_VER with qspi_bootblob_ver.txt [ 109 bytes ]
[ 433.8070 ] […] 100%
[ 433.8102 ] Writing partition master_boot_record with mbr_1_3.bin [ 512 bytes ]
[ 433.8194 ] […] 100%
[ 433.8222 ] Writing partition A_kernel with boot.img [ 43489280 bytes ]
[ 433.8286 ] […] 100%
[ 435.4175 ] Writing partition A_kernel-dtb with kernel_tegra234-umc-gpgpu.dtb [ 439998 bytes ]
[ 435.4213 ] […] 100%
[ 435.4395 ] Writing partition B_kernel with boot.img [ 43489280 bytes ]
[ 435.4457 ] […] 100%
[ 437.0488 ] Writing partition B_kernel-dtb with kernel_tegra234-umc-gpgpu.dtb [ 439998 bytes ]
[ 437.0529 ] […] 100%
[ 437.0697 ] Writing partition recovery with recovery.img [ 50599936 bytes ]
[ 437.0745 ] […] 100%
[ 438.9276 ] Writing partition recovery-dtb with tegra234-umc-gpgpu.dtb.rec [ 439998 bytes ]
[ 438.9306 ] […] 100%
[ 438.9464 ] Writing partition esp with esp.img [ 67108864 bytes ]
[ 438.9503 ] […] 100%
[ 441.3738 ] Writing partition APP with system.img [ 8107775020 bytes ]
[ 441.3792 ] [ ] 000%

I must be missing something. Is this the correct procedure to completely copy an image from one SoM and move it, then flash to another?

Thanks!

Hi @smcentee

According to the documentation, if the new board is already flashed, you need to include the -k APP to the flash command:

sudo ./flash.sh -r -k APP auto2-gpgpu mmcblk0p1

Regards,

Enrique Ramirez
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com

@enrique.ramirez Thanks for the response.

Previously, I tried using the command to flash:

sudo ./flash.sh -r -k APP auto2-gpgpu mmcblk0p1

But now fails sooner at (host computer log below):

[ 7.4908 ] Added binary blob_camera-rtcpu-sce_sigheader.img.encrypt of size 166304
[ 7.4912 ] Added binary blob_camera-rtcpu-t234-rce_sigheader.img.encrypt of size 537952
[ 7.4915 ] Added binary blob_adsp-fw_sigheader.bin.encrypt of size 400864
[ 7.4918 ] Added binary blob_spe_t234_sigheader.bin.encrypt of size 270336
[ 7.4921 ] Added binary blob_tos-optee_t234_sigheader.img.encrypt of size 1127568
[ 7.4924 ] Added binary blob_eks_t234_sigheader.img.encrypt of size 9232
[ 7.5125 ] Sending membct and RCM blob
[ 7.5144 ] tegrarcm_v2 --chip 0x23 0 --pollbl --download bct_mem mem_rcm_sigheader.bct.encrypt --download blob blob.bin
[ 7.5180 ] BL: version 1.2.0.0-t234-54845784-562369e5 last_boot_error: 0
[ 7.5449 ] Sending bct_mem
[ 7.5916 ] Sending blob
[ 8.7723 ] completed
[ 9.7759 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 9.8119 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 9.8147 ] MB2 version 01.00.0000
[ 9.8603 ] Erasing partition
[ 9.8716 ] tegradevflash_v2 --erase APP
[ 9.8730 ] Bootloader version 01.00.0000
[ 9.9036 ] [Done]
[ 10.8677 ] Writing partition
[ 10.8692 ] tegradevflash_v2 --write APP /home/jimmy/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG/Linux_for_Tegra/bootloader/system.img
[ 10.8702 ] Bootloader version 01.00.0000
[ 10.8971 ] Writing partition APP with /home/jimmy/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG/Linux_for_Tegra/bootloader/system.img [ 8107775020 bytes ]
[ 10.8983 ] [ ] 000%

And on the SoM, the log:

[0016.206] I> Task: Program misc carveouts
[0016.210] I> Program IPC carveouts
[0016.218] I> SLCG Global override status := 0x0
[0016.223] I> MB1: MSS reconfig completed
I> MB2 (version: 0.0.0.0-t234-54845784-4d0906e6)
I> t234-A01-1-Silicon (0x12347)
I> Boot-mode : RCM Flash
I> Emulation:
I> Entry timestamp: 0x00f80b97
I> Regular heap: [base:0x40040000, size:0x10000]
I> DMA heap: [base:0x102e800000, size:0x800000]
I> Task: ARI update carveout TZDRAM (0x50002034)
I> Task: PSC mailbox init (0x500178b0)
I> Task: Map CCPLEX_INTERWORLD_SHMEM carveout (0x50001fe0)
I> Task: Program CBB PCIE AMAP regions (0x5001ac14)
I> Task: Boot device init (0x50001f28)
I> Boot_device: QSPI_FLASH instance: 0
I> Qspi clock source : pllc_out0
I> QSPI-0l initialized successfully
I> Task: Partition Manager Init (0x50001f24)
I> Found 57 partitions in QSPI_FLASH (instance 0)
W> Cannot find any partition table for 00000003

PARTITION_MANAGER: Failed to publish partition.
I> Found 15 partitions in SDMMC_USER (instance 3)
I> Task: Trigger mailbox for PSC-BL1 exit (0x50017930)
I> Sending opcode 0x4d420802 to psc
I> Received ACK from psc
I> Task: Enter 3p server (0x500020cc)
I> USB configuration success
I> Erasing APP partition
I> Writing APP partition.
E> NV3P_SERVER: Could not write 1048576 bytes.

So similar results…

Hi smcentee,

Are you using the devkit or custom board for AGX Orin?
(it seems the custom carrier board so that you use auto2-gpgpu.conf as board config?)

Have you also copied auto2-jp512-08282024.img.raw to system.img.raw?

It seems you failed at writing APP partition.
Have you confirmed that the APP partition(rootfs) size of 2 SoMs are the same?

Thanks Kevin for the response.

Yes, I am using a custom carrier board (auto2-gpgpu.conf is my conf file for that board).

I did not copy over the auto2-jp512-08282024.img.raw file to the system.img.raw. I didn’t think I needed to do that, but I’ll try it.

Yes, the size of the two SoMs (source and destination) are of equal size. The two units are the same. I also tried to backup a successfully flashed SoM back onto the same SoM and it fails. If I create the system.img with the normal flash.sh script and Linux_for_Tegra directory files, it successfully flashes and works fine.
I just add network IPs and a few other things to the SoM’s directory structure and want to back it up, so I don’t have to add those every time I flash another SoM.

It seems not the expected result to me.
Please share the full log when you perform this from host for further check.

Here is the host log during flashing. I also copied over the auto2-jp512-08282024.img.raw file to the bootloader/system.img.raw

It locks up at the system.img write:

###############################################################################
# L4T BSP Information:
# R35 , REVISION: 4.1
# User release: 0.0
###############################################################################
# Target Board Information:
# Name: auto2-gpgpu, Board Family: t186ref, SoC: Tegra 234, 
# OpMode: production, Boot Authentication: NS, 
# Disk encryption: disabled ,
###############################################################################
copying emc_fuse_dev_params(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct-diag-boot.dts)... done.
copying device_config(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-device-p3701-0000.dts)... done.
copying misc_config(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-misc-p3701-0000.dts)... done.
./tegraflash.py --chip 0x23 --applet "/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/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-p3701-0000.dts --misc_config tegra234-mb1-bct-misc-p3701-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.1689 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   0.1723 ] File rcm_state open failed
[   0.1728 ] ERROR: failed to read rcm_state
[   0.1728 ] 
[   0.2240 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.2242 ] Assuming zero filled SBK key
[   0.1733 ] Pre-processing config: tegra234-mb1-bct-device-p3701-0000.dts
[   0.9219 ] Pre-processing config: tegra234-mb1-bct-misc-p3701-0000.dts
[   0.9709 ] Parsing partition layout
[   0.9829 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[   0.9927 ] Kernel DTB used: None
[   0.9928 ] WARNING: dce base dtb is not provided

[   0.9928 ] Parsing partition layout
[   0.9961 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[   1.0003 ] Creating list of images to be signed
[   1.0137 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --list images_list.xml zerosbk
[   1.0149 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[   1.0233 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[   1.0239 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[   1.0332 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[   1.0336 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[   1.0469 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[   1.0472 ] adding BCH for mb2_t234_aligned.bin
[   1.0510 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[   1.0684 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[   1.0701 ] adding BCH for mb2_t234_aligned.bin
[   1.0842 ] Filling MB1 storage info
[   1.0842 ] Parsing dev params for multi chains
[   1.0958 ] Generating br-bct
[   1.1313 ] Updating dev and MSS params in BR BCT
[   1.1314 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   1.1423 ] Updating bl info
[   1.1437 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin
[   1.1446 ] WARNING: boot chain is not completed. set to 0
[   1.1453 ] Generating signatures
[   1.1964 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[   1.1967 ] Assuming zero filled SBK key
[   1.2721 ] Warning: pub_key.key is not found
[   1.2213 ] Parsing dev params for multi chains
[   1.2213 ] Generating br-bct
[   1.2221 ] Updating dev and MSS params in BR BCT
[   1.2222 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   1.2233 ] Updating bl info
[   1.2242 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[   1.2250 ] WARNING: boot chain is not completed. set to 0
[   1.2261 ] Get Signed section of bct
[   1.2270 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[   1.2280 ] Signing BCT
[   1.2791 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   1.2794 ] Assuming zero filled SBK key
[   1.2826 ] Sha saved in br_bct_BR.sha
[   1.2829 ] Warning: pub_key.key is not found
[   1.2319 ] Updating BCT with signature
[   1.2328 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml
[   1.2344 ] Offset :4608 Len :3584
[   1.2351 ] Generating SHA2 Hash
[   1.2862 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[   1.2865 ] Assuming zero filled SBK key
[   1.2865 ] Assuming zero filled SBK key
[   1.2904 ] Sha saved in br_bct_BR.sha
[   1.2400 ] Updating BCT with SHA2 Hash
[   1.2421 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[   1.2430 ] Offset :4608 Len :3584
[   1.2436 ] Offset :68 Len :8124
[   1.2437 ] 
[   1.2439 ] Generating coldboot mb1-bct
[   1.2482 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct.cfg --misc tegra234-mb1-bct-misc-p3701-0000_cpp.dtb --device tegra234-mb1-bct-device-p3701-0000_cpp.dtb
[   1.2498 ] MB1-BCT version: 0.10
[   1.2500 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[   1.2503 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[   1.2506 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[   1.2509 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[   1.2557 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[   1.2560 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[   1.2565 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[   1.2568 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[   1.2571 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[   1.2571 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[   1.2571 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[   1.2571 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[   1.2571 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[   1.2571 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[   1.2571 ] 
[   1.2571 ] Parsing config file :tegra234-mb1-bct-device-p3701-0000_cpp.dtb 
[   1.2571 ] Added Platform Config 9 data with size :- 100
[   1.2571 ] 
[   1.2572 ] Updating mb1-bct with firmware information
[   1.2600 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[   1.2625 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[   1.2652 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[   1.2665 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   1.3185 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   1.3187 ] Assuming zero filled SBK key
[   1.3205 ] Warning: pub_key.key is not found
[   1.2715 ] 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
[   1.2755 ] Generating recovery mb1-bct
[   1.2780 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct.cfg --misc tegra234-mb1-bct-misc-p3701-0000_cpp.dtb --device tegra234-mb1-bct-device-p3701-0000_cpp.dtb
[   1.2862 ] MB1-BCT version: 0.10
[   1.2864 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[   1.2864 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[   1.2864 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[   1.2864 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[   1.2864 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[   1.2864 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[   1.2864 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[   1.2865 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[   1.2865 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[   1.2865 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[   1.2865 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[   1.2865 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[   1.2865 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[   1.2865 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[   1.2865 ] 
[   1.2865 ] Parsing config file :tegra234-mb1-bct-device-p3701-0000_cpp.dtb 
[   1.2865 ] Added Platform Config 9 data with size :- 100
[   1.2865 ] 
[   1.2866 ] Updating mb1-bct with firmware information
[   1.2877 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin
[   1.2921 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[   1.2940 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[   1.2949 ] adding BCH for mb1_bct_MB1_aligned.bct
[   1.3474 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   1.3476 ] Assuming zero filled SBK key
[   1.3498 ] Warning: pub_key.key is not found
[   1.2997 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[   1.3010 ] Error: Skip generating mem_bct because sdram_config is not defined
[   1.3010 ] Error: Skip generating mem_bct because sdram_config is not defined
[   1.3010 ] Copying signatures
[   1.3020 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[   1.3098 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[   1.3105 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[   1.3106 ] Boot Rom communication
[   1.3125 ] 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
[   1.3167 ] BR_CID: 0x80012344705DE5D1200000000D020240
[   1.3440 ] Sending bct_br
[   1.3868 ] Sending mb1
[   1.3869 ] Sending psc_bl1
[   1.3966 ] Sending bct_mb1
[   1.4027 ] Boot Rom communication completed
[   1.4703 ] tegrahost_v2 --chip 0x23 0 --align applet_t234_aligned.bin
[   1.4743 ] tegrahost_v2 --chip 0x23 0 --magicid MB2A --appendsigheader applet_t234_aligned.bin zerosbk
[   1.4778 ] adding BCH for applet_t234_aligned.bin
[   1.5486 ] tegrasign_v3.py --key None --list applet_t234_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[   1.5489 ] Assuming zero filled SBK key
[   1.5516 ] Warning: pub_key.key is not found
[   1.5014 ] tegrahost_v2 --chip 0x23 0 --updatesigheader applet_t234_aligned_sigheader.bin.encrypt applet_t234_aligned_sigheader.bin.hash zerosbk
[   1.5033 ] Sending mb2_applet...

[   1.5044 ] tegrarcm_v2 --chip 0x23 0 --pollbl --download applet applet_t234_sigheader.bin.encrypt
[   1.5057 ] BL: version 1.2.0.0-t234-54845784-562369e5 last_boot_error: 0
[   1.6086 ] Sending applet
[   1.7156 ] completed
[   1.7167 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   1.7175 ] MB2 Applet version 01.00.0000
[   1.9335 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   1.9343 ] MB2 Applet version 01.00.0000
[   1.9692 ] Retrieving board information
[   1.9703 ] tegrarcm_v2 --chip 0x23 0 --oem platformdetails chip chip_info.bin
[   1.9718 ] MB2 Applet version 01.00.0000
[   2.0168 ] Saved platform info in chip_info.bin
[   2.0227 ] Chip minor revision: 1
[   2.0229 ] Bootrom revision: 0x7
[   2.0231 ] Ram code: 0x3
[   2.0232 ] Chip sku: 0xd0
[   2.0233 ] Chip Sample: prod
[   2.0248 ] Retrieving EEPROM data
[   2.0249 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/cvm.bin --chip 0x23 0
[   2.0281 ] MB2 Applet version 01.00.0000
[   2.0569 ] Saved platform info in /home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/cvm.bin
[   2.0990 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   2.1000 ] MB2 Applet version 01.00.0000
[   2.1316 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   2.1339 ] MB2 Applet version 01.00.0000
[   2.1837 ] Dumping customer Info
[   2.1853 ] tegrarcm_v2 --chip 0x23 0 --oem dump bct tmp.bct
[   2.1865 ] MB2 Applet version 01.00.0000
[   2.2398 ] Saved bct in tmp.bct
[   2.2483 ] tegrabct_v2 --brbct tmp.bct --chip 0x23 0 --custinfo /home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/custinfo_out.bin
[   2.2494 ] C[   2.2497 ] ustomer data saved in /home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/custinfo_out.bin successfully
[   2.2498 ] Rebooting to recovery mode
[   2.2509 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[   2.2817 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   2.2829 ] MB2 Applet version 01.00.0000
[   2.3299 ] Booting to recovery mode
[   2.3341 ] tegrarcm_v2 --chip 0x23 0 --reboot recovery
[   2.3357 ] MB2 Applet version 01.00.0000
Board ID(3701) version(500) sku(0005) revision(P.0)
Chip SKU(00:00:00:D0) ramcode(00:00:00:03) fuselevel(fuselevel_production) board_FAB(500)
copying bctfile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-p3701-0005-sdram-l4t.dts)... done.
copying minratchet_config(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-ratchet-p3701-0000.dts)... done.
copying device_config(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-device-p3701-0000.dts)... done.
copying misc_config(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-misc-p3701-0000.dts)... done.
copying pinmux_config(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/Orin-jetson_agx_orin-pinmux.dtsi)... done.
copying gpioint_config(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-gpioint-p3701-0000.dts)... done.
copying pmic_config(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-pmic-p3701-0000.dts)... done.
copying pmc_config(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-padvoltage-p3701-0000-a04.dtsi)... done.
copying deviceprod_config(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-cprod-p3701-0000.dts)... done.
copying prod_config(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-prod-p3701-0000.dts)... done.
copying scr_config(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb2-bct-scr-p3701-0000.dts)... done.
copying wb0sdram(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-p3701-0005-wb0sdram-l4t.dts)... done.
copying bootrom_config(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-reset-p3701-0000.dts)... done.
Existing uphylane_config(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/tegra234-mb1-bct-uphylane-si.dtsi) reused.
copying dev_params(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct-p3701-0000.dts)... done.
copying dev_params_b(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct_b-p3701-0000.dts)... done.
copying mb2bct_cfg(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb2-bct-misc-p3701-0000.dts)... done.
Existing pscfwfile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/pscfw_t234_prod.bin) reused.
Existing pscbl1file(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/psc_bl1_t234_prod.bin) reused.
Existing mtsmcefile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/mce_flash_o10_cr_prod.bin) reused.
Existing mb2applet(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/applet_t234.bin) reused.
Existing bootloader(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.
copying initrd(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
bl is uefi
Making Boot image... done.
Not signing of boot.img
Existing sosfile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/mb1_t234_prod.bin) reused.
Existing tegraboot(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.
Existing cpu_bootloader(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.
Existing mb2blfile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.
Existing xusbfile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/xusb_t234_prod.bin) reused.
Existing dcefile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/display-t234-dce.bin) reused.
Existing nvdecfile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/nvdec_t234_prod.fw) reused.
Existing psc_rf(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/psc_rf_t234_prod.bin) reused.
Existing mb2_rf(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/mb2rf_t234.bin) reused.
Existing mb1file(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/mb1_t234_prod.bin) reused.
Existing bpffile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/bpmp_t234-TE990M-A1_prod.bin) reused.
copying bpfdtbfile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/tegra234-bpmp-3701-0005-3737-0000.dtb)... done.
Existing scefile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/camera-rtcpu-t234-rce.img) reused.
Existing apefile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/adsp-fw.bin) reused.
Existing spefile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/spe_t234.bin) reused.
Existing wb0boot(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/sc7_t234_prod.bin) reused.
Existing tosfile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/tos-optee_t234.img) reused.
Existing eksfile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/eks_t234.img) reused.
copying dtbfile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/kernel/dtb/tegra234-umc-gpgpu.dtb)... done.
Copying nv_boot_control.conf to rootfs
Reusing existing system.img... 
done.
Not signing of kernel-dtb
Existing tbcfile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/uefi_jetson.bin) reused.
Skip generating EFI system partition image.
copying tbcdtbfile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/kernel/dtb/tegra234-umc-gpgpu.dtb)... done.
copying cfgfile(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/t186ref/cfg/flash_t234_qspi_sdmmc.xml) to flash.xml... done.
Existing flashapp(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/tegraflash.py) reused.
*** Updating [APP] with system.img ***
copying overlay_dtb(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/kernel/dtb/L4TConfiguration.dtbo)... done.
copying overlay_dtb(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/kernel/dtb/tegra234-p3701-overlay.dtbo)... done.
copying overlay_dtb(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/kernel/dtb/tegra234-p3737-camera-dual-imx274-overlay.dtbo)... done.
copying overlay_dtb(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/kernel/dtb/tegra234-p3737-camera-e3331-overlay.dtbo)... done.
copying overlay_dtb(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/kernel/dtb/tegra234-p3737-camera-e3333-overlay.dtbo)... done.
copying overlay_dtb(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/kernel/dtb/tegra234-p3737-camera-imx185-overlay.dtbo)... done.
copying overlay_dtb(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/kernel/dtb/tegra234-p3737-camera-imx390-overlay.dtbo)... done.
copying overlay_dtb(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/kernel/dtb/tegra234-p3737-audio-codec-rt5658-40pin.dtbo)... done.
copying overlay_dtb(/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/kernel/dtb/tegra234-p3737-overlay.dtbo)... done.
/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/L4TConfiguration_updated.dts: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
/home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/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 uefi_jetson_with_dtb.bin --chip 0x23 --applet mb1_t234_prod.bin --sdram_config tegra234-p3701-0005-sdram-l4t.dts --minratchet_config tegra234-mb1-bct-ratchet-p3701-0000.dts --device_config tegra234-mb1-bct-device-p3701-0000.dts --misc_config tegra234-mb1-bct-misc-p3701-0000.dts --pinmux_config Orin-jetson_agx_orin-pinmux.dtsi --gpioint_config tegra234-mb1-bct-gpioint-p3701-0000.dts --pmic_config tegra234-mb1-bct-pmic-p3701-0000.dts --pmc_config tegra234-mb1-bct-padvoltage-p3701-0000-a04.dtsi --deviceprod_config tegra234-mb1-bct-cprod-p3701-0000.dts --prod_config tegra234-mb1-bct-prod-p3701-0000.dts --scr_config tegra234-mb2-bct-scr-p3701-0000.dts --wb0sdram_config tegra234-p3701-0005-wb0sdram-l4t.dts --br_cmd_config tegra234-mb1-bct-reset-p3701-0000.dts --uphy tegra234-mb1-bct-uphylane-si.dtsi --dev_params tegra234-br-bct-p3701-0000.dts,tegra234-br-bct_b-p3701-0000.dts --mb2bct_cfg tegra234-mb2-bct-misc-p3701-0000.dts  --cfg  flash.xml --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-3701-0005-3737-0000.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"  --odmdata gbe-uphy-config-0,nvhs-uphy-config-1,hsio-uphy-config-16,hsstp-lane-map-3  --overlay_dtb L4TConfiguration.dtbo,tegra234-p3701-overlay.dtbo,tegra234-p3737-camera-dual-imx274-overlay.dtbo,tegra234-p3737-camera-e3331-overlay.dtbo,tegra234-p3737-camera-e3333-overlay.dtbo,tegra234-p3737-camera-imx185-overlay.dtbo,tegra234-p3737-camera-imx390-overlay.dtbo,tegra234-p3737-audio-codec-rt5658-40pin.dtbo,tegra234-p3737-overlay.dtbo, --bldtb tegra234-umc-gpgpu.dtb --concat_cpubl_bldtb --cpubl uefi_jetson.bin  --cmd "write APP system.img; reboot"  --bct_backup  --boot_chain A  
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.0252 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0254 ] Assuming zero filled SBK key
[   0.0246 ] Parsing partition layout
[   0.0255 ] tegraparser_v2 --pt flash.xml.tmp
[   0.0308 ] Change tegra234-bpmp-3701-0005-3737-0000.dtb to tegra234-bpmp-3701-0005-3737-0000_with_odm.dtb
[   0.0310 ] Change tegra234-bpmp-3701-0005-3737-0000.dtb to tegra234-bpmp-3701-0005-3737-0000_with_odm.dtb
[   0.0714 ] /usr/bin/python3 dtbcheck.py -c t234 -o tegra234-bpmp-3701-0005-3737-0000_with_odm.dtb tegra234-bpmp-3701-0005-3737-0000_with_odm_tmp.dtb
[   0.8585 ] Concatenating L4TConfiguration.dtbo,tegra234-p3701-overlay.dtbo,tegra234-p3737-camera-dual-imx274-overlay.dtbo,tegra234-p3737-camera-e3331-overlay.dtbo,tegra234-p3737-camera-e3333-overlay.dtbo,tegra234-p3737-camera-imx185-overlay.dtbo,tegra234-p3737-camera-imx390-overlay.dtbo,tegra234-p3737-audio-codec-rt5658-40pin.dtbo,tegra234-p3737-overlay.dtbo to tegra234-umc-gpgpu_with_odm_overlay.dtb
[   0.8594 ] Concatenating bl dtb to cpubl binary
[   0.8632 ] MB2 binary: mb2_t234.bin
[   0.8633 ] Pre-processing mb2bct config: tegra234-mb2-bct-misc-p3701-0000.dts
[   0.9138 ] Pre-processing mb2bct config: tegra234-mb2-bct-scr-p3701-0000.dts
[   1.4945 ] Generating coldboot mb2-bct
[   1.4946 ] tegrabct_v2 --chip 0x23 0 --mb2bct mb2_cold_boot_bct.cfg --mb2bctcfg tegra234-mb2-bct-misc-p3701-0000_cpp.dtb --scr tegra234-mb2-bct-scr-p3701-0000_cpp.dtb
[   1.4955 ] WARNING: unknown property 'tfc_version'
[   1.4969 ] WARNING: unknown property 'addr_header_version'
[   1.5081 ] Updating mb2-bct with storage information
[   1.5093 ] tegrabct_v2 --chip 0x23 0 --mb2bct mb2_cold_boot_bct_MB2.bct --updatestorageinfo flash.xml.bin
[   1.5105 ] Concatenating mb2-bct to mb2 binary
[   1.5105 ] mb2_bin_file = mb2_t234.bin
[   1.5105 ] mb2_bct_file = mb2_cold_boot_bct_MB2.bct
[   1.5164 ] DCE binary: display-t234-dce.bin
[   1.5166 ] Kernel DTB used: kernel_tegra234-umc-gpgpu.dtb
[   1.5166 ] Concatenating kernel-dtb to dce-fw binary
[   1.5167 ] dce_bin = display-t234-dce.bin
[   1.5167 ] kernel_dtb = kernel_tegra234-umc-gpgpu.dtb
[   1.5167 ] dce_with_dtb = display-t234-dce_with_kernel_tegra234-umc-gpgpu.bin
[   1.5317 ] Update display-t234-dce_with_kernel_tegra234-umc-gpgpu.bin to dce_fw partitions
[   1.5359 ] Parsing partition layout
[   1.5411 ] tegraparser_v2 --pt flash.xml.tmp
[   1.5436 ] Pre-processing config: tegra234-mb1-bct-reset-p3701-0000.dts
[   1.5567 ] Pre-processing config: tegra234-mb1-bct-device-p3701-0000.dts
[   1.5625 ] Pre-processing config: tegra234-mb1-bct-cprod-p3701-0000.dts
[   1.5751 ] Pre-processing config: tegra234-mb1-bct-gpioint-p3701-0000.dts
[   1.5879 ] Pre-processing config: tegra234-mb1-bct-misc-p3701-0000.dts
[   1.5968 ] Pre-processing config: Orin-jetson_agx_orin-pinmux.dtsi
[   1.6280 ] Pre-processing config: tegra234-mb1-bct-padvoltage-p3701-0000-a04.dtsi
[   1.6407 ] Pre-processing config: tegra234-mb1-bct-pmic-p3701-0000.dts
[   1.6537 ] Pre-processing config: tegra234-mb1-bct-prod-p3701-0000.dts
[   1.6596 ] Pre-processing config: tegra234-p3701-0005-sdram-l4t.dts
[   2.7010 ] Pre-processing config: tegra234-mb1-bct-uphylane-si.dtsi
[   2.7111 ] Pre-processing config: tegra234-p3701-0005-wb0sdram-l4t.dts
[   3.5851 ] Pre-processing config: tegra234-mb1-bct-ratchet-p3701-0000.dts
[   3.5926 ] Creating list of images to be signed
[   3.5936 ] Generating ratchet blob
[   3.5936 ] Generating coldboot mb1-bct
[   3.5945 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct.cfg --misc tegra234-mb1-bct-misc-p3701-0000_cpp.dtb --wb0sdram tegra234-p3701-0005-wb0sdram-l4t_cpp.dtb --pinmux Orin-jetson_agx_orin-pinmux_cpp.dtb --pmc tegra234-mb1-bct-padvoltage-p3701-0000-a04_cpp.dtb --pmic tegra234-mb1-bct-pmic-p3701-0000_cpp.dtb --brcommand tegra234-mb1-bct-reset-p3701-0000_cpp.dtb --prod tegra234-mb1-bct-prod-p3701-0000_cpp.dtb --gpioint tegra234-mb1-bct-gpioint-p3701-0000_cpp.dtb --uphy tegra234-mb1-bct-uphylane-si_cpp.dtb --device tegra234-mb1-bct-device-p3701-0000_cpp.dtb --deviceprod tegra234-mb1-bct-cprod-p3701-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3701-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   3.5954 ] MB1-BCT version: 0.10
[   3.5956 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[   3.5959 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[   3.5963 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[   3.5968 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[   3.5971 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[   3.5975 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[   3.5978 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[   3.5981 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[   3.5985 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[   3.5990 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[   3.5993 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[   3.5996 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[   3.6000 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[   3.6001 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[   3.6001 ] 
[   3.6001 ] Parsing config file :Orin-jetson_agx_orin-pinmux_cpp.dtb 
[   3.6001 ] Added Platform Config 0 data with size :- 2176
[   3.6001 ] 
[   3.6001 ] Parsing config file :tegra234-mb1-bct-padvoltage-p3701-0000-a04_cpp.dtb 
[   3.6001 ] WARNING: unknown node 'g2'
[   3.6001 ] WARNING: unknown node 'g2'
[   3.6001 ] WARNING: unknown node 'g9'
[   3.6001 ] WARNING: unknown node 'g9'
[   3.6001 ] Added Platform Config 2 data with size :- 24
[   3.6001 ] 
[   3.6001 ] Parsing config file :tegra234-mb1-bct-pmic-p3701-0000_cpp.dtb 
[   3.6001 ] Added Platform Config 4 data with size :- 532
[   3.6001 ] 
[   3.6001 ] Parsing config file :tegra234-mb1-bct-reset-p3701-0000_cpp.dtb 
[   3.6001 ] Added Platform Config 3 data with size :- 52
[   3.6001 ] 
[   3.6001 ] Parsing config file :tegra234-mb1-bct-prod-p3701-0000_cpp.dtb 
[   3.6001 ] WARNING: unknown property 'major'
[   3.6001 ] WARNING: unknown property 'minor'
[   3.6002 ] Added Platform Config 5 data with size :- 524
[   3.6002 ] 
[   3.6002 ] Parsing config file :tegra234-mb1-bct-gpioint-p3701-0000_cpp.dtb 
[   3.6002 ] WARNING: unknown property 'major'
[   3.6002 ] WARNING: unknown property 'minor'
[   3.6002 ] Added Platform Config 7 data with size :- 380
[   3.6002 ] 
[   3.6002 ] Parsing config file :tegra234-mb1-bct-uphylane-si_cpp.dtb 
[   3.6002 ] Added Platform Config 8 data with size :- 24
[   3.6002 ] 
[   3.6002 ] Parsing config file :tegra234-mb1-bct-device-p3701-0000_cpp.dtb 
[   3.6002 ] Added Platform Config 9 data with size :- 100
[   3.6002 ] 
[   3.6002 ] Parsing config file :tegra234-mb1-bct-cprod-p3701-0000_cpp.dtb 
[   3.6002 ] ModuleCount 0 NumProdNames 0
[   3.6003 ] Added Platform Config 6 data with size :- 16
[   3.6003 ] 
[   3.6003 ] Parsing config file :tegra234-mb1-bct-ratchet-p3701-0000_cpp.dtb 
[   3.6003 ] 
[   3.6003 ] Updating mb1-bct with firmware information
[   3.6019 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   3.6074 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[   3.6120 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[   3.6135 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   3.6155 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   3.6157 ] Assuming zero filled SBK key
[   3.6179 ] Warning: pub_key.key is not found
[   3.6184 ] 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
[   3.6203 ] tegrahost_v2 --chip 0x23 0 --partitionlayout flash.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[   3.6212 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[   3.6221 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[   3.6224 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[   3.6278 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[   3.6281 ] Header already present for nvdec_t234_prod_aligned.fw
[   3.6306 ] adding BCH for mb2_t234_with_mb2_cold_boot_bct_MB2_aligned.bin
[   3.6382 ] adding BCH for xusb_t234_prod_aligned.bin
[   3.6538 ] Header already present for bpmp_t234-TE990M-A1_prod_aligned.bin
[   3.6613 ] adding BCH for tegra234-bpmp-3701-0005-3737-0000_with_odm_aligned.dtb
[   3.6809 ] Header already present for pscfw_t234_prod_aligned.bin
[   3.6861 ] Header already present for mce_flash_o10_cr_prod_aligned.bin
[   3.6926 ] Header already present for sc7_t234_prod.bin
[   3.6960 ] Header already present for psc_rf_t234_prod_aligned.bin
[   3.7014 ] adding BCH for mb2rf_t234_aligned.bin
[   3.7022 ] adding BCH for uefi_jetson_with_dtb_aligned.bin
[   3.7178 ] adding BCH for tos-optee_t234_aligned.img
[   3.8245 ] adding BCH for eks_t234_aligned.img
[   3.8618 ] INFO: compressing display-t234-dce_with_kernel_tegra234-umc-gpgpu_aligned.bin
[   4.0500 ] INFO: complete compression, display-t234-dce_with_kernel_tegra234-umc-gpgpu_aligned.bin, ratio = 7%
[   4.0726 ] adding BCH for display-t234-dce_with_kernel_tegra234-umc-gpgpu_aligned_blob_w_bin_aligned.bin
[   4.0947 ] adding BCH for spe_t234_aligned.bin
[   4.1086 ] adding BCH for camera-rtcpu-t234-rce_aligned.img
[   4.1195 ] adding BCH for adsp-fw_aligned.bin
[   4.1386 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[   4.1542 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[   4.1546 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[   4.1598 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[   4.1601 ] Header already present for nvdec_t234_prod_aligned.fw
[   4.1622 ] adding BCH for mb2_t234_with_mb2_cold_boot_bct_MB2_aligned.bin
[   4.1680 ] adding BCH for xusb_t234_prod_aligned.bin
[   4.1842 ] Header already present for bpmp_t234-TE990M-A1_prod_aligned.bin
[   4.1918 ] adding BCH for tegra234-bpmp-3701-0005-3737-0000_with_odm_aligned.dtb
[   4.2102 ] Header already present for pscfw_t234_prod_aligned.bin
[   4.2180 ] Header already present for mce_flash_o10_cr_prod_aligned.bin
[   4.2233 ] Header already present for sc7_t234_prod.bin
[   4.2268 ] Header already present for psc_rf_t234_prod_aligned.bin
[   4.2314 ] adding BCH for mb2rf_t234_aligned.bin
[   4.2342 ] adding BCH for uefi_jetson_with_dtb_aligned.bin
[   4.2463 ] adding BCH for tos-optee_t234_aligned.img
[   4.3532 ] adding BCH for eks_t234_aligned.img
[   4.3915 ] INFO: compressing display-t234-dce_with_kernel_tegra234-umc-gpgpu_aligned.bin
[   4.6010 ] INFO: complete compression, display-t234-dce_with_kernel_tegra234-umc-gpgpu_aligned.bin, ratio = 7%
[   4.6230 ] adding BCH for display-t234-dce_with_kernel_tegra234-umc-gpgpu_aligned_blob_w_bin_aligned.bin
[   4.6469 ] adding BCH for spe_t234_aligned.bin
[   4.6585 ] adding BCH for camera-rtcpu-t234-rce_aligned.img
[   4.6703 ] adding BCH for adsp-fw_aligned.bin
[   4.7063 ] Filling MB1 storage info
[   4.7064 ] Parsing dev params for multi chains
[   4.7193 ] Generating br-bct
[   4.7203 ] Updating dev and MSS params in BR BCT
[   4.7203 ] tegrabct_v2 --dev_param tegra234-br-bct-p3701-0000_cpp.dtb --sdram tegra234-p3701-0005-sdram-l4t_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   4.8261 ] Updating bl info
[   4.8277 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo flash.xml.bin
[   4.8346 ] Generating br-bct
[   4.8356 ] Updating dev and MSS params in BR BCT
[   4.8356 ] tegrabct_v2 --dev_param tegra234-br-bct_b-p3701-0000_cpp.dtb --sdram tegra234-p3701-0005-sdram-l4t_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   4.9424 ] Updating bl info
[   4.9438 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo flash.xml.bin
[   4.9453 ] Generating BCT backup image
[   4.9454 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   4.9750 ] 32768+0 records in
[   5.0368 ] 32768+0 records out
[   5.0368 ] 32768 bytes (33 kB, 32 KiB) copied, 0.0610687 s, 537 kB/s
[   5.0368 ] 
[   5.0369 ] Concatenating BCT for chain A to bct_backup.img

[   5.0369 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   5.0381 ] 8192+0 records in
[   5.0510 ] 8192+0 records out
[   5.0510 ] 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0123017 s, 666 kB/s
[   5.0510 ] 
[   5.0511 ] Concatenating BCT for chain B to bct_backup.img

[   5.0511 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   5.0523 ] 8192+0 records in
[   5.0661 ] 8192+0 records out
[   5.0661 ] 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0130094 s, 630 kB/s
[   5.0661 ] 
[   5.0662 ] Generating signatures
[   5.0671 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[   5.0691 ] Assuming zero filled SBK key
[   5.2175 ] Warning: pub_key.key is not found
[   5.2197 ] Parsing dev params for multi chains
[   5.2198 ] Generating br-bct
[   5.2207 ] Updating dev and MSS params in BR BCT
[   5.2208 ] tegrabct_v2 --dev_param tegra234-br-bct-p3701-0000_cpp.dtb --sdram tegra234-p3701-0005-sdram-l4t_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   5.3303 ] Updating bl info
[   5.3316 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   5.3336 ] Get Signed section of bct
[   5.3346 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[   5.3357 ] Signing BCT
[   5.3366 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   5.3368 ] Assuming zero filled SBK key
[   5.3397 ] Sha saved in br_bct_BR.sha
[   5.3401 ] Warning: pub_key.key is not found
[   5.3393 ] Updating BCT with signature
[   5.3402 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml
[   5.3413 ] Offset :4608 Len :3584
[   5.3418 ] Generating SHA2 Hash
[   5.3427 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[   5.3430 ] Assuming zero filled SBK key
[   5.3430 ] Assuming zero filled SBK key
[   5.3502 ] Sha saved in br_bct_BR.sha
[   5.3501 ] Updating BCT with SHA2 Hash
[   5.3530 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[   5.3543 ] Offset :4608 Len :3584
[   5.3547 ] Offset :68 Len :8124
[   5.3547 ] 
[   5.3548 ] Generating br-bct
[   5.3560 ] Updating dev and MSS params in BR BCT
[   5.3561 ] tegrabct_v2 --dev_param tegra234-br-bct_b-p3701-0000_cpp.dtb --sdram tegra234-p3701-0005-sdram-l4t_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   5.4635 ] Updating bl info
[   5.4655 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   5.4679 ] Get Signed section of bct
[   5.4691 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[   5.4702 ] Signing BCT
[   5.4711 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   5.4713 ] Assuming zero filled SBK key
[   5.4742 ] Sha saved in br_bct_BR.sha
[   5.4746 ] Warning: pub_key.key is not found
[   5.4738 ] Updating BCT with signature
[   5.4750 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml
[   5.4759 ] Offset :4608 Len :3584
[   5.4763 ] Generating SHA2 Hash
[   5.4772 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[   5.4775 ] Assuming zero filled SBK key
[   5.4775 ] Assuming zero filled SBK key
[   5.4828 ] Sha saved in br_bct_BR.sha
[   5.4827 ] Updating BCT with SHA2 Hash
[   5.4854 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[   5.4877 ] Offset :4608 Len :3584
[   5.4899 ] Offset :68 Len :8124
[   5.5036 ] Generating BCT backup image
[   5.5037 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   5.5075 ] 32768+0 records in
[   5.5806 ] 32768+0 records out
[   5.5806 ] 32768 bytes (33 kB, 32 KiB) copied, 0.0725743 s, 452 kB/s
[   5.5806 ] 
[   5.5806 ] Concatenating BCT for chain A to bct_backup.img

[   5.5806 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   5.5822 ] 8192+0 records in
[   5.5951 ] 8192+0 records out
[   5.5951 ] 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0122407 s, 669 kB/s
[   5.5951 ] 
[   5.5951 ] Concatenating BCT for chain B to bct_backup.img

[   5.5952 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   5.5972 ] 8192+0 records in
[   5.6122 ] 8192+0 records out
[   5.6122 ] 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0137968 s, 594 kB/s
[   5.6123 ] 
[   5.6124 ] Generating coldboot mb1-bct
[   5.6179 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct.cfg --misc tegra234-mb1-bct-misc-p3701-0000_cpp.dtb --wb0sdram tegra234-p3701-0005-wb0sdram-l4t_cpp.dtb --pinmux Orin-jetson_agx_orin-pinmux_cpp.dtb --pmc tegra234-mb1-bct-padvoltage-p3701-0000-a04_cpp.dtb --pmic tegra234-mb1-bct-pmic-p3701-0000_cpp.dtb --brcommand tegra234-mb1-bct-reset-p3701-0000_cpp.dtb --prod tegra234-mb1-bct-prod-p3701-0000_cpp.dtb --gpioint tegra234-mb1-bct-gpioint-p3701-0000_cpp.dtb --uphy tegra234-mb1-bct-uphylane-si_cpp.dtb --device tegra234-mb1-bct-device-p3701-0000_cpp.dtb --deviceprod tegra234-mb1-bct-cprod-p3701-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3701-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   5.6208 ] MB1-BCT version: 0.10
[   5.6222 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[   5.6226 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[   5.6230 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[   5.6241 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[   5.6244 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[   5.6249 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[   5.6256 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[   5.6258 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[   5.6259 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[   5.6259 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[   5.6259 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[   5.6259 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[   5.6259 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[   5.6259 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[   5.6259 ] 
[   5.6259 ] Parsing config file :Orin-jetson_agx_orin-pinmux_cpp.dtb 
[   5.6259 ] Added Platform Config 0 data with size :- 2176
[   5.6259 ] 
[   5.6259 ] Parsing config file :tegra234-mb1-bct-padvoltage-p3701-0000-a04_cpp.dtb 
[   5.6259 ] WARNING: unknown node 'g2'
[   5.6259 ] WARNING: unknown node 'g2'
[   5.6259 ] WARNING: unknown node 'g9'
[   5.6259 ] WARNING: unknown node 'g9'
[   5.6259 ] Added Platform Config 2 data with size :- 24
[   5.6260 ] 
[   5.6260 ] Parsing config file :tegra234-mb1-bct-pmic-p3701-0000_cpp.dtb 
[   5.6260 ] Added Platform Config 4 data with size :- 532
[   5.6260 ] 
[   5.6260 ] Parsing config file :tegra234-mb1-bct-reset-p3701-0000_cpp.dtb 
[   5.6260 ] Added Platform Config 3 data with size :- 52
[   5.6260 ] 
[   5.6260 ] Parsing config file :tegra234-mb1-bct-prod-p3701-0000_cpp.dtb 
[   5.6260 ] WARNING: unknown property 'major'
[   5.6260 ] WARNING: unknown property 'minor'
[   5.6260 ] Added Platform Config 5 data with size :- 524
[   5.6260 ] 
[   5.6260 ] Parsing config file :tegra234-mb1-bct-gpioint-p3701-0000_cpp.dtb 
[   5.6260 ] WARNING: unknown property 'major'
[   5.6260 ] WARNING: unknown property 'minor'
[   5.6260 ] Added Platform Config 7 data with size :- 380
[   5.6260 ] 
[   5.6260 ] Parsing config file :tegra234-mb1-bct-uphylane-si_cpp.dtb 
[   5.6260 ] Added Platform Config 8 data with size :- 24
[   5.6260 ] 
[   5.6260 ] Parsing config file :tegra234-mb1-bct-device-p3701-0000_cpp.dtb 
[   5.6260 ] Added Platform Config 9 data with size :- 100
[   5.6261 ] 
[   5.6261 ] Parsing config file :tegra234-mb1-bct-cprod-p3701-0000_cpp.dtb 
[   5.6261 ] ModuleCount 0 NumProdNames 0
[   5.6261 ] Added Platform Config 6 data with size :- 16
[   5.6261 ] 
[   5.6261 ] Parsing config file :tegra234-mb1-bct-ratchet-p3701-0000_cpp.dtb 
[   5.6261 ] 
[   5.6262 ] Updating mb1-bct with firmware information
[   5.6343 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   5.6378 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[   5.6401 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[   5.6412 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   5.6432 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   5.6434 ] Assuming zero filled SBK key
[   5.6458 ] Warning: pub_key.key is not found
[   5.6469 ] 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
[   5.6514 ] Generating recovery mb1-bct
[   5.6571 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct.cfg --misc tegra234-mb1-bct-misc-p3701-0000_cpp.dtb --wb0sdram tegra234-p3701-0005-wb0sdram-l4t_cpp.dtb --pinmux Orin-jetson_agx_orin-pinmux_cpp.dtb --pmc tegra234-mb1-bct-padvoltage-p3701-0000-a04_cpp.dtb --pmic tegra234-mb1-bct-pmic-p3701-0000_cpp.dtb --brcommand tegra234-mb1-bct-reset-p3701-0000_cpp.dtb --prod tegra234-mb1-bct-prod-p3701-0000_cpp.dtb --gpioint tegra234-mb1-bct-gpioint-p3701-0000_cpp.dtb --uphy tegra234-mb1-bct-uphylane-si_cpp.dtb --device tegra234-mb1-bct-device-p3701-0000_cpp.dtb --deviceprod tegra234-mb1-bct-cprod-p3701-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3701-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   5.6621 ] MB1-BCT version: 0.10
[   5.6623 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[   5.6628 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[   5.6640 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[   5.6643 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[   5.6665 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[   5.6668 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[   5.6672 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[   5.6675 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[   5.6678 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[   5.6681 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[   5.6684 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[   5.6688 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[   5.6688 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[   5.6688 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[   5.6688 ] 
[   5.6688 ] Parsing config file :Orin-jetson_agx_orin-pinmux_cpp.dtb 
[   5.6688 ] Added Platform Config 0 data with size :- 2176
[   5.6688 ] 
[   5.6688 ] Parsing config file :tegra234-mb1-bct-padvoltage-p3701-0000-a04_cpp.dtb 
[   5.6688 ] WARNING: unknown node 'g2'
[   5.6688 ] WARNING: unknown node 'g2'
[   5.6688 ] WARNING: unknown node 'g9'
[   5.6688 ] WARNING: unknown node 'g9'
[   5.6688 ] Added Platform Config 2 data with size :- 24
[   5.6688 ] 
[   5.6688 ] Parsing config file :tegra234-mb1-bct-pmic-p3701-0000_cpp.dtb 
[   5.6688 ] Added Platform Config 4 data with size :- 532
[   5.6688 ] 
[   5.6688 ] Parsing config file :tegra234-mb1-bct-reset-p3701-0000_cpp.dtb 
[   5.6688 ] Added Platform Config 3 data with size :- 52
[   5.6688 ] 
[   5.6688 ] Parsing config file :tegra234-mb1-bct-prod-p3701-0000_cpp.dtb 
[   5.6689 ] WARNING: unknown property 'major'
[   5.6689 ] WARNING: unknown property 'minor'
[   5.6689 ] Added Platform Config 5 data with size :- 524
[   5.6689 ] 
[   5.6689 ] Parsing config file :tegra234-mb1-bct-gpioint-p3701-0000_cpp.dtb 
[   5.6689 ] WARNING: unknown property 'major'
[   5.6689 ] WARNING: unknown property 'minor'
[   5.6689 ] Added Platform Config 7 data with size :- 380
[   5.6689 ] 
[   5.6689 ] Parsing config file :tegra234-mb1-bct-uphylane-si_cpp.dtb 
[   5.6689 ] Added Platform Config 8 data with size :- 24
[   5.6689 ] 
[   5.6689 ] Parsing config file :tegra234-mb1-bct-device-p3701-0000_cpp.dtb 
[   5.6689 ] Added Platform Config 9 data with size :- 100
[   5.6689 ] 
[   5.6689 ] Parsing config file :tegra234-mb1-bct-cprod-p3701-0000_cpp.dtb 
[   5.6689 ] ModuleCount 0 NumProdNames 0
[   5.6689 ] Added Platform Config 6 data with size :- 16
[   5.6689 ] 
[   5.6689 ] Parsing config file :tegra234-mb1-bct-ratchet-p3701-0000_cpp.dtb 
[   5.6689 ] 
[   5.6690 ] Updating mb1-bct with firmware information
[   5.6713 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo flash.xml.bin
[   5.6746 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[   5.6772 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[   5.6783 ] adding BCH for mb1_bct_MB1_aligned.bct
[   5.6801 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   5.6804 ] Assuming zero filled SBK key
[   5.6833 ] Warning: pub_key.key is not found
[   5.6896 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[   5.6954 ] Generating coldboot mem-bct
[   5.6971 ] tegrabct_v2 --chip 0x23 0 --sdram tegra234-p3701-0005-sdram-l4t_cpp.dtb --wb0sdram tegra234-p3701-0005-wb0sdram-l4t_cpp.dtb --membct tegra234-p3701-0005-sdram-l4t_cpp_1.bct tegra234-p3701-0005-sdram-l4t_cpp_2.bct tegra234-p3701-0005-sdram-l4t_cpp_3.bct tegra234-p3701-0005-sdram-l4t_cpp_4.bct
[   5.6982 ]  packing sdram params with Wb0 file tegra234-p3701-0005-wb0sdram-l4t_cpp.dtb
[   5.8042 ] Packing sdram param for instance[0]
[   5.8043 ] Packing sdram param for instance[1]
[   5.8045 ] Packing sdram param for instance[2]
[   5.8046 ] Packing sdram param for instance[3]
[   5.8048 ] Packing sdram param for instance[4]
[   5.8050 ] Packing sdram param for instance[5]
[   5.8052 ] Packing sdram param for instance[6]
[   5.8054 ] Packing sdram param for instance[7]
[   5.8056 ] Packing sdram param for instance[8]
[   5.8057 ] Packing sdram param for instance[9]
[   5.8059 ] Packing sdram param for instance[10]
[   5.8061 ] Packing sdram param for instance[11]
[   5.8062 ] Packing sdram param for instance[12]
[   5.8064 ] Packing sdram param for instance[13]
[   5.8066 ] Packing sdram param for instance[14]
[   5.8072 ] Packing sdram param for instance[15]
[   5.9100 ] Getting sector size from pt
[   5.9113 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[   5.9124 ] BlockSize read from layout is 0x200

[   5.9134 ] tegrahost_v2 --chip 0x23 0 --blocksize 512 --magicid MEMB --addsigheader_multi tegra234-p3701-0005-sdram-l4t_cpp_1.bct tegra234-p3701-0005-sdram-l4t_cpp_2.bct tegra234-p3701-0005-sdram-l4t_cpp_3.bct tegra234-p3701-0005-sdram-l4t_cpp_4.bct
[   5.9144 ] Binary 0 length is 58752
[   5.9145 ] Binary 0 align length is 58880
[   5.9155 ] Binary 1 length is 58752
[   5.9157 ] Binary 1 align length is 58880
[   5.9166 ] Binary 2 length is 58752
[   5.9167 ] Binary 2 align length is 58880
[   5.9175 ] Binary 3 length is 58752
[   5.9177 ] Binary 3 align length is 58880
[   5.9185 ] Buffer length is 235520
[   5.9186 ] adding BCH for tegra234-p3701-0005-sdram-l4t_cpp_1.bct
[   5.9189 ] new length is 243712
[   5.9189 ] 
[   5.9202 ] tegrahost_v2 --chip 0x23 0 --align mem_coldboot_aligned.bct
[   5.9222 ] tegrahost_v2 --chip 0x23 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_coldboot_aligned.bct zerosbk
[   5.9231 ] Header already present for mem_coldboot_aligned.bct
[   5.9248 ] tegrasign_v3.py --key None --list mem_coldboot_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   5.9251 ] Assuming zero filled SBK key
[   5.9368 ] Warning: pub_key.key is not found
[   5.9377 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mem_coldboot_aligned_sigheader.bct.encrypt mem_coldboot_aligned_sigheader.bct.hash zerosbk
[   5.9401 ] Generating recovery mem-bct
[   5.9414 ] tegrabct_v2 --chip 0x23 0 --sdram tegra234-p3701-0005-sdram-l4t_cpp.dtb --wb0sdram tegra234-p3701-0005-wb0sdram-l4t_cpp.dtb --membct tegra234-p3701-0005-sdram-l4t_cpp_1.bct tegra234-p3701-0005-sdram-l4t_cpp_2.bct tegra234-p3701-0005-sdram-l4t_cpp_3.bct tegra234-p3701-0005-sdram-l4t_cpp_4.bct
[   5.9426 ]  packing sdram params with Wb0 file tegra234-p3701-0005-wb0sdram-l4t_cpp.dtb
[   6.0503 ] Packing sdram param for instance[0]
[   6.0505 ] Packing sdram param for instance[1]
[   6.0506 ] Packing sdram param for instance[2]
[   6.0508 ] Packing sdram param for instance[3]
[   6.0509 ] Packing sdram param for instance[4]
[   6.0511 ] Packing sdram param for instance[5]
[   6.0512 ] Packing sdram param for instance[6]
[   6.0514 ] Packing sdram param for instance[7]
[   6.0516 ] Packing sdram param for instance[8]
[   6.0518 ] Packing sdram param for instance[9]
[   6.0519 ] Packing sdram param for instance[10]
[   6.0521 ] Packing sdram param for instance[11]
[   6.0523 ] Packing sdram param for instance[12]
[   6.0524 ] Packing sdram param for instance[13]
[   6.0526 ] Packing sdram param for instance[14]
[   6.0527 ] Packing sdram param for instance[15]
[   6.1563 ] Reading ramcode from backup chip_info.bin file
[   6.1564 ] RAMCODE Read from Device: 3

[   6.1564 ] Using ramcode 0
[   6.1564 ] Disabled BPMP dtb trim, using default dtb
[   6.1564 ] 
[   6.1580 ] tegrahost_v2 --chip 0x23 0 --align mem_rcm_aligned.bct
[   6.1600 ] tegrahost_v2 --chip 0x23 0 --magicid MEM0 --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm_aligned.bct zerosbk
[   6.1610 ] adding BCH for mem_rcm_aligned.bct
[   6.1644 ] tegrasign_v3.py --key None --list mem_rcm_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   6.1646 ] Assuming zero filled SBK key
[   6.1664 ] Warning: pub_key.key is not found
[   6.1667 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mem_rcm_aligned_sigheader.bct.encrypt mem_rcm_aligned_sigheader.bct.hash zerosbk
[   6.1713 ] Copying signatures
[   6.1730 ] tegrahost_v2 --chip 0x23 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   6.4243 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[   6.4251 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[   6.4252 ] Boot Rom communication
[   6.4290 ] 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
[   6.4302 ] BR_CID: 0x80012344705DE5D1200000000D020240
[   6.4610 ] Sending bct_br
[   6.5042 ] Sending mb1
[   6.5048 ] Sending psc_bl1
[   6.5151 ] Sending bct_mb1
[   6.5225 ] Boot Rom communication completed
[   6.5226 ] Generating blob for T23x
[   6.5295 ] tegrahost_v2 --chip 0x23 0 --align blob_uefi_jetson_with_dtb_aligned.bin
[   6.5368 ] tegrahost_v2 --chip 0x23 0 --magicid CPBL --ratchet_blob ratchet_blob.bin --appendsigheader blob_uefi_jetson_with_dtb_aligned.bin zerosbk
[   6.5431 ] adding BCH for blob_uefi_jetson_with_dtb_aligned.bin
[   6.6608 ] tegrasign_v3.py --key None --list blob_uefi_jetson_with_dtb_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[   6.6613 ] Assuming zero filled SBK key
[   6.6895 ] Warning: pub_key.key is not found
[   6.6939 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_uefi_jetson_with_dtb_aligned_sigheader.bin.encrypt blob_uefi_jetson_with_dtb_aligned_sigheader.bin.hash zerosbk
[   6.7163 ] Get magic id
[   6.7202 ] tegraparser_v2 --get_magic psc_fw
[   6.7250 ] PFWP
[   6.7258 ] partition type psc_fw, magic id = PFWP
[   6.7349 ] tegrahost_v2 --chip 0x23 0 --align blob_pscfw_t234_prod_aligned.bin
[   6.7397 ] tegrahost_v2 --chip 0x23 0 --magicid PFWP --ratchet_blob ratchet_blob.bin --appendsigheader blob_pscfw_t234_prod_aligned.bin zerosbk
[   6.7408 ] Header already present for blob_pscfw_t234_prod_aligned.bin
[   6.7501 ] tegrasign_v3.py --key None --list blob_pscfw_t234_prod_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[   6.7505 ] Assuming zero filled SBK key
[   6.7595 ] Warning: pub_key.key is not found
[   6.7631 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_pscfw_t234_prod_aligned_sigheader.bin.encrypt blob_pscfw_t234_prod_aligned_sigheader.bin.hash zerosbk
[   6.7717 ] Get magic id
[   6.7731 ] tegraparser_v2 --get_magic mts_mce
[   6.7743 ] MTSM
[   6.7743 ] 
[   6.7744 ] partition type mts_mce, magic id = MTSM
[   6.7758 ] tegrahost_v2 --chip 0x23 0 --align blob_mce_flash_o10_cr_prod_aligned.bin
[   6.7780 ] tegrahost_v2 --chip 0x23 0 --magicid MTSM --ratchet_blob ratchet_blob.bin --appendsigheader blob_mce_flash_o10_cr_prod_aligned.bin zerosbk
[   6.7801 ] Header already present for blob_mce_flash_o10_cr_prod_aligned.bin
[   6.7861 ] tegrasign_v3.py --key None --list blob_mce_flash_o10_cr_prod_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[   6.7873 ] Assuming zero filled SBK key
[   6.7959 ] Warning: pub_key.key is not found
[   6.7981 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_mce_flash_o10_cr_prod_aligned_sigheader.bin.encrypt blob_mce_flash_o10_cr_prod_aligned_sigheader.bin.hash zerosbk
[   6.8047 ] Get magic id
[   6.8063 ] tegraparser_v2 --get_magic mb2_applet
[   6.8076 ] MB2A
[   6.8076 ] 
[   6.8076 ] partition type mb2_applet, magic id = MB2A
[   6.8094 ] tegrahost_v2 --chip 0x23 0 --align blob_applet_t234_aligned.bin
[   6.8118 ] tegrahost_v2 --chip 0x23 0 --magicid MB2A --ratchet_blob ratchet_blob.bin --appendsigheader blob_applet_t234_aligned.bin zerosbk
[   6.8150 ] adding BCH for blob_applet_t234_aligned.bin
[   6.8322 ] tegrasign_v3.py --key None --list blob_applet_t234_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[   6.8325 ] Assuming zero filled SBK key
[   6.8366 ] Warning: pub_key.key is not found
[   6.8373 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_applet_t234_aligned_sigheader.bin.encrypt blob_applet_t234_aligned_sigheader.bin.hash zerosbk
[   6.8408 ] Generating recovery mb2-bct
[   6.8408 ] tegrabct_v2 --chip 0x23 0 --mb2bct mb2_bct.cfg --recov --mb2bctcfg tegra234-mb2-bct-misc-p3701-0000_cpp.dtb --scr tegra234-mb2-bct-scr-p3701-0000_cpp.dtb
[   6.8418 ] WARNING: unknown property 'tfc_version'
[   6.8431 ] WARNING: unknown property 'addr_header_version'
[   6.8572 ] Updating mb2-bct with storage information
[   6.8621 ] tegrabct_v2 --chip 0x23 0 --mb2bct mb2_bct_MB2.bct --updatestorageinfo flash.xml.bin
[   6.8662 ] Concatenating mb2-bct to mb2 binary
[   6.8662 ] mb2_bin_file = mb2_t234.bin
[   6.8662 ] mb2_bct_file = mb2_bct_MB2.bct
[   6.8675 ] Get magic id
[   6.8690 ] tegraparser_v2 --get_magic mb2_bootloader
[   6.8702 ] MB2B
[   6.8702 ] 
[   6.8702 ] partition type mb2_bootloader, magic id = MB2B
[   6.8718 ] tegrahost_v2 --chip 0x23 0 --align blob_mb2_t234_with_mb2_bct_MB2_aligned.bin
[   6.8740 ] tegrahost_v2 --chip 0x23 0 --magicid MB2B --ratchet_blob ratchet_blob.bin --appendsigheader blob_mb2_t234_with_mb2_bct_MB2_aligned.bin zerosbk
[   6.8750 ] adding BCH for blob_mb2_t234_with_mb2_bct_MB2_aligned.bin
[   6.8973 ] tegrasign_v3.py --key None --list blob_mb2_t234_with_mb2_bct_MB2_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[   6.8981 ] Assuming zero filled SBK key
[   6.9046 ] Warning: pub_key.key is not found
[   6.9052 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_mb2_t234_with_mb2_bct_MB2_aligned_sigheader.bin.encrypt blob_mb2_t234_with_mb2_bct_MB2_aligned_sigheader.bin.hash zerosbk
[   6.9080 ] Get magic id
[   6.9089 ] tegraparser_v2 --get_magic xusb_fw
[   6.9102 ] XUSB
[   6.9102 ] 
[   6.9102 ] partition type xusb_fw, magic id = XUSB
[   6.9117 ] tegrahost_v2 --chip 0x23 0 --align blob_xusb_t234_prod_aligned.bin
[   6.9164 ] tegrahost_v2 --chip 0x23 0 --magicid XUSB --ratchet_blob ratchet_blob.bin --appendsigheader blob_xusb_t234_prod_aligned.bin zerosbk
[   6.9206 ] adding BCH for blob_xusb_t234_prod_aligned.bin
[   6.9374 ] tegrasign_v3.py --key None --list blob_xusb_t234_prod_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[   6.9379 ] Assuming zero filled SBK key
[   6.9458 ] Warning: pub_key.key is not found
[   6.9486 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_xusb_t234_prod_aligned_sigheader.bin.encrypt blob_xusb_t234_prod_aligned_sigheader.bin.hash zerosbk
[   6.9516 ] Kernel DTB used: kernel_tegra234-umc-gpgpu.dtb
[   6.9517 ] Concatenating kernel-dtb to dce-fw binary
[   6.9517 ] dce_bin = display-t234-dce.bin
[   6.9517 ] kernel_dtb = kernel_tegra234-umc-gpgpu.dtb
[   6.9517 ] dce_with_dtb = display-t234-dce_with_kernel_tegra234-umc-gpgpu.bin
[   6.9929 ] Get magic id
[   6.9947 ] tegraparser_v2 --get_magic dce_fw
[   6.9961 ] DCEF
[   6.9961 ] 
[   6.9961 ] partition type dce_fw, magic id = DCEF
[   7.0088 ] tegrahost_v2 --chip 0x23 0 --align blob_display-t234-dce_with_kernel_tegra234-umc-gpgpu_aligned.bin
[   7.0108 ] tegrahost_v2 --chip 0x23 0 --magicid DCEF --ratchet_blob ratchet_blob.bin --appendsigheader blob_display-t234-dce_with_kernel_tegra234-umc-gpgpu_aligned.bin zerosbk
[   7.0118 ] adding BCH for blob_display-t234-dce_with_kernel_tegra234-umc-gpgpu_aligned.bin
[   7.3644 ] tegrasign_v3.py --key None --list blob_display-t234-dce_with_kernel_tegra234-umc-gpgpu_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[   7.3652 ] Assuming zero filled SBK key
[   7.4103 ] Warning: pub_key.key is not found
[   7.4153 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_display-t234-dce_with_kernel_tegra234-umc-gpgpu_aligned_sigheader.bin.encrypt blob_display-t234-dce_with_kernel_tegra234-umc-gpgpu_aligned_sigheader.bin.hash zerosbk
[   7.4782 ] Get magic id
[   7.4797 ] tegraparser_v2 --get_magic nvdec
[   7.4808 ] NDEC
[   7.4808 ] 
[   7.4809 ] partition type nvdec, magic id = NDEC
[   7.4823 ] tegrahost_v2 --chip 0x23 0 --align blob_nvdec_t234_prod_aligned.fw
[   7.4843 ] tegrahost_v2 --chip 0x23 0 --magicid NDEC --ratchet_blob ratchet_blob.bin --appendsigheader blob_nvdec_t234_prod_aligned.fw zerosbk
[   7.4853 ] Header already present for blob_nvdec_t234_prod_aligned.fw
[   7.4925 ] tegrasign_v3.py --key None --list blob_nvdec_t234_prod_aligned_sigheader.fw_list.xml --pubkeyhash pub_key.key --sha sha512
[   7.4928 ] Assuming zero filled SBK key
[   7.4954 ] Warning: pub_key.key is not found
[   7.4962 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_nvdec_t234_prod_aligned_sigheader.fw.encrypt blob_nvdec_t234_prod_aligned_sigheader.fw.hash zerosbk
[   7.5009 ] Get magic id
[   7.5053 ] tegraparser_v2 --get_magic bpmp_fw
[   7.5095 ] BPMF
[   7.5095 ] 
[   7.5096 ] partition type bpmp_fw, magic id = BPMF
[   7.5182 ] tegrahost_v2 --chip 0x23 0 --align blob_bpmp_t234-TE990M-A1_prod_aligned.bin
[   7.5213 ] tegrahost_v2 --chip 0x23 0 --magicid BPMF --ratchet_blob ratchet_blob.bin --appendsigheader blob_bpmp_t234-TE990M-A1_prod_aligned.bin zerosbk
[   7.5235 ] Header already present for blob_bpmp_t234-TE990M-A1_prod_aligned.bin
[   7.5516 ] tegrasign_v3.py --key None --list blob_bpmp_t234-TE990M-A1_prod_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[   7.5520 ] Assuming zero filled SBK key
[   7.5621 ] Warning: pub_key.key is not found
[   7.5671 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_bpmp_t234-TE990M-A1_prod_aligned_sigheader.bin.encrypt blob_bpmp_t234-TE990M-A1_prod_aligned_sigheader.bin.hash zerosbk
[   7.5728 ] Using bpmp-dtb concatenated with odmdata in blob
[   7.5729 ] Get magic id
[   7.5744 ] tegraparser_v2 --get_magic bpmp_fw_dtb
[   7.5758 ] BPMD
[   7.5758 ] 
[   7.5758 ] partition type bpmp_fw_dtb, magic id = BPMD
[   7.5774 ] tegrahost_v2 --chip 0x23 0 --align blob_tegra234-bpmp-3701-0005-3737-0000_with_odm_aligned.dtb
[   7.5810 ] tegrahost_v2 --chip 0x23 0 --magicid BPMD --ratchet_blob ratchet_blob.bin --appendsigheader blob_tegra234-bpmp-3701-0005-3737-0000_with_odm_aligned.dtb zerosbk
[   7.5845 ] adding BCH for blob_tegra234-bpmp-3701-0005-3737-0000_with_odm_aligned.dtb
[   7.5979 ] tegrasign_v3.py --key None --list blob_tegra234-bpmp-3701-0005-3737-0000_with_odm_aligned_sigheader.dtb_list.xml --pubkeyhash pub_key.key --sha sha512
[   7.5982 ] Assuming zero filled SBK key
[   7.6010 ] Warning: pub_key.key is not found
[   7.6030 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_tegra234-bpmp-3701-0005-3737-0000_with_odm_aligned_sigheader.dtb.encrypt blob_tegra234-bpmp-3701-0005-3737-0000_with_odm_aligned_sigheader.dtb.hash zerosbk
[   7.6053 ] Get magic id
[   7.6071 ] tegraparser_v2 --get_magic sce_fw
[   7.6083 ] SCEF
[   7.6083 ] 
[   7.6083 ] partition type sce_fw, magic id = SCEF
[   7.6125 ] tegrahost_v2 --chip 0x23 0 --align blob_camera-rtcpu-sce_aligned.img
[   7.6261 ] tegrahost_v2 --chip 0x23 0 --magicid SCEF --ratchet_blob ratchet_blob.bin --appendsigheader blob_camera-rtcpu-sce_aligned.img zerosbk
[   7.6289 ] adding BCH for blob_camera-rtcpu-sce_aligned.img
[   7.6389 ] tegrasign_v3.py --key None --list blob_camera-rtcpu-sce_aligned_sigheader.img_list.xml --pubkeyhash pub_key.key --sha sha512
[   7.6403 ] Assuming zero filled SBK key
[   7.6531 ] Warning: pub_key.key is not found
[   7.6601 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_camera-rtcpu-sce_aligned_sigheader.img.encrypt blob_camera-rtcpu-sce_aligned_sigheader.img.hash zerosbk
[   7.6728 ] Get magic id
[   7.6780 ] tegraparser_v2 --get_magic rce_fw
[   7.6807 ] RCEF
[   7.6833 ] partition type rce_fw, magic id = RCEF
[   7.6904 ] tegrahost_v2 --chip 0x23 0 --align blob_camera-rtcpu-t234-rce_aligned.img
[   7.7050 ] tegrahost_v2 --chip 0x23 0 --magicid RCEF --ratchet_blob ratchet_blob.bin --appendsigheader blob_camera-rtcpu-t234-rce_aligned.img zerosbk
[   7.7077 ] adding BCH for blob_camera-rtcpu-t234-rce_aligned.img
[   7.7515 ] tegrasign_v3.py --key None --list blob_camera-rtcpu-t234-rce_aligned_sigheader.img_list.xml --pubkeyhash pub_key.key --sha sha512
[   7.7523 ] Assuming zero filled SBK key
[   7.7647 ] Warning: pub_key.key is not found
[   7.7701 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_camera-rtcpu-t234-rce_aligned_sigheader.img.encrypt blob_camera-rtcpu-t234-rce_aligned_sigheader.img.hash zerosbk
[   7.7734 ] Get magic id
[   7.7746 ] tegraparser_v2 --get_magic ape_fw
[   7.7757 ] APEF
[   7.7758 ] 
[   7.7758 ] partition type ape_fw, magic id = APEF
[   7.7774 ] tegrahost_v2 --chip 0x23 0 --align blob_adsp-fw_aligned.bin
[   7.7829 ] tegrahost_v2 --chip 0x23 0 --magicid APEF --ratchet_blob ratchet_blob.bin --appendsigheader blob_adsp-fw_aligned.bin zerosbk
[   7.7869 ] adding BCH for blob_adsp-fw_aligned.bin
[   7.8109 ] tegrasign_v3.py --key None --list blob_adsp-fw_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[   7.8112 ] Assuming zero filled SBK key
[   7.8177 ] Warning: pub_key.key is not found
[   7.8211 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_adsp-fw_aligned_sigheader.bin.encrypt blob_adsp-fw_aligned_sigheader.bin.hash zerosbk
[   7.8258 ] Get magic id
[   7.8376 ] tegraparser_v2 --get_magic spe_fw
[   7.8423 ] SPEF
[   7.8424 ] 
[   7.8424 ] partition type spe_fw, magic id = SPEF
[   7.8446 ] tegrahost_v2 --chip 0x23 0 --align blob_spe_t234_aligned.bin
[   7.8472 ] tegrahost_v2 --chip 0x23 0 --magicid SPEF --ratchet_blob ratchet_blob.bin --appendsigheader blob_spe_t234_aligned.bin zerosbk
[   7.8484 ] adding BCH for blob_spe_t234_aligned.bin
[   7.8692 ] tegrasign_v3.py --key None --list blob_spe_t234_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[   7.8694 ] Assuming zero filled SBK key
[   7.8846 ] Warning: pub_key.key is not found
[   7.8883 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_spe_t234_aligned_sigheader.bin.encrypt blob_spe_t234_aligned_sigheader.bin.hash zerosbk
[   7.8985 ] Get magic id
[   7.9052 ] tegraparser_v2 --get_magic tos
[   7.9068 ] TOSB
[   7.9068 ] 
[   7.9068 ] partition type tos, magic id = TOSB
[   7.9092 ] tegrahost_v2 --chip 0x23 0 --align blob_tos-optee_t234_aligned.img
[   7.9114 ] tegrahost_v2 --chip 0x23 0 --magicid TOSB --ratchet_blob ratchet_blob.bin --appendsigheader blob_tos-optee_t234_aligned.img zerosbk
[   7.9128 ] adding BCH for blob_tos-optee_t234_aligned.img
[   7.9598 ] tegrasign_v3.py --key None --list blob_tos-optee_t234_aligned_sigheader.img_list.xml --pubkeyhash pub_key.key --sha sha512
[   7.9601 ] Assuming zero filled SBK key
[   7.9689 ] Warning: pub_key.key is not found
[   7.9709 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_tos-optee_t234_aligned_sigheader.img.encrypt blob_tos-optee_t234_aligned_sigheader.img.hash zerosbk
[   7.9749 ] Get magic id
[   7.9761 ] tegraparser_v2 --get_magic eks
[   7.9771 ] EKSB
[   7.9771 ] 
[   7.9771 ] partition type eks, magic id = EKSB
[   7.9783 ] tegrahost_v2 --chip 0x23 0 --align blob_eks_t234_aligned.img
[   7.9817 ] tegrahost_v2 --chip 0x23 0 --magicid EKSB --ratchet_blob ratchet_blob.bin --appendsigheader blob_eks_t234_aligned.img zerosbk
[   7.9837 ] adding BCH for blob_eks_t234_aligned.img
[   7.9862 ] tegrasign_v3.py --key None --list blob_eks_t234_aligned_sigheader.img_list.xml --pubkeyhash pub_key.key --sha sha512
[   7.9865 ] Assuming zero filled SBK key
[   7.9928 ] Warning: pub_key.key is not found
[   7.9971 ] tegrahost_v2 --chip 0x23 0 --updatesigheader blob_eks_t234_aligned_sigheader.img.encrypt blob_eks_t234_aligned_sigheader.img.hash zerosbk
[   8.0049 ] tegrahost_v2 --chip 0x23 0 --generateblob blob.xml blob.bin
[   8.0060 ] The number of images in blob is 16
[   8.0063 ] blobsize is 18076224
[   8.0064 ] Added binary blob_uefi_jetson_with_dtb_sigheader.bin.encrypt of size 3092544
[   8.0183 ] Added binary blob_pscfw_t234_prod_sigheader.bin.encrypt of size 375168
[   8.0211 ] Added binary blob_mce_flash_o10_cr_prod_sigheader.bin.encrypt of size 190592
[   8.0216 ] Added binary blob_applet_t234_sigheader.bin.encrypt of size 277312
[   8.0220 ] Not supported type: mb2_applet
[   8.0222 ] Added binary blob_mb2_t234_with_mb2_bct_MB2_sigheader.bin.encrypt of size 438768
[   8.0227 ] Added binary blob_xusb_t234_prod_sigheader.bin.encrypt of size 164864
[   8.0231 ] Added binary blob_display-t234-dce_with_kernel_tegra234-umc-gpgpu_sigheader.bin.encrypt of size 9537216
[   8.0400 ] Added binary blob_nvdec_t234_prod_sigheader.fw.encrypt of size 294912
[   8.0436 ] Added binary blob_bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt of size 1051136
[   8.0459 ] Added binary blob_tegra234-bpmp-3701-0005-3737-0000_with_odm_sigheader.dtb.encrypt of size 140352
[   8.0464 ] Added binary blob_camera-rtcpu-sce_sigheader.img.encrypt of size 166304
[   8.0467 ] Added binary blob_camera-rtcpu-t234-rce_sigheader.img.encrypt of size 537952
[   8.0471 ] Added binary blob_adsp-fw_sigheader.bin.encrypt of size 400864
[   8.0474 ] Added binary blob_spe_t234_sigheader.bin.encrypt of size 270336
[   8.0478 ] Added binary blob_tos-optee_t234_sigheader.img.encrypt of size 1127568
[   8.0482 ] Added binary blob_eks_t234_sigheader.img.encrypt of size 9232
[   8.0683 ] Sending membct and RCM blob
[   8.0737 ] tegrarcm_v2 --chip 0x23 0 --pollbl --download bct_mem mem_rcm_sigheader.bct.encrypt --download blob blob.bin
[   8.0774 ] BL: version 1.2.0.0-t234-54845784-562369e5 last_boot_error: 0
[   8.1053 ] Sending bct_mem
[   8.1522 ] Sending blob
[   9.3303 ] completed
[  10.3347 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[  10.3747 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[  10.3761 ] MB2 version 01.00.0000
[  10.4062 ] Erasing partition
[  10.4400 ] tegradevflash_v2 --erase APP
[  10.4415 ] Bootloader version 01.00.0000
[  10.4718 ] [Done]
[  11.4352 ] Writing partition
[  11.4383 ] tegradevflash_v2 --write APP /home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/system.img
[  11.4396 ] Bootloader version 01.00.0000
[  11.4659 ] Writing partition APP with /home/jimmy/Downloads/nvidia/hw/Auto2/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS_ENG5/Linux_for_Tegra/bootloader/system.img [ 8107775020 bytes ]
[  11.4670 ] [                                                ] 000%

Please provide the log as file here instead of pasting whole content for better reading.

And share your partition layout file (flash_t234_qspi_sdmmc.xml) for further check.

Here is the flash log from the host PC:

log_flash.txt (74.1 KB)

It freezes when ‘NV3P_SERVER: Could not write 1048576 bytes.’ is displayed on the SoM’s minicom terminal (shown in previous comments).

Also here is the flash_t234_qspi_sdmmc.xml (changed to flash_t234_qspi_sdmmc.xml.log so it would upload)

flash_t234_qspi_sdmmc.xml.log (38.1 KB)

Here is also the successful log from when the image was created using this command while the SoM is in force recovery mode:
sudo ./flash.sh -r -k APP -G system-09042024.img auto2-gpgpu mmcblk0p1

log_backup.txt (4.0 MB)

It seems you have partition size issue during restoring.
Please modify the following line in partition layout to check if it could help.

        <partition name="APP" id="1" type="data">
            <allocation_policy> sequential </allocation_policy>
            <filesystem_type> basic </filesystem_type>
            <size> APPSIZE </size>
            <file_system_attribute> 0 </file_system_attribute>
-            <allocation_attribute> 0x8 </allocation_attribute>
+            <allocation_attribute> 0x808 </allocation_attribute>
            <align_boundary> 16384 </align_boundary>
            <percent_reserved> 0 </percent_reserved>
            <unique_guid> APPUUID </unique_guid>
            <filename> APPFILE </filename>
            <description> **Required.** Contains the rootfs. This partition must be assigned
              the "1" for id as it is physically put to the end of the device, so that it
              can be accessed as the fixed known special device `/dev/mmcblk0p1`. </description>
        </partition>
1 Like

Thanks! The 0x808 change fixed by issue. I am able to backup an Orin SoM and flash that image onto a different SoM.

What caused this issue? I checked my JetPack 4.6.3 and Xavier 5.1.2 source files and both have the 0x8 value same as the Orin file. How do those releases (JP 4.6.3 & Xavier 5.1.2) work then?

0x808 is used to allow the change in rootfs size so that I suspect the APP partition and the system.img.raw are different before flash. Actually, you can also use -S <rootfs size> to specify the exact size for APP partition.

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