Jetpack 6 custom flash issue

Hi, I’m using devkit Orin NX(16G) board to flash our custom kernel.

I followed Kernel Customization — NVIDIA Jetson Linux Developer Guide

to rebuild kernel、dtb and modules, update the initrd img. But when I started flash to my board, it get these err message.

csp@csp:/HDD/xinhao/IIPB/Linux_for_Tegra$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit-super internal
Please install the Secureboot package to use initrd flash for fused board
# Entry added by NVIDIA initrd flash tool
/HDD/xinhao/IIPB/Linux_for_Tegra/tools/kernel_flash/tmp 127.0.0.1(rw,nohide,insecure,no_subtree_check,async,no_root_squash)
rpcbind: another rpcbind is already running. Aborting
Export list for localhost:
/HDD/xinhao/IIPB/Linux_for_Tegra/tools/kernel_flash/tmp 127.0.0.1
15:19:28.457 - Debug: Checking UFW status and NFS port rules...
15:19:28.494 - Debug: UFW is not active. NFS port is accessible.
15:19:28.495 - Debug: Checking VPN connections...
15:19:28.497 - Debug: IPSec service is not running.
15:19:28.498 - Debug: VPN routes none in tun|tap|ppp|vpn|gpd.
15:19:28.499 - Debug: No VPN connection detected.
/HDD/xinhao/IIPB/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --no-flash --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p -c bootloader/generic/cfg/flash_t234_qspi.xml --showlogs --network usb0 jetson-orin-nano-devkit-super internal
************************************
*                                  *
*  Step 1: Generate flash packages *
*                                  *
************************************
Create folder to store images to flash
Generate image for internal storage devices
/HDD/xinhao/IIPB/Linux_for_Tegra/tools/kernel_flash/l4t_create_images_for_kernel_flash.sh: line 516: [: : integer expression expected
Generate images to be flashed
ADDITIONAL_DTB_OVERLAY=""  /HDD/xinhao/IIPB/Linux_for_Tegra/flash.sh --no-flash --sign  -c bootloader/generic/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit-super internal

###############################################################################
# L4T BSP Information:
# R36 , REVISION: 4.4
# User release: 0.0
###############################################################################
ECID is 0x80012344705DF6C86C00000008FF8040
copying device_config(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-device-p3767-0000.dts)... done.
copying misc_config(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)... done.
copying emc_fuse_dev_params(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-br-bct-diag-boot.dts)... done.
copying minratchet_config(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-ratchet-p3767-0000.dts)... done.
Existing emcfuse(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/fuse_t234.xml) reused.
./tegraflash.py --chip "0x23" --applet "/HDD/xinhao/IIPB/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" --minratchet_config tegra234-mb1-bct-ratchet-p3767-0000.dts --cmd "readfuses fuse_t234.bin fuse_t234.xml; dump eeprom cvm cvm.bin; dump try_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.0090 ] Reading fuses
[   0.0102 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0103 ] Assuming zero filled SBK key
[   0.0100 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts
[   0.0153 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts
[   0.0226 ] Pre-processing config: tegra234-mb1-bct-ratchet-p3767-0000.dts
[   0.0272 ] Parsing partition layout
[   0.0274 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[   0.0282 ] Kernel DTB used: None
[   0.0282 ] WARNING: dce base dtb is not provided

[   0.0282 ] Parsing partition layout
[   0.0285 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[   0.0289 ] Creating list of images to be signed
[   0.0292 ] Generating ratchet blob
[   0.0293 ] Generating coldboot mb1-bct
[   0.0296 ] 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 --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   0.0298 ] MB1-BCT version: 0.13

[   0.0311 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[   0.0314 ] Added Platform Config 9 data with size :- 100
[   0.0314 ]
[   0.0314 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb
[   0.0314 ]
[   0.0314 ] Updating mb1-bct with firmware information
[   0.0317 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[   0.0329 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[   0.0332 ] Generating SHA2 Hash for mb1bct
[   0.0342 ] Sha saved in mb1_cold_boot_bct_MB1_aligned.sha
[   0.0348 ] Sha saved in mb1_cold_boot_bct_MB1.sha
[   0.0347 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[   0.0349 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   0.0359 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.0360 ] Assuming zero filled SBK key
[   0.0369 ] Warning: pub_key.key is not found
[   0.0368 ] 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.0375 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[   0.0378 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[   0.0386 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[   0.0388 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[   0.0424 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[   0.0434 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[   0.0468 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[   0.0470 ] adding BCH for mb2_t234_aligned.bin
[   0.0490 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[   0.0546 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[   0.0547 ] adding BCH for mb2_t234_aligned.bin
[   0.0617 ] Filling MB1 storage info
[   0.0617 ] Parsing dev params for multi chains
[   0.0665 ] Generating br-bct
[   0.0668 ] Updating dev and MSS params in BR BCT
[   0.0668 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   0.0672 ] Updating bl info
[   0.0674 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin
[   0.0675 ] WARNING: boot chain is not completed. set to 0
[   0.0684 ] Generating signatures
[   0.0688 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.0689 ] Assuming zero filled SBK key
[   0.0744 ] Warning: pub_key.key is not found
[   0.0741 ] Parsing dev params for multi chains
[   0.0741 ] Generating br-bct
[   0.0743 ] Updating dev and MSS params in BR BCT
[   0.0743 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[   0.0747 ] Updating bl info
[   0.0748 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[   0.0749 ] WARNING: boot chain is not completed. set to 0
[   0.0760 ] Generating SHA2 Hash
[   0.0770 ] Sha saved in br_bct_BR.sha
[   0.0766 ] Get Signed section of bct
[   0.0769 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[   0.0773 ] Signing BCT
[   0.0777 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.0778 ] Assuming zero filled SBK key
[   0.0791 ] Sha saved in br_bct_BR.sha
[   0.0793 ] Warning: pub_key.key is not found
[   0.0789 ] Updating BCT with signature
[   0.0792 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml
[   0.0794 ] Offset :4608 Len :3584
[   0.0799 ] Generating SHA2 Hash
[   0.0803 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[   0.0804 ] Assuming zero filled SBK key
[   0.0804 ] Assuming zero filled SBK key
[   0.0818 ] Sha saved in br_bct_BR.sha
[   0.0816 ] Updating BCT with SHA2 Hash
[   0.0818 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[   0.0820 ] Offset :4608 Len :3584
[   0.0823 ] Offset :68 Len :8124
[   0.0825 ] Generating coldboot mb1-bct
[   0.0827 ] 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 --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   0.0830 ] MB1-BCT version: 0.13

[   0.0843 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[   0.0844 ] Added Platform Config 9 data with size :- 100
[   0.0845 ]
[   0.0845 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb
[   0.0845 ]
[   0.0845 ] Updating mb1-bct with firmware information
[   0.0847 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[   0.0857 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[   0.0860 ] Generating SHA2 Hash for mb1bct
[   0.0870 ] Sha saved in mb1_cold_boot_bct_MB1_aligned.sha
[   0.0877 ] Sha saved in mb1_cold_boot_bct_MB1.sha
[   0.0875 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[   0.0876 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   0.0887 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.0887 ] Assuming zero filled SBK key
[   0.0894 ] Warning: pub_key.key is not found
[   0.0893 ] 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.0898 ] Generating recovery mb1-bct
[   0.0899 ] 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 --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[   0.0901 ] MB1-BCT version: 0.13

[   0.0919 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[   0.0920 ] Added Platform Config 9 data with size :- 100
[   0.0921 ]
[   0.0921 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb
[   0.0921 ]
[   0.0921 ] Updating mb1-bct with firmware information
[   0.0923 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin
[   0.0932 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[   0.0934 ] Generating SHA2 Hash for mb1bct
[   0.0942 ] Sha saved in mb1_bct_MB1_aligned.sha
[   0.0946 ] Sha saved in mb1_bct_MB1.sha
[   0.0944 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[   0.0946 ] adding BCH for mb1_bct_MB1_aligned.bct
[   0.0955 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.0956 ] Assuming zero filled SBK key
[   0.0965 ] Warning: pub_key.key is not found
[   0.0964 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[   0.0970 ] Info: Skip generating mem_bct because sdram_config is not defined
[   0.0970 ] Info: Skip generating mem_bct because sdram_config is not defined
[   0.0970 ] Copying signatures
[   0.0974 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[   0.1023 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[   0.1024 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[   0.1024 ] Boot Rom communication
[   0.1027 ] 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.1029 ] BR_CID: 0x80012344705DF6C86C00000008FF8040
[   0.1037 ] Sending bct_br
[   0.1037 ] Sending mb1
[   0.1042 ] Sending psc_bl1
[   0.1170 ] Sending bct_mb1
[   0.1239 ] Boot Rom communication completed
[   0.1243 ] tegrahost_v2 --chip 0x23 0 --align applet_t234_aligned.bin
[   0.1246 ] tegrahost_v2 --chip 0x23 0 --magicid MB2A --ratchet_blob ratchet_blob.bin --appendsigheader applet_t234_aligned.bin zerosbk
[   0.1248 ] adding BCH for applet_t234_aligned.bin
[   0.1319 ] tegrasign_v3.py --key None --list applet_t234_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[   0.1320 ] Assuming zero filled SBK key
[   0.1334 ] Warning: pub_key.key is not found
[   0.1333 ] tegrahost_v2 --chip 0x23 0 --updatesigheader applet_t234_aligned_sigheader.bin.encrypt applet_t234_aligned_sigheader.bin.hash zerosbk
[   0.1344 ] Sending mb2_applet...

[   0.1346 ] tegrarcm_v2 --chip 0x23 0 --pollbl --download applet applet_t234_sigheader.bin.encrypt
[   0.1349 ] BL: version 1.4.0.4-t234-54845784-e89ea9bc last_boot_error: 0
[   0.3492 ] Sending applet
[   0.4547 ] completed
[   0.4552 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   0.4555 ] MB2 Applet version 01.00.0000
[   0.6426 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   0.6428 ] MB2 Applet version 01.00.0000
[   0.6454 ] Parsing fuse info as per xml file
[   0.6457 ] tegraparser_v2 --chip 0x23 0 --get_fuse_names fuse_t234.xml read_fuse_names.txt
[   0.6459 ] MagicId=0x45535546 version=0x2
[   0.6461 ] trying to read fuse with MB2 Applet
[   0.6466 ] tegraparser_v2 --chip 0x23 0 --read_fusetype PublicKeyHash read_fuse.bin
[   0.6470 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.6471 ] MB2 Applet version 01.00.0000
[   0.6496 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.6561 ] Fuse read successful
[   0.6572 ] tegraparser_v2 --chip 0x23 0 --read_fusetype PkcPubkeyHash1 read_fuse.bin
[   0.6576 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.6577 ] MB2 Applet version 01.00.0000
[   0.6601 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.6659 ] Fuse read successful
[   0.6671 ] tegraparser_v2 --chip 0x23 0 --read_fusetype PkcPubkeyHash2 read_fuse.bin
[   0.6678 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.6680 ] MB2 Applet version 01.00.0000
[   0.6705 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.6764 ] Fuse read successful
[   0.6775 ] tegraparser_v2 --chip 0x23 0 --read_fusetype BootSecurityInfo read_fuse.bin
[   0.6779 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.6780 ] MB2 Applet version 01.00.0000
[   0.6804 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.6864 ] Fuse read successful
[   0.6875 ] tegraparser_v2 --chip 0x23 0 --read_fusetype ArmJtagDisable read_fuse.bin
[   0.6881 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.6885 ] MB2 Applet version 01.00.0000
[   0.6908 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.6968 ] Fuse read successful
[   0.6980 ] tegraparser_v2 --chip 0x23 0 --read_fusetype SecurityMode read_fuse.bin
[   0.6986 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.6988 ] MB2 Applet version 01.00.0000
[   0.7013 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.7072 ] Fuse read successful
[   0.7083 ] tegraparser_v2 --chip 0x23 0 --read_fusetype SwReserved read_fuse.bin
[   0.7089 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.7091 ] MB2 Applet version 01.00.0000
[   0.7115 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.7175 ] Fuse read successful
[   0.7186 ] tegraparser_v2 --chip 0x23 0 --read_fusetype DebugAuthentication read_fuse.bin
[   0.7192 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.7194 ] MB2 Applet version 01.00.0000
[   0.7218 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.7277 ] Fuse read successful
[   0.7289 ] tegraparser_v2 --chip 0x23 0 --read_fusetype OdmInfo read_fuse.bin
[   0.7296 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.7298 ] MB2 Applet version 01.00.0000
[   0.7322 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.7381 ] Fuse read successful
[   0.7393 ] tegraparser_v2 --chip 0x23 0 --read_fusetype OdmId read_fuse.bin
[   0.7398 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.7400 ] MB2 Applet version 01.00.0000
[   0.7425 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.7484 ] Fuse read successful
[   0.7496 ] tegraparser_v2 --chip 0x23 0 --read_fusetype OdmLock read_fuse.bin
[   0.7501 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.7505 ] MB2 Applet version 01.00.0000
[   0.7529 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.7588 ] Fuse read successful
[   0.7600 ] tegraparser_v2 --chip 0x23 0 --read_fusetype ReservedOdm0 read_fuse.bin
[   0.7605 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.7606 ] MB2 Applet version 01.00.0000
[   0.7631 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.7692 ] Fuse read successful
[   0.7703 ] tegraparser_v2 --chip 0x23 0 --read_fusetype ReservedOdm1 read_fuse.bin
[   0.7709 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.7711 ] MB2 Applet version 01.00.0000
[   0.7737 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.7796 ] Fuse read successful
[   0.7807 ] tegraparser_v2 --chip 0x23 0 --read_fusetype ReservedOdm2 read_fuse.bin
[   0.7811 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.7813 ] MB2 Applet version 01.00.0000
[   0.7837 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.7896 ] Fuse read successful
[   0.7907 ] tegraparser_v2 --chip 0x23 0 --read_fusetype ReservedOdm3 read_fuse.bin
[   0.7913 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.7915 ] MB2 Applet version 01.00.0000
[   0.7940 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.7999 ] Fuse read successful
[   0.8010 ] tegraparser_v2 --chip 0x23 0 --read_fusetype ReservedOdm4 read_fuse.bin
[   0.8016 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.8017 ] MB2 Applet version 01.00.0000
[   0.8043 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.8103 ] Fuse read successful
[   0.8114 ] tegraparser_v2 --chip 0x23 0 --read_fusetype ReservedOdm5 read_fuse.bin
[   0.8119 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.8121 ] MB2 Applet version 01.00.0000
[   0.8147 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.8205 ] Fuse read successful
[   0.8216 ] tegraparser_v2 --chip 0x23 0 --read_fusetype ReservedOdm6 read_fuse.bin
[   0.8220 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.8221 ] MB2 Applet version 01.00.0000
[   0.8247 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.8307 ] Fuse read successful
[   0.8317 ] tegraparser_v2 --chip 0x23 0 --read_fusetype ReservedOdm7 read_fuse.bin
[   0.8321 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.8322 ] MB2 Applet version 01.00.0000
[   0.8346 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.8406 ] Fuse read successful
[   0.8418 ] tegraparser_v2 --chip 0x23 0 --read_fusetype Sku read_fuse.bin
[   0.8424 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.8426 ] MB2 Applet version 01.00.0000
[   0.8449 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.8508 ] Fuse read successful
[   0.8520 ] tegraparser_v2 --chip 0x23 0 --read_fusetype Uid read_fuse.bin
[   0.8525 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.8527 ] MB2 Applet version 01.00.0000
[   0.8552 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.8611 ] Fuse read successful
[   0.8622 ] tegraparser_v2 --chip 0x23 0 --read_fusetype OptEmcDisable read_fuse.bin
[   0.8628 ] tegrarcm_v2 --oem readfuses __fuse_read_scatter.bin read_fuse.bin
[   0.8630 ] MB2 Applet version 01.00.0000
[   0.8654 ] Saved read fuses in file __fuse_read_scatter.bin
[   0.8713 ] Fuse read successful
[   0.8754 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   0.8755 ] MB2 Applet version 01.00.0000
[   0.8782 ] Retrieving board information
[   0.8784 ] tegrarcm_v2 --chip 0x23 0 --oem platformdetails chip chip_info.bin
[   0.8786 ] MB2 Applet version 01.00.0000
[   0.8811 ] Saved platform info in chip_info.bin
[   0.8867 ] Chip minor revision: 1
[   0.8867 ] Bootrom revision: 0x7
[   0.8868 ] Ram code: 0x1
[   0.8868 ] Chip sku: 0xd3
[   0.8869 ] Chip Sample: prod
[   0.8877 ] Retrieving EEPROM data
[   0.8877 ] tegrarcm_v2 --oem platformdetails eeprom cvm /HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/cvm.bin --chip 0x23 0
[   0.8880 ] MB2 Applet version 01.00.0000
[   0.8904 ] Saved platform info in /HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/cvm.bin
[   0.9277 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   0.9279 ] MB2 Applet version 01.00.0000
[   0.9303 ] Dumping customer Info
[   0.9306 ] tegrarcm_v2 --chip 0x23 0 --oem dump bct tmp.bct
[   0.9308 ] MB2 Applet version 01.00.0000
[   0.9332 ] Saved bct in tmp.bct
[   0.9540 ] tegrabct_v2 --brbct tmp.bct --chip 0x23 0 --custinfo /HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/custinfo_out.bin
[   0.9542 ] C[   0.9546 ] ustomer data saved in /HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/custinfo_out.bin successfully
[   0.9546 ] Rebooting to recovery mode
[   0.9548 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[   0.9576 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[   0.9578 ] MB2 Applet version 01.00.0000
[   0.9601 ] Booting to recovery mode
[   0.9604 ] tegrarcm_v2 --chip 0x23 0 --reboot recovery
[   0.9606 ] MB2 Applet version 01.00.0000
Board ID(3767) version(301) sku(0000) revision(G.1)
Preset RAMCODE is 1
Chip SKU(00:00:00:D3) ramcode(1) fuselevel(fuselevel_production) board_FAB(301)
emc_opt_disable_fuse:(0)
Copy /HDD/xinhao/IIPB/Linux_for_Tegra/kernel/dtb/tegra234-p3768-0000+p3767-0000-nv-super.dtb to /HDD/xinhao/IIPB/Linux_for_Tegra/kernel/dtb/tegra234-p3768-0000+p3767-0000-nv-super.dtb.rec
Generated UUID 2e84909f-a1e0-43ff-af3b-5d5e42039a6b for mounting root APP partition.
copying bctfile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-p3767-0000-sdram-l4t.dts)... done.
copying minratchet_config(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-ratchet-p3767-0000.dts)... done.
copying device_config(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-device-p3767-0000.dts)... done.
copying misc_config(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)... done.
copying pinmux_config(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi)... done.
copying gpioint_config(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-gpioint-p3767-0000.dts)... done.
copying pmic_config(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-pmic-p3767-0000-a02.dts)... done.
copying pmc_config(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-padvoltage-p3767-dp-a03.dtsi)... done.
copying deviceprod_config(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-cprod-p3767-0000.dts)... done.
copying prod_config(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-prod-p3767-0000.dts)... done.
copying scr_config(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb2-bct-scr-p3767-0000.dts)... done.
copying wb0sdram(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-p3767-0000-wb0sdram-l4t.dts)... done.
copying bootrom_config(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-reset-p3767-0000.dts)... done.
Existing uphylane_config(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/tegra234-mb1-bct-uphylane-si.dtsi) reused.
copying dev_params(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-br-bct-p3767-0000-l4t.dts)... done.
copying dev_params_b(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-br-bct_b-p3767-0000-l4t.dts)... done.
copying mb2bct_cfg(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb2-bct-misc-p3767-0000.dts)... done.
Existing pscfwfile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/pscfw_t234_prod.bin) reused.
Existing pscbl1file(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/psc_bl1_t234_prod.bin) reused.
Existing mtsmcefile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/mce_flash_o10_cr_prod.bin) reused.
Existing tscfwfile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/tsec_t234.bin) reused.
Existing mb2applet(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/applet_t234.bin) reused.
Existing bootloader(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.
copying initrd(/HDD/xinhao/IIPB/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...
/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/ramdisk_tmp /HDD/xinhao/IIPB/Linux_for_Tegra/bootloader /HDD/xinhao/IIPB/Linux_for_Tegra
72850 blocks

gzip: /HDD/xinhao/IIPB/Linux_for_Tegra/kernel/Image: not in gzip format
_BASE_KERNEL_VERSION=5.15.148-tegra
cp: cannot stat '/HDD/xinhao/IIPB/Linux_for_Tegra/rootfs/usr/lib/modules/5.15.148-tegra/modules.builtin.alias.bin': No such file or directory
warning: cp -f /HDD/xinhao/IIPB/Linux_for_Tegra/rootfs/usr/lib/modules/5.15.148-tegra/modules.builtin.alias.bin /HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/ramdisk_tmp//lib/modules/5.15.148-tegra/modules.builtin.alias.bin
96478 blocks
Making Recovery image...
copying recdtbfile(/HDD/xinhao/IIPB/Linux_for_Tegra/kernel/dtb/tegra234-p3768-0000+p3767-0000-nv-super.dtb.rec)... done.
20+0 records in
20+0 records out
20 bytes copied, 0.000134191 s, 149 kB/s
Existing sosfile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/mb1_t234_prod.bin) reused.
Existing tegraboot(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.
Existing cpu_bootloader(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.
Existing mb2blfile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.
Existing xusbfile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/xusb_t234_prod.bin) reused.
Existing pvafile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/nvpva_020.fw) reused.
Existing dcefile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/display-t234-dce.bin) reused.
Existing nvdecfile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/nvdec_t234_prod.fw) reused.
Existing psc_rf(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/psc_rf_t234_prod.bin) reused.
Existing mb2_rf(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/mb2rf_t234.bin) reused.
Existing mb1file(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/mb1_t234_prod.bin) reused.
Existing bpffile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/bpmp_t234-TE980M-A1_prod.bin) reused.
copying bpfdtbfile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/tegra234-bpmp-3767-0000-3768-super.dtb)... done.
Existing camerafw(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/camera-rtcpu-t234-rce.img) reused.
Existing apefile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/adsp-fw.bin) reused.
Existing spefile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/spe_t234.bin) reused.
Existing wb0boot(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/sc7_t234_prod.bin) reused.
Existing tosfile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/tos-optee_t234.img) reused.
Existing eksfile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/eks_t234.img) reused.
copying dtbfile(/HDD/xinhao/IIPB/Linux_for_Tegra/kernel/dtb/tegra234-p3768-0000+p3767-0000-nv-super.dtb)... done.
Copying nv_boot_control.conf to rootfs
Skip generating system.img
Not signing of kernel-dtb
Existing tbcfile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/uefi_jetson.bin) reused.
Existing rcm_tbcfile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/uefi_jetson_minimal.bin) reused.
131072+0 records in
131072+0 records out
67108864 bytes (67 MB, 64 MiB) copied, 0.401303 s, 167 MB/s
        Sync'ing esp.img ... done.
copying tbcdtbfile(/HDD/xinhao/IIPB/Linux_for_Tegra/kernel/dtb/tegra234-p3768-0000+p3767-0000-nv-super.dtb)... done.
copying cfgfile(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/generic/cfg/flash_t234_qspi.xml) to flash.xml... done.
Existing flashapp(/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/tegraflash.py) reused.
copying overlay_dtb(/HDD/xinhao/IIPB/Linux_for_Tegra/kernel/dtb/L4TConfiguration.dtbo)... done.
copying overlay_dtb(/HDD/xinhao/IIPB/Linux_for_Tegra/kernel/dtb/tegra234-carveouts.dtbo)... done.
copying overlay_dtb(/HDD/xinhao/IIPB/Linux_for_Tegra/kernel/dtb/tegra-optee.dtbo)... done.
copying overlay_dtb(/HDD/xinhao/IIPB/Linux_for_Tegra/kernel/dtb/tegra234-p3768-0000+p3767-0000-dynamic.dtbo)... done.
/HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/L4TConfiguration_updated.dts: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
/HDD/xinhao/IIPB/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_minimal_with_dtb.bin --odmdata gbe-uphy-config-8,hsstp-lane-map-3,hsio-uphy-config-0 --overlay_dtb L4TConfiguration.dtbo,tegra234-carveouts.dtbo,tegra-optee.dtbo,tegra234-p3768-0000+p3767-0000-dynamic.dtbo, --bldtb tegra234-p3768-0000+p3767-0000-nv-super.dtb --applet mb1_t234_prod.bin --cmd "sign" --cfg flash.xml --chip "0x23" --concat_cpubl_bldtb --cpubl uefi_jetson.bin --cpubl_rcm uefi_jetson_minimal.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-dp-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-dp-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; tsec_fw tsec_t234.bin; mb2_applet applet_t234.bin; mb2_bootloader mb2_t234.bin; xusb_fw xusb_t234_prod.bin; pva_fw nvpva_020.fw; dce_fw display-t234-dce.bin; nvdec nvdec_t234_prod.fw; bpmp_fw bpmp_t234-TE980M-A1_prod.bin; bpmp_fw_dtb tegra234-bpmp-3767-0000-3768-super.dtb; 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 --bct_backup --boot_chain A --ramcode 1
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.0103 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0103 ] Assuming zero filled SBK key
[   0.0100 ] Parsing partition layout
[   0.0103 ] tegraparser_v2 --pt flash.xml.tmp
[   0.0126 ] Change tegra234-bpmp-3767-0000-3768-super.dtb to tegra234-bpmp-3767-0000-3768-super_with_odm.dtb
[   0.0126 ] Change tegra234-bpmp-3767-0000-3768-super.dtb to tegra234-bpmp-3767-0000-3768-super_with_odm.dtb
[   0.0430 ] /usr/bin/python3 dtbcheck.py -c t234 -o tegra234-bpmp-3767-0000-3768-super_with_odm.dtb tegra234-bpmp-3767-0000-3768-super_with_odm_tmp.dtb
[   0.1758 ] Concatenating L4TConfiguration.dtbo,tegra234-carveouts.dtbo,tegra-optee.dtbo,tegra234-p3768-0000+p3767-0000-dynamic.dtbo to tegra234-p3768-0000+p3767-0000-nv-super_with_odm_overlay.dtb.updated
[   0.1759 ] Concatenating bl dtb to cpubl binary
[   0.1769 ] Concatenating bl dtb:(tegra234-p3768-0000+p3767-0000-nv-super_with_odm_overlay.dtb.updated), to cpubl binary: uefi_jetson_minimal.bin
[   0.1778 ] MB2 binary: mb2_t234.bin
[   0.1778 ] Pre-processing mb2bct config: tegra234-mb2-bct-misc-p3767-0000.dts
[   0.1855 ] Pre-processing mb2bct config: tegra234-mb2-bct-scr-p3767-0000.dts
[   0.3822 ] Generating coldboot mb2-bct
[   0.3822 ] 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.3824 ] WARNING: unknown property 'tfc_version'
[   0.3838 ] WARNING: unknown property 'addr_header_version'
[   0.3935 ] Updating mb2-bct with storage information
[   0.3939 ] tegrabct_v2 --chip 0x23 0 --mb2bct mb2_cold_boot_bct_MB2.bct --updatestorageinfo flash.xml.bin
[   0.3952 ] Concatenating mb2-bct to mb2 binary
[   0.3952 ] mb2_bin_file = mb2_t234.bin
[   0.3952 ] mb2_bct_file = mb2_cold_boot_bct_MB2.bct
[   0.3967 ] DCE binary: display-t234-dce.bin
[   0.3967 ] Kernel DTB used: tegra234-p3768-0000+p3767-0000-nv-super_with_odm_overlay.dtb.updated
[   0.3967 ] Concatenating kernel-dtb to dce-fw binary
[   0.3967 ] dce_bin = display-t234-dce.bin
[   0.3967 ] kernel_dtb = tegra234-p3768-0000+p3767-0000-nv-super_with_odm_overlay.dtb.updated
[   0.3967 ] dce_with_dtb = display-t234-dce_with_tegra234-p3768-0000+p3767-0000-nv-super_with_odm_overlay.dtb.bin
[   0.3998 ] Update display-t234-dce_with_tegra234-p3768-0000+p3767-0000-nv-super_with_odm_overlay.dtb.bin to dce_fw partitions
[   0.4007 ] Parsing partition layout
[   0.4010 ] tegraparser_v2 --pt flash.xml.tmp
[   0.4017 ] Creating list of images to be signed
[   0.4019 ] Generating ratchet blob
[   0.4019 ] Pre-processing config: tegra234-mb1-bct-reset-p3767-0000.dts
[   0.4066 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts
[   0.4110 ] Pre-processing config: tegra234-mb1-bct-cprod-p3767-0000.dts
[   0.4159 ] Pre-processing config: tegra234-mb1-bct-gpioint-p3767-0000.dts
[   0.4212 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts
[   0.4274 ] Pre-processing config: tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi
Error: Return value 1
Command cpp -nostdinc -x assembler-with-cpp -D IN_DTS_CONTEXT -I .. -I ../generic/BCT tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi tegra234-mb1-bct-pinmux-p3767-dp-a03_cpp.dts
cp: cannot stat 'signed/*': No such file or directory
cp: cannot stat 'signed/flash.xml.tmp': No such file or directory
Using bpmp-dtb concatenated with odmdata in blob for t23x
./tegraflash.py --bl uefi_jetson_minimal_with_dtb_sigheader.bin.encrypt --bct br_bct_BR.bct --bldtb tegra234-p3768-0000+p3767-0000-nv-super.dtb --applet rcm_2_encrypt.rcm --applet_softfuse rcm_1_encrypt.rcm --cmd "secureflash;reboot"  --cfg secureflash.xml --chip 0x23 --mb1_bct mb1_bct_MB1_sigheader.bct.encrypt --mem_bct mem_rcm_sigheader.bct.encrypt --mb1_cold_boot_bct mb1_cold_boot_bct_MB1_sigheader.bct.encrypt --mb1_bin mb1_t234_prod_aligned_sigheader.bin.encrypt --psc_bl1_bin psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --mem_bct_cold_boot mem_coldboot_sigheader.bct.encrypt  --bins "psc_fw pscfw_t234_prod_sigheader.bin.encrypt; mts_mce mce_flash_o10_cr_prod_sigheader.bin.encrypt; tsec_fw tsec_t234_sigheader.bin.encrypt; mb2_applet applet_t234_sigheader.bin.encrypt; mb2_bootloader mb2_t234_with_mb2_bct_MB2_sigheader.bin.encrypt; xusb_fw xusb_t234_prod_sigheader.bin.encrypt; pva_fw nvpva_020_sigheader.fw.encrypt; dce_fw display-t234-dce_sigheader.bin.encrypt; nvdec nvdec_t234_prod_sigheader.fw.encrypt; bpmp_fw bpmp_t234-TE980M-A1_prod_sigheader.bin.encrypt; bpmp_fw_dtb tegra234-bpmp-3767-0000-3768-super_with_odm_sigheader.dtb.encrypt; rce_fw camera-rtcpu-t234-rce_sigheader.img.encrypt; ape_fw adsp-fw_sigheader.bin.encrypt; spe_fw spe_t234_sigheader.bin.encrypt; tos tos-optee_t234_sigheader.img.encrypt; eks eks_t234_sigheader.img.encrypt"    --bct_backup
saving flash command in flashcmd.txt

*** no-flash flag enabled. Exiting now... ***

User can run above saved command in factory environment without
providing pkc and sbk keys to flash a device

Example:

    $ cd bootloader
    $ sudo bash ./flashcmd.txt

Error: /HDD/xinhao/IIPB/Linux_for_Tegra/bootloader/signed/flash.idx is not found
Error: failed to relocate images to /HDD/xinhao/IIPB/Linux_for_Tegra/tools/kernel_flash/images
Cleaning up...

And flash failure due to the missing file modules.builtin.alias.bin , compared with the original rootfs after apply_binary.sh. The module output I build dont have this file and the original rootfs has it.

Error: Return value 1
Command cpp -nostdinc -x assembler-with-cpp -D IN_DTS_CONTEXT -I .. -I ../generic/BCT tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi tegra234-mb1-bct-pinmux-p3767-dp-a03_cpp.dts
cp: cannot stat ‘signed/*’: No such file or directory
cp: cannot stat ‘signed/flash.xml.tmp’: No such file or directory

Do you know why this err happend?

I totally followed developer guide to rebuild all things, and there is still no modules.builtin.alias.bin in install dir

csp@csp:/NVME/xinhao/orinnx/misc/Linux_for_Tegra/source/rootfs/lib/modules/5.15.148-tegra$ ls
build   modules.alias      modules.builtin      modules.builtin.modinfo  modules.dep.bin  modules.order    modules.symbols      source
kernel  modules.alias.bin  modules.builtin.bin  modules.dep              modules.devname  modules.softdep  modules.symbols.bin  updates

Sorry for the late response.
Is this still an issue to support? Any result can be shared?

The issue is solved. Its my cutom pinmux file causes err, I change the custom name to default one in pinmux.dtsi, I can flash successfully

#include "./tegra234-mb1-bct-gpio-p3767-dp-a03.dtsi"

Glad to know issue resolved, thanks for your update.

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