Orin flash

Hello guys,
I’m trying to reflash Jetson Agx Orin that has Jetpack 6. My purpose is to install new customized kernel.
I’m using

./flash.sh jetson-agx-orin-devkit internal

and

sudo reboot forced-recovery

to put the devkit in RCM
Here is what i receive in console:

*** Checking ONLINE mode … OK.
*** Checking target board connection … 1 connections found.
*** Reading ECID … FUSELEVEL=fuselevel_production hwchipid=0x23 bootauth=NS
*** Reading EEPROM … “/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/tegraflash.py” --chip 0x23 --applet “/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/mb1_t234_prod.bin” --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” --skipuid --cmd “dump eeprom cvm cvm.bin; reboot recovery”
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
[ 0.0092 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.0095 ] File rcm_state open failed
[ 0.0097 ] ERROR: failed to read rcm_state
[ 0.0097 ]
[ 0.0101 ] tegrasign_v3.py --key None --getmode mode.txt
[ 0.0102 ] Assuming zero filled SBK key
[ 0.0099 ] Pre-processing config: tegra234-mb1-bct-device-p3701-0000.dts
[ 0.0150 ] Pre-processing config: tegra234-mb1-bct-misc-p3701-0000.dts
[ 0.0213 ] Parsing partition layout
[ 0.0217 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.0224 ] Kernel DTB used: None
[ 0.0224 ] WARNING: dce base dtb is not provided
[ 0.0224 ] Parsing partition layout
[ 0.0227 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.0231 ] Creating list of images to be signed
[ 0.0234 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --list images_list.xml zerosbk
[ 0.0237 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.0244 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.0246 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.0272 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.0274 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.0297 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.0298 ] adding BCH for mb2_t234_aligned.bin
[ 0.0314 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.0375 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.0376 ] adding BCH for mb2_t234_aligned.bin
[ 0.0450 ] Filling MB1 storage info
[ 0.0450 ] Parsing dev params for multi chains
[ 0.0505 ] Generating br-bct
[ 0.0508 ] Updating dev and MSS params in BR BCT
[ 0.0508 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.0513 ] Updating bl info
[ 0.0516 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin
[ 0.0519 ] WARNING: boot chain is not completed. set to 0
[ 0.0524 ] Generating signatures
[ 0.0529 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.0529 ] Assuming zero filled SBK key
[ 0.0584 ] Warning: pub_key.key is not found
[ 0.0582 ] Parsing dev params for multi chains
[ 0.0582 ] Generating br-bct
[ 0.0584 ] Updating dev and MSS params in BR BCT
[ 0.0584 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.0588 ] Updating bl info
[ 0.0591 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 0.0593 ] WARNING: boot chain is not completed. set to 0
[ 0.0597 ] Generating SHA2 Hash
[ 0.0606 ] Sha saved in br_bct_BR.sha
[ 0.0602 ] Get Signed section of bct
[ 0.0603 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[ 0.0607 ] Signing BCT
[ 0.0612 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.0612 ] Assuming zero filled SBK key
[ 0.0623 ] Sha saved in br_bct_BR.sha
[ 0.0624 ] Warning: pub_key.key is not found
[ 0.0619 ] Updating BCT with signature
[ 0.0620 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml
[ 0.0623 ] Offset :4608 Len :3584
[ 0.0625 ] Generating SHA2 Hash
[ 0.0629 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[ 0.0630 ] Assuming zero filled SBK key
[ 0.0630 ] Assuming zero filled SBK key
[ 0.0641 ] Sha saved in br_bct_BR.sha
[ 0.0637 ] Updating BCT with SHA2 Hash
[ 0.0639 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[ 0.0642 ] Offset :4608 Len :3584
[ 0.0643 ] Offset :68 Len :8124
[ 0.0644 ] Generating coldboot mb1-bct
[ 0.0646 ] 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
[ 0.0648 ] MB1-BCT version: 0.13
[ 0.0668 ] Parsing config file :tegra234-mb1-bct-device-p3701-0000_cpp.dtb
[ 0.0669 ] Added Platform Config 9 data with size :- 100
[ 0.0669 ]
[ 0.0669 ] Updating mb1-bct with firmware information
[ 0.0672 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.0679 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[ 0.0684 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[ 0.0686 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[ 0.0694 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.0695 ] Assuming zero filled SBK key
[ 0.0702 ] Warning: pub_key.key is not found
[ 0.0700 ] 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.0704 ] Generating recovery mb1-bct
[ 0.0706 ] 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
[ 0.0708 ] MB1-BCT version: 0.13
[ 0.0725 ] Parsing config file :tegra234-mb1-bct-device-p3701-0000_cpp.dtb
[ 0.0726 ] Added Platform Config 9 data with size :- 100
[ 0.0726 ]
[ 0.0726 ] Updating mb1-bct with firmware information
[ 0.0728 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.0733 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[ 0.0736 ] Generating SHA2 Hash for mb1bct
[ 0.0745 ] Sha saved in mb1_bct_MB1_aligned.sha
[ 0.0742 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[ 0.0744 ] adding BCH for mb1_bct_MB1_aligned.bct
[ 0.0752 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.0752 ] Assuming zero filled SBK key
[ 0.0759 ] Warning: pub_key.key is not found
[ 0.0757 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[ 0.0762 ] Error: Skip generating mem_bct because sdram_config is not defined
[ 0.0762 ] Error: Skip generating mem_bct because sdram_config is not defined
[ 0.0762 ] Copying signatures
[ 0.0764 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 0.0789 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[ 0.0790 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[ 0.0790 ] Boot Rom communication
[ 0.0791 ] 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.0794 ] BR_CID: 0x80012344705DD3172C00000010020240
[ 0.1079 ] Sending bct_br
[ 0.1511 ] Sending mb1
[ 0.1520 ] Sending psc_bl1
[ 0.1648 ] Sending bct_mb1
[ 0.1716 ] Boot Rom communication completed
[ 0.1728 ] tegrahost_v2 --chip 0x23 0 --align applet_t234_aligned.bin
[ 0.1744 ] tegrahost_v2 --chip 0x23 0 --magicid MB2A --appendsigheader applet_t234_aligned.bin zerosbk
[ 0.1749 ] adding BCH for applet_t234_aligned.bin
[ 0.1832 ] tegrasign_v3.py --key None --list applet_t234_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.1833 ] Assuming zero filled SBK key
[ 0.1849 ] Warning: pub_key.key is not found
[ 0.1850 ] tegrahost_v2 --chip 0x23 0 --updatesigheader applet_t234_aligned_sigheader.bin.encrypt applet_t234_aligned_sigheader.bin.hash zerosbk
[ 0.1866 ] Sending mb2_applet…
[ 0.1871 ] tegrarcm_v2 --chip 0x23 0 --pollbl --download applet applet_t234_sigheader.bin.encrypt
[ 0.1876 ] BL: version 1.4.0.1-t234-54845784-08e631ca last_boot_error: 0
[ 0.3960 ] Sending applet
[ 0.5082 ] completed
[ 0.5093 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.5101 ] MB2 Applet version 01.00.0000
[ 0.6913 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.6921 ] MB2 Applet version 01.00.0000
[ 0.7228 ] Retrieving board information
[ 0.7234 ] tegrarcm_v2 --chip 0x23 0 --oem platformdetails chip chip_info.bin
[ 0.7240 ] MB2 Applet version 01.00.0000
[ 0.7738 ] Saved platform info in chip_info.bin
[ 0.7794 ] Chip minor revision: 1
[ 0.7796 ] Bootrom revision: 0x7
[ 0.7797 ] Ram code: 0x0
[ 0.7798 ] Chip sku: 0xd2
[ 0.7799 ] Chip Sample: prod
[ 0.7808 ] Retrieving EEPROM data
[ 0.7809 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/cvm.bin --chip 0x23 0
[ 0.7817 ] MB2 Applet version 01.00.0000
[ 0.8299 ] Saved platform info in /home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/cvm.bin
[ 0.8635 ] Rebooting to recovery mode
[ 0.8645 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 0.8999 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.9008 ] MB2 Applet version 01.00.0000
[ 0.9507 ] Booting to recovery mode
[ 0.9516 ] tegrarcm_v2 --chip 0x23 0 --reboot recovery
[ 0.9523 ] MB2 Applet version 01.00.0000
— Reading board information succeeded.
— Parsing chip_info.bin information succeeded.
Chip SKU(00:00:00:D2) ramcode(00:00:00:00)
Parsing module EEPROM:
— Parsing board ID (3701) succeeded.
— Parsing board version (500) succeeded.
— Parsing board SKU (0004) succeeded.
— Parsing board REV (G.0) succeeded.
jetson-agx-orin-devkit found.
*** Finding boot device … Boot device internal found.
“/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/flash.sh” jetson-agx-orin-devkit internal
###############################################################################

L4T BSP Information:

R36 , REVISION: 2.0

User release: 0.0

###############################################################################
ECID is 0x80012344705DD3172C00000010020240

Target Board Information:

Name: jetson-agx-orin-devkit, Board Family: generic, SoC: Tegra 234,

OpMode: production, Boot Authentication: NS,

Disk encryption: disabled ,

###############################################################################
copying emc_fuse_dev_params(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-br-bct-diag-boot.dts)… done.
copying device_config(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-device-p3701-0000.dts)… done.
copying misc_config(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-misc-p3701-0000.dts)… done.
./tegraflash.py --chip “0x23” --applet “/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/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 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.0094 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.0097 ] File rcm_state open failed
[ 0.0099 ] ERROR: failed to read rcm_state
[ 0.0099 ]
[ 0.0104 ] tegrasign_v3.py --key None --getmode mode.txt
[ 0.0105 ] Assuming zero filled SBK key
[ 0.0101 ] Pre-processing config: tegra234-mb1-bct-device-p3701-0000.dts
[ 0.0150 ] Pre-processing config: tegra234-mb1-bct-misc-p3701-0000.dts
[ 0.0209 ] Parsing partition layout
[ 0.0212 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.0220 ] Kernel DTB used: None
[ 0.0220 ] WARNING: dce base dtb is not provided
[ 0.0220 ] Parsing partition layout
[ 0.0224 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.0230 ] Creating list of images to be signed
[ 0.0232 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --list images_list.xml zerosbk
[ 0.0235 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.0241 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.0243 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.0268 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.0269 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.0291 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.0292 ] adding BCH for mb2_t234_aligned.bin
[ 0.0307 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.0366 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.0368 ] adding BCH for mb2_t234_aligned.bin
[ 0.0444 ] Filling MB1 storage info
[ 0.0444 ] Parsing dev params for multi chains
[ 0.0489 ] Generating br-bct
[ 0.0492 ] Updating dev and MSS params in BR BCT
[ 0.0492 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.0496 ] Updating bl info
[ 0.0497 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin
[ 0.0500 ] WARNING: boot chain is not completed. set to 0
[ 0.0504 ] Generating signatures
[ 0.0509 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.0510 ] Assuming zero filled SBK key
[ 0.0566 ] Warning: pub_key.key is not found
[ 0.0562 ] Parsing dev params for multi chains
[ 0.0562 ] Generating br-bct
[ 0.0565 ] Updating dev and MSS params in BR BCT
[ 0.0565 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.0569 ] Updating bl info
[ 0.0571 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 0.0573 ] WARNING: boot chain is not completed. set to 0
[ 0.0579 ] Generating SHA2 Hash
[ 0.0589 ] Sha saved in br_bct_BR.sha
[ 0.0584 ] Get Signed section of bct
[ 0.0587 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[ 0.0591 ] Signing BCT
[ 0.0595 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.0596 ] Assuming zero filled SBK key
[ 0.0608 ] Sha saved in br_bct_BR.sha
[ 0.0609 ] Warning: pub_key.key is not found
[ 0.0604 ] Updating BCT with signature
[ 0.0606 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml
[ 0.0608 ] Offset :4608 Len :3584
[ 0.0610 ] Generating SHA2 Hash
[ 0.0615 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[ 0.0616 ] Assuming zero filled SBK key
[ 0.0616 ] Assuming zero filled SBK key
[ 0.0626 ] Sha saved in br_bct_BR.sha
[ 0.0623 ] Updating BCT with SHA2 Hash
[ 0.0625 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[ 0.0627 ] Offset :4608 Len :3584
[ 0.0629 ] Offset :68 Len :8124
[ 0.0630 ] Generating coldboot mb1-bct
[ 0.0632 ] 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
[ 0.0634 ] MB1-BCT version: 0.13
[ 0.0652 ] Parsing config file :tegra234-mb1-bct-device-p3701-0000_cpp.dtb
[ 0.0653 ] Added Platform Config 9 data with size :- 100
[ 0.0653 ]
[ 0.0653 ] Updating mb1-bct with firmware information
[ 0.0656 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.0662 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[ 0.0666 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[ 0.0668 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[ 0.0676 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.0677 ] Assuming zero filled SBK key
[ 0.0685 ] Warning: pub_key.key is not found
[ 0.0683 ] 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.0688 ] Generating recovery mb1-bct
[ 0.0690 ] 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
[ 0.0692 ] MB1-BCT version: 0.13
[ 0.0711 ] Parsing config file :tegra234-mb1-bct-device-p3701-0000_cpp.dtb
[ 0.0712 ] Added Platform Config 9 data with size :- 100
[ 0.0712 ]
[ 0.0712 ] Updating mb1-bct with firmware information
[ 0.0714 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.0721 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[ 0.0723 ] Generating SHA2 Hash for mb1bct
[ 0.0733 ] Sha saved in mb1_bct_MB1_aligned.sha
[ 0.0730 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[ 0.0732 ] adding BCH for mb1_bct_MB1_aligned.bct
[ 0.0742 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.0743 ] Assuming zero filled SBK key
[ 0.0750 ] Warning: pub_key.key is not found
[ 0.0749 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[ 0.0754 ] Error: Skip generating mem_bct because sdram_config is not defined
[ 0.0754 ] Error: Skip generating mem_bct because sdram_config is not defined
[ 0.0754 ] Copying signatures
[ 0.0756 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 0.0782 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[ 0.0782 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[ 0.0782 ] Boot Rom communication
[ 0.0785 ] 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.0787 ] BR_CID: 0x80012344705DD3172C00000010020240
[ 0.1071 ] Sending bct_br
[ 0.1506 ] Sending mb1
[ 0.1516 ] Sending psc_bl1
[ 0.1637 ] Sending bct_mb1
[ 0.1705 ] Boot Rom communication completed
[ 0.1719 ] tegrahost_v2 --chip 0x23 0 --align applet_t234_aligned.bin
[ 0.1732 ] tegrahost_v2 --chip 0x23 0 --magicid MB2A --appendsigheader applet_t234_aligned.bin zerosbk
[ 0.1735 ] adding BCH for applet_t234_aligned.bin
[ 0.1839 ] tegrasign_v3.py --key None --list applet_t234_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.1840 ] Assuming zero filled SBK key
[ 0.1856 ] Warning: pub_key.key is not found
[ 0.1855 ] tegrahost_v2 --chip 0x23 0 --updatesigheader applet_t234_aligned_sigheader.bin.encrypt applet_t234_aligned_sigheader.bin.hash zerosbk
[ 0.1867 ] Sending mb2_applet…
[ 0.1871 ] tegrarcm_v2 --chip 0x23 0 --pollbl --download applet applet_t234_sigheader.bin.encrypt
[ 0.1876 ] BL: version 1.4.0.1-t234-54845784-08e631ca last_boot_error: 0
[ 0.3937 ] Sending applet
[ 0.5054 ] completed
[ 0.5064 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.5074 ] MB2 Applet version 01.00.0000
[ 0.6897 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.6903 ] MB2 Applet version 01.00.0000
[ 0.7223 ] Retrieving board information
[ 0.7229 ] tegrarcm_v2 --chip 0x23 0 --oem platformdetails chip chip_info.bin
[ 0.7234 ] MB2 Applet version 01.00.0000
[ 0.7695 ] Saved platform info in chip_info.bin
[ 0.7754 ] Chip minor revision: 1
[ 0.7755 ] Bootrom revision: 0x7
[ 0.7757 ] Ram code: 0x0
[ 0.7758 ] Chip sku: 0xd2
[ 0.7759 ] Chip Sample: prod
[ 0.7768 ] Retrieving EEPROM data
[ 0.7769 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/cvm.bin --chip 0x23 0
[ 0.7775 ] MB2 Applet version 01.00.0000
[ 0.8094 ] Saved platform info in /home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/cvm.bin
[ 0.8438 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.8443 ] MB2 Applet version 01.00.0000
[ 0.8738 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.8743 ] MB2 Applet version 01.00.0000
[ 0.9256 ] Dumping customer Info
[ 0.9267 ] tegrarcm_v2 --chip 0x23 0 --oem dump bct tmp.bct
[ 0.9275 ] MB2 Applet version 01.00.0000
[ 0.9740 ] Saved bct in tmp.bct
[ 0.9958 ] tegrabct_v2 --brbct tmp.bct --chip 0x23 0 --custinfo /home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/custinfo_out.bin
[ 0.9965 ] C[ 0.9971 ] ustomer data saved in /home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/custinfo_out.bin successfully
[ 0.9972 ] Rebooting to recovery mode
[ 0.9977 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 1.0309 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 1.0318 ] MB2 Applet version 01.00.0000
[ 1.0773 ] Booting to recovery mode
[ 1.0783 ] tegrarcm_v2 --chip 0x23 0 --reboot recovery
[ 1.0791 ] MB2 Applet version 01.00.0000
Board ID(3701) version(500) sku(0004) revision(G.0)
Chip SKU(00:00:00:D2) ramcode(00:00:00:00) fuselevel(fuselevel_production) board_FAB(500)
Copy /home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/kernel/dtb/tegra234-p3737-0000+p3701-0004-nv.dtb to /home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/kernel/dtb/tegra234-p3737-0000+p3701-0004-nv.dtb.rec
Using UUID 166aace9-5e2b-4d49-8122-b0c595d5badc for mounting root APP partition.
copying bctfile(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-p3701-0000-sdram-l4t.dts)… done.
copying minratchet_config(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-ratchet-p3701-0000.dts)… done.
copying device_config(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-device-p3701-0000.dts)… done.
copying misc_config(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-misc-p3701-0000.dts)… done.
copying pinmux_config(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi)… done.
copying gpioint_config(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-gpioint-p3701-0000.dts)… done.
copying pmic_config(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-pmic-p3701-0005.dts)… done.
copying pmc_config(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-padvoltage-p3701-0000-a04.dtsi)… done.
copying deviceprod_config(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-cprod-p3701-0000.dts)… done.
copying prod_config(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-prod-p3701-0000.dts)… done.
copying scr_config(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb2-bct-scr-p3701-0000.dts)… done.
copying wb0sdram(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-p3701-0000-wb0sdram-l4t.dts)… done.
copying bootrom_config(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-reset-p3701-0000.dts)… done.
Existing uphylane_config(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/tegra234-mb1-bct-uphylane-si.dtsi) reused.
copying dev_params(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-br-bct-p3701-0000.dts)… done.
copying dev_params_b(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-br-bct_b-p3701-0000.dts)… done.
copying mb2bct_cfg(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb2-bct-misc-p3701-0000.dts)… done.
Existing pscfwfile(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/pscfw_t234_prod.bin) reused.
Existing pscbl1file(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/psc_bl1_t234_prod.bin) reused.
Existing mtsmcefile(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/mce_flash_o10_cr_prod.bin) reused.
Existing tscfwfile(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/tsec_t234.bin) reused.
Existing mb2applet(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/applet_t234.bin) reused.
Existing bootloader(/home/mpuscian/Downloads/flasher/Jetson_Linux_R36.2.0/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.
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…
cp: cannot stat ‘’: No such file or directory
failed command: cp -f .cpio.gz
*** ERROR: flashing failed.

EDIT:
When i run:
sudo ./flash.sh --no-flash jetson-agx-orin-devkit internal
The end of process is the same as before:

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...
cp: cannot stat '': No such file or directory
failed command: cp -f  .cpio.gz

Is your Linux_for_Tegra/bootloader/l4t_initrd.img present?

yes, it is.

Please delete the whole BSP and start over again to make sure at least the default one works.