Jetson agx orin 64gb module clone image fail

I am using the Jetson AGX orin devkit carrier board and the Jetson AGX orin 64GB module,
because I want to use a custom carrier board in the future, so I am using the jetson agx orin devkit carrier board now for testing.

Jetpack version:

cat /etc/nv_tegra_release
# R35 (release), REVISION: 3.1, GCID: 32827747, BOARD: t186ref, EABI: aarch64, DATE: Sun Mar 19 15:19:21 UTC 2023

I use the command to flash the image successfully.
command:

sudo BOARDID=3701 FAB=500 BOARDSKU=0050 BOARDREV=J.0 ./flash.sh jetson-agx-orin-devkit mmcblk0p1

I already update, upgrade and install jetpack, v4l2, etc…
I use the first command to clone the image fail, because dtb not exist.
command:

sudo BOARDID=3701 FAB=500 BOARDSKU=0050 BOARDREV=J.0 ./flash.sh -r -k APP -G backup.img jetson-agx-orin-devkit mmcblk0p1

I use the second command to clone the image also fail.
command:

sudo BOARDID=3701 FAB=500 BOARDSKU=0000 BOARDREV=J.0 ./flash.sh -r -k APP -G backup.img jetson-agx-orin-devkit mmcblk0p1

log:

[0049.632] I> MB1 (version: 0.32.0.0-t234-54845784-57325615)                                          
[0049.637] I> t234-A01-0-Silicon (0x12347) Prod                                                       
[0049.642] I> Boot-mode : Coldboot                                                                    
[0049.645] I> Emulation:                                                                              
[0049.647] I> Entry timestamp: 0x00000000                                                             
[0049.651] I> last_boot_error: 0x0                                                                    
[0049.654] I> BR-BCT: preprod_dev_sign: 0                                                             
[0049.658] I> rst_source: 0x0, rst_level: 0x0                                                         
[0049.662] I> Task: Bootchain select WAR set (0x5000ba65)                                             
[0049.667] I> Task: Enable SLCG (0x5000bab1)                                                          
[0049.671] I> Task: CRC check (0x5001ea19)                                                            
[0049.675] I> Skip FUSE records CRC check as records_integrity fuse is not burned                     
[0049.682] I> Task: Initialize MB2 params (0x5000cb51)                                                
[0049.688] I> MB2-params @ 0x40060000                                                                 
[0049.691] I> Task: Crypto init (0x5001d981)                                                          
[0049.695] I> Task: Secure debug controls (0x5000c0a9)                                                
[0049.700] I> Task: strap war set (0x5000ba2d)                                                        
[0049.704] I> Task: Initialize SOC Therm (0x5001bd35)                                                 
[0049.709] I> Task: Program NV master stream id (0x5000c05d)                                          
[0049.715] I> Task: Verify boot mode (0xd4820f1)                                                      
[0049.720] I> Task: Alias fuses (0x5001095d)                                                          
[0049.725] W> FUSE_ALIAS: Fuse alias on production fused part is not supported.                       
[0049.732] I> Task: Print SKU type (0x5000f5f1)                                                       
[0049.736] I> FUSE_OPT_CCPLEX_CLUSTER_DISABLE = 0x00000000                                            
[0049.741] I> FUSE_OPT_GPC_DISABLE = 0x00000000                                                       
[0049.745] I> FUSE_OPT_TPC_DISABLE = 0x00000000                                                       
[0049.750] I> FUSE_OPT_DLA_DISABLE = 0x00000000                                                       
[0049.754] I> FUSE_OPT_PVA_DISABLE = 0x00000000                                                       
[0049.758] I> FUSE_OPT_NVENC_DISABLE = 0x00000000                                                     
[0049.763] I> FUSE_OPT_NVDEC_DISABLE = 0x00000000                                                     
[0049.767] I> FUSE_OPT_FSI_DISABLE = 0x00000000                                                       
[0049.771] I> FUSE_OPT_EMC_DISABLE = 0x00000000                                                       
[0049.776] I> FUSE_BOOTROM_PATCH_VERSION = 0x7                                                        
[0049.780] I> FUSE_PSCROM_PATCH_VERSION = 0x7                                                         
[0049.784] I> FUSE_OPT_ADC_CAL_FUSE_REV = 0x2                                                         
[0049.788] I> FUSE_SKU_INFO_0 = 0xd0                                                                  
[0049.791] I> FUSE_OPT_SAMPLE_TYPE_0 = 0x3 PS                                                         
[0049.795] I> FUSE_PACKAGE_INFO_0 = 0x2                                                               
[0049.799] I> SKU: Prod                                                                               
[0049.801] I> Task: Boost clocks (0x500148a1)                                                         
[0049.805] I> Initializing PLLC2 for AXI_CBB.                                                         
[0049.810] I> AXI_CBB : src = 35, divisor = 0                                                         
[0049.814] I> Task: Voltage monitor (0x50014b49)                                                      
[0049.818] I> VMON: Vmon re-calibration and fine tuning done                                          
[0049.824] I> Task: UPHY init (0x5000d065)                                                            
[0049.830] I> HSIO UPHY init done                                                                     
[0049.833] E> Skipping GBE UPHY config                                                                
[0049.836] I> Task: Boot device init (0x50000be9)                                                     
[0049.841] I> Boot_device: RCM                                                                        
[0049.844] I> USB configuration success                                                               
[0052.774] I> Task: TSC init (0x50020a4d)                                                             
[0052.778] I> Task: Load membct (0x50011fe9)                                                          
[0052.782] I> RAM_CODE 0x4000031                                                                      
[0052.785] I> Loading MEMBCT                                                                          
[0052.788] I> Slot: 0                                                                                 
[0052.790] I> Binary[0] block-0 (partition size: 0x40000)                                             
[0052.795] I>  get_binary_info: Binary name: MEM-BCT-0                                                
[0052.800] I> Size of crypto header is 8192                                                           
[0052.804] I> BCH load address is : 0x40050000                                                        
[0052.808] I> Size of crypto header is 8192                                                           
[0052.818] I> BCH of MEM-BCT-0 read from storage                                                      
[0052.823] I> BCH address is : 0x40050000                                                             
[0052.827] I> MEM-BCT-0 header integrity check is success                                             
[0052.832] I> Binary magic in BCH component 0 is MEM0                                                 
[0052.837] I> component binary type is 0                                                              
[0052.842] I> MEM-BCT-0 binary is read from storage                                                   
[0052.847] I> MEM-BCT-0 binary integrity check is success                                             
[0052.853] I> Binary MEM-BCT-0 loaded successfully at 0x40040000 (0xe580)                             
[0052.859] I> RAM_CODE 0x4000031                                                                      
[0052.864] I> RAM_CODE 0x4000031                                                                      
[0052.868] I> Task: Load Page retirement list (0x500115b1)                                            
[0052.874] I> Task: SDRAM params override (0x50011fc5)                                                
[0052.879] I> Task: Save mem-bct info (0x50014fa1)                                                    
[0052.883] I> Task: Carveout allocate (0x50015005)                                                    
[0052.888] I> ECC region[0]: Start:0x0, End:0x0                                                       
[0052.892] I> ECC region[1]: Start:0x0, End:0x0                                                       
[0052.896] I> ECC region[2]: Start:0x0, End:0x0                                                       
[0052.901] I> ECC region[3]: Start:0x0, End:0x0                                                       
[0052.905] I> ECC region[4]: Start:0x0, End:0x0                                                       
[0052.909] I> Non-ECC region[0]: Start:0x80000000, End:0x80000000                                     
[0052.915] I> Non-ECC region[1]: Start:0x0, End:0x0                                                   
[0052.920] I> Non-ECC region[2]: Start:0x0, End:0x0                                                   
[0052.924] I> Non-ECC region[3]: Start:0x0, End:0x0                                                   
[0052.929] I> Non-ECC region[4]: Start:0x0, End:0x0                                                   
[0052.939] E> BL_CARVEOUT: Failed to allocate memory of size 0x36800000 for CO:44.                    
[0052.946] C> Task 0x0 failed (err: 0x49490003)                                                       
[0052.950] E> Top caller module: BL_CARVEOUT, error module: BL_CARVEOUT, reason: 0x03, aux_info: 0x00 
[0052.959] C> Boot Info Table status dump :                                                           
1                                                                                                     
[0052.963] I> Busy Spin  

How can I solve this problem?

Thanks!

Why are you doing like this? I don’t believe this command is able to flash any devices.
BOARDSKU should be 0005 for AGX Orin 64GB; we don’t have any module that is 0050.

Normally, you don’t need all these BOARDID stuff.
Please remove them and try again.