hi ,
I failed to flash the Jetpack5.1.2 using either the SDK Manager or manually. The error message was as follows.
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit internal
/home/qz/wuhj_develop/nvidia/orin_nx_35.4.1/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --network usb0 --usb-instance 3-1.3 --device-instance 0 --flash-only --external-device nvme0n1p1 -c "tools/kernel_flash/flash_l4t_external.xml" --network usb0 jetson-orin-nano-devkit internal
**********************************************
* *
* Step 1: Build the flashing environment *
* *
**********************************************
Create flash environment 0
/home/qz/wuhj_develop/nvidia/orin_nx_35.4.1/Linux_for_Tegra/bootloader /home/qz/wuhj_develop/nvidia/orin_nx_35.4.1/Linux_for_Tegra
/home/qz/wuhj_develop/nvidia/orin_nx_35.4.1/Linux_for_Tegra
Finish creating flash environment 0.
****************************************************
* *
* Step 2: Boot the device with flash initrd image *
* *
****************************************************
/home/qz/wuhj_develop/nvidia/orin_nx_35.4.1/Linux_for_Tegra/temp_initrdflash/bootloader0 /home/qz/wuhj_develop/nvidia/orin_nx_35.4.1/Linux_for_Tegra
./tegraflash.py --bl uefi_jetson_with_dtb_sigheader.bin.encrypt --bct br_bct_BR.bct --securedev --bldtb tegra234-p3767-0003-p3768-0000-a0.dtb --applet rcm_2_encrypt.rcm --applet_softfuse rcm_1_encrypt.rcm --cmd "rcmboot" --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; mb2_applet applet_t234_sigheader.bin.encrypt; mb2_bootloader mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt; xusb_fw xusb_t234_prod_sigheader.bin.encrypt; dce_fw display-t234-dce_sigheader.bin.encrypt; nvdec nvdec_t234_prod_sigheader.fw.encrypt; bpmp_fw bpmp_t234-TE950M-A1_prod_sigheader.bin.encrypt; bpmp_fw_dtb tegra234-bpmp-3767-0003-3509-a02_with_odm_sigheader.dtb.encrypt; sce_fw camera-rtcpu-sce_sigheader.img.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; kernel boot0.img; kernel_dtb tegra234-p3767-0003-p3768-0000-a0.dtb" --secondary_gpt_backup --bct_backup --instance 3-1.3
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
Entering RCM boot
[ 0.0383 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from --mb1_bin
[ 0.0383 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from --psc_bl1_bin
[ 0.0383 ] rcm boot with presigned binaries
[ 0.0393 ] tegrarcm_v2 --instance 3-1.3 --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.0402 ] BR_CID: 0x80012344705E015F2000000007FF0040
[ 0.0489 ] Sending bct_br
[ 0.0560 ] Sending mb1
[ 0.0564 ] Sending psc_bl1
[ 0.0657 ] Sending bct_mb1
[ 0.0715 ] Generating blob for T23x
[ 0.0733 ] tegrahost_v2 --chip 0x23 0 --generateblob blob.xml blob.bin
[ 0.0742 ] The number of images in blob is 18
[ 0.0745 ] blobsize is 73374490
[ 0.0746 ] Added binary blob_uefi_jetson_with_dtb_sigheader.bin.encrypt of size 2924608
[ 0.1039 ] Added binary blob_pscfw_t234_prod_sigheader.bin.encrypt of size 375168
[ 0.1046 ] Added binary blob_mce_flash_o10_cr_prod_sigheader.bin.encrypt of size 190592
[ 0.1048 ] Added binary blob_applet_t234_sigheader.bin.encrypt of size 277312
[ 0.1050 ] Not supported type: mb2_applet
[ 0.1051 ] Added binary blob_mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt of size 438768
[ 0.1053 ] Added binary blob_xusb_t234_prod_sigheader.bin.encrypt of size 164864
[ 0.1056 ] Added binary blob_display-t234-dce_sigheader.bin.encrypt of size 9097216
[ 0.1102 ] Added binary blob_nvdec_t234_prod_sigheader.fw.encrypt of size 294912
[ 0.1119 ] Added binary blob_bpmp_t234-TE950M-A1_prod_sigheader.bin.encrypt of size 1051136
[ 0.1125 ] Added binary blob_tegra234-bpmp-3767-0003-3509-a02_with_odm_sigheader.dtb.encrypt of size 110080
[ 0.1128 ] Added binary blob_camera-rtcpu-sce_sigheader.img.encrypt of size 166304
[ 0.1130 ] Added binary blob_camera-rtcpu-t234-rce_sigheader.img.encrypt of size 537952
[ 0.1133 ] Added binary blob_adsp-fw_sigheader.bin.encrypt of size 400864
[ 0.1135 ] Added binary blob_spe_t234_sigheader.bin.encrypt of size 270336
[ 0.1136 ] Added binary blob_tos-optee_t234_sigheader.img.encrypt of size 1127568
[ 0.1139 ] Added binary blob_eks_t234_sigheader.img.encrypt of size 9232
[ 0.1141 ] Added binary blob_boot0.img of size 55588864
[ 0.1439 ] Added binary blob_tegra234-p3767-0003-p3768-0000-a0.dtb of size 347610
[ 0.2266 ] tegrarcm_v2 --instance 3-1.3 --chip 0x23 0 --pollbl --download bct_mem mem_rcm_sigheader.bct.encrypt --download blob blob.bin
[ 0.2275 ] BL: version 1.2.0.0-t234-54845784-562369e5 last_boot_error: 0
[ 0.3137 ] Sending bct_mem
[ 0.3214 ] Sending blob
[ 0.4063 ] ERROR: might be timeout in USB write.
Error: Return value 3
Command tegrarcm_v2 --instance 3-1.3 --chip 0x23 0 --pollbl --download bct_mem mem_rcm_sigheader.bct.encrypt --download blob blob.bin
Cleaning up...
debug uart log
[0055.422] I> MB1 (version: 1.2.0.0-t234-54845784-562369e5)
[0055.428] I> t234-A01-1-Silicon (0x12347) Prod
[0055.432] I> Boot-mode : Coldboot
[0055.435] I> Entry timestamp: 0x00000000
[0055.439] I> last_boot_error: 0x0
[0055.442] I> BR-BCT: preprod_dev_sign: 0
[0055.446] I> rst_source: 0x0, rst_level: 0x0
[0055.450] I> Task: SE error check
[0055.453] I> Task: Bootchain select WAR set
[0055.457] I> Task: Enable SLCG
[0055.460] I> Task: CRC check
[0055.463] I> Task: Initialize MB2 params
[0055.467] I> MB2-params @ 0x40060000
[0055.471] I> Task: Crypto init
[0055.474] I> Task: Perform MB1 KAT tests
[0055.478] I> Task: NVRNG health check
[0055.481] I> NVRNG: Health check success
[0055.485] I> Task: MSS Bandwidth limiter settings for iGPU clients
[0055.491] I> Task: Enabling and initialization of Bandwidth limiter
[0055.497] I> No request to configure MBWT settings for any PC!
[0055.503] I> Task: Secure debug controls
[0055.506] I> Task: strap war set
[0055.510] I> Task: Initialize SOC Therm
[0055.513] I> Task: Program NV master stream id
[0055.518] I> Task: Verify boot mode
[0055.523] I> Task: Alias fuses
[0055.527] W> FUSE_ALIAS: Fuse alias on production fused part is not supported.
[0055.534] I> Task: Print SKU type
[0055.537] I> FUSE_OPT_CCPLEX_CLUSTER_DISABLE = 0x000001c8
[0055.542] I> FUSE_OPT_GPC_DISABLE = 0x00000002
[0055.547] I> FUSE_OPT_TPC_DISABLE = 0x000000f0
[0055.551] I> FUSE_OPT_DLA_DISABLE = 0x00000003
[0055.555] I> FUSE_OPT_PVA_DISABLE = 0x00000001
[0055.559] I> FUSE_OPT_NVENC_DISABLE = 0x00000001
[0055.564] I> FUSE_OPT_NVDEC_DISABLE = 0x00000000
[0055.568] I> FUSE_OPT_FSI_DISABLE = 0x00000001
[0055.573] I> FUSE_OPT_EMC_DISABLE = 0x0000000c
[0055.577] I> FUSE_BOOTROM_PATCH_VERSION = 0x7
[0055.581] I> FUSE_PSCROM_PATCH_VERSION = 0x7
[0055.585] I> FUSE_OPT_ADC_CAL_FUSE_REV = 0x2
[0055.589] I> FUSE_SKU_INFO_0 = 0xd5
[0055.593] I> FUSE_OPT_SAMPLE_TYPE_0 = 0x3 PS
[0055.597] I> FUSE_PACKAGE_INFO_0 = 0x2
[0055.600] I> SKU: Prod
[0055.603] I> Task: Boost clocks
[0055.606] I> Initializing PLLC2 for AXI_CBB.
[0055.610] I> AXI_CBB : src = 35, divisor = 0
[0055.614] I> Task: Voltage monitor
[0055.617] I> VMON: Vmon re-calibration and fine tuning done
[0055.623] I> Task: UPHY init
[0055.628] I> HSIO UPHY init done
[0055.631] W> Skipping GBE UPHY config
[0055.634] I> Task: Boot device init
[0055.637] I> Boot_device: RCM
[0055.640] I> USB configuration success
[0056.341] I> Task: TSC init
[0056.344] I> Task: Load membct
[0056.347] I> RAM_CODE 0x4000031
[0056.350] I> Loading MEMBCT
[0056.353] I> Slot: 0
[0056.355] I> Binary[0] block-0 (partition size: 0x40000)
[0056.360] I> Binary name: MEM-BCT-0
[0056.363] I> Size of crypto header is 8192
[0056.367] I> Size of crypto header is 8192
[0056.371] I> BCH of MEM-BCT-0 read from storage
[0056.376] I> BCH address is : 0x40050000
[0056.380] I> MEM-BCT-0 header integrity check is success
[0056.385] I> Binary magic in BCH component 0 is MEM0
[0056.390] I> component binary type is 0
[0056.395] I> MEM-BCT-0 binary is read from storage
[0056.400] I> MEM-BCT-0 binary integrity check is success
[0056.405] I> Binary MEM-BCT-0 loaded successfully at 0x40040000 (0xe580)
[0056.411] I> RAM_CODE 0x4000031
[0056.417] I> RAM_CODE 0x4000031
[0056.421] I> Task: Load Page retirement list
[0056.425] I> Task: SDRAM params override
[0056.429] I> Task: Save mem-bct info
[0056.432] I> Task: Carveout allocate
[0056.435] I> Update CCPLEX IST carveout from MB1-BCT
[0056.440] I> ECC region[0]: Start:0x0, End:0x0
[0056.445] I> ECC region[1]: Start:0x0, End:0x0
[0056.449] I> ECC region[2]: Start:0x0, End:0x0
[0056.453] I> ECC region[3]: Start:0x0, End:0x0
[0056.457] I> ECC region[4]: Start:0x0, End:0x0
[0056.462] I> Non-ECC region[0]: Start:0x80000000, End:0x80000000
[0056.468] I> Non-ECC region[1]: Start:0x0, End:0x0
[0056.472] I> Non-ECC region[2]: Start:0x0, End:0x0
[0056.477] I> Non-ECC region[3]: Start:0x0, End:0x0
[0056.481] I> Non-ECC region[4]: Start:0x0, End:0x0
[0056.493] E> BL_CARVEOUT: Failed to allocate memory of size 0x4000000 for CO:43.
[0056.500] C> Task 0x20 failed (err: 0x49490303)
[0056.504] E> Top caller module: BL_CARVEOUT, error module: BL_CARVEOUT, reason: 0x03, aux_info: 0x03
[0056.513] C> Boot Info Table status dump :
01111111001110001111111111111111