Issue with flashing Jetson Orin NX. Wainting for target to boot-up

Hello,
I’m trying to flash my Jetson Orin NX, but I’m facing an issue.
For context, I’m using WSL2, Ubuntu 20.04. I’ve followed these tutorials step-by-step:

https://docs.nvidia.com/sdk-manager/wsl-systems/index.html#wsl-systems-flash-jetson

However, when I executed the line below, I got some errors.
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash 1 --network usb0 --showlogs

At first, the output showed:
cat: /sys/module/usbcore/parameters/autosuspend: No such file or directory
./tools/kernel_flash/l4t_initrd_flash.sh: line 43: remove_udev_rules: command not found
So, following the answers in this post (Seeed J3011/J401 Orin Nano flashing fails - line 43: remove_udev_rules: command not found), I removed all the lines related to “autosuspend” in the l4t_initrd_flash.sh file.

After that, I executed “sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash 1 --network usb0 --showlogs” again and when the process gets to step 3 (Start the flashing process) the output is:
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Timeout
Device failed to boot to the initrd flash kernel. Please retrive the serial log during flashing to debug further.
Cleaning up…

The complete output is:

/home/laura/Downloads/mfi_recomputer-orin-j401/recomputer-orin-j401.conf: line 29: /home/laura/Downloads/mfi_recomputer-orin-j401/p3768-0000-p3767-0000-a0.conf: No such file or directory
/home/laura/Downloads/mfi_recomputer-orin-j401/recomputer-orin-j401.conf: line 29: /home/laura/Downloads/mfi_recomputer-orin-j401/p3768-0000-p3767-0000-a0.conf: No such file or directory
/home/laura/Downloads/mfi_recomputer-orin-j401/tools/kernel_flash/l4t_initrd_flash_internal.sh --network usb0 --usb-instance 1-1 --device-instance 0 --flash-only --external-device nvme0n1p1 -c “tools/kernel_flash/flash_l4t_nvme.xml” -S 80GiB --network usb0 recomputer-orin-j401 external
/home/laura/Downloads/mfi_recomputer-orin-j401/recomputer-orin-j401.conf: line 29: /home/laura/Downloads/mfi_recomputer-orin-j401/p3768-0000-p3767-0000-a0.conf: No such file or directory

Entry added by NVIDIA initrd flash tool

/home/laura/Downloads/mfi_recomputer-orin-j401/tools/kernel_flash/tmp 127.0.0.1(rw,nohide,insecure,no_subtree_check,async,no_root_squash)
Export list for localhost:
/home/laura/Downloads/mfi_recomputer-orin-j401/tools/kernel_flash/tmp 127.0.0.1
/home/laura/Downloads/mfi_recomputer-orin-j401/recomputer-orin-j401.conf: line 29: /home/laura/Downloads/mfi_recomputer-orin-j401/p3768-0000-p3767-0000-a0.conf: No such file or directory


  •                                        *
    
  • Step 1: Build the flashing environment *
  •                                        *
    

Create flash environment 0
/home/laura/Downloads/mfi_recomputer-orin-j401/bootloader /home/laura/Downloads/mfi_recomputer-orin-j401
/home/laura/Downloads/mfi_recomputer-orin-j401
Finish creating flash environment 0.


  •                                              *
    
  • Step 2: Boot the device with flash initrd image *
  •                                              *
    

/home/laura/Downloads/mfi_recomputer-orin-j401/temp_initrdflash/bootloader0 /home/laura/Downloads/mfi_recomputer-orin-j401
./tegraflash.py --bl uefi_jetson_with_dtb_sigheader.bin.encrypt --bct br_bct_BR.bct --securedev --bldtb tegra234-j401-p3768-0000+p3767-0000-recomputer.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; tsec_fw tsec_t234_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; 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-a02-3509-a02_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; kernel boot0.img; kernel_dtb tegra234-j401-p3768-0000+p3767-0000-recomputer.dtb” --bct_backup --instance 1-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

Entering RCM boot

[ 0.0731 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from --mb1_bin
[ 0.0731 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from --psc_bl1_bin
[ 0.0731 ] rcm boot with presigned binaries
[ 0.0742 ] tegrarcm_v2 --instance 1-1 --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.0749 ] BR_CID: 0x80012344705DD7811C0000000A010040
[ 0.0770 ] Sending bct_br
[ 0.0774 ] Sending mb1
[ 0.0799 ] Sending psc_bl1
[ 0.0984 ] Sending bct_mb1
[ 0.1082 ] Generating blob for T23x
[ 0.1100 ] tegrahost_v2 --chip 0x23 0 --generateblob blob.xml blob.bin
[ 0.1107 ] The number of images in blob is 19
[ 0.1108 ] blobsize is 107839651
[ 0.1108 ] Added binary blob_uefi_jetson_with_dtb_sigheader.bin.encrypt of size 3592256
[ 0.1358 ] Added binary blob_pscfw_t234_prod_sigheader.bin.encrypt of size 310768
[ 0.1362 ] Added binary blob_mce_flash_o10_cr_prod_sigheader.bin.encrypt of size 187120
[ 0.1364 ] Added binary blob_tsec_t234_sigheader.bin.encrypt of size 176128
[ 0.1365 ] Added binary blob_applet_t234_sigheader.bin.encrypt of size 279616
[ 0.1366 ] Not supported type: mb2_applet
[ 0.1367 ] Added binary blob_mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt of size 439968
[ 0.1370 ] Added binary blob_xusb_t234_prod_sigheader.bin.encrypt of size 164864
[ 0.1371 ] Added binary blob_nvpva_020_sigheader.fw.encrypt of size 2164640
[ 0.1384 ] Added binary blob_display-t234-dce_sigheader.bin.encrypt of size 12065552
[ 0.1425 ] Added binary blob_nvdec_t234_prod_sigheader.fw.encrypt of size 294912
[ 0.1441 ] Added binary blob_bpmp_t234-TE980M-A1_prod_sigheader.bin.encrypt of size 1027008
[ 0.1446 ] Added binary blob_tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt of size 383232
[ 0.1449 ] Added binary blob_camera-rtcpu-t234-rce_sigheader.img.encrypt of size 458096
[ 0.1451 ] Added binary blob_adsp-fw_sigheader.bin.encrypt of size 414976
[ 0.1453 ] Added binary blob_spe_t234_sigheader.bin.encrypt of size 270336
[ 0.1454 ] Added binary blob_tos-optee_t234_sigheader.img.encrypt of size 1633344
[ 0.1460 ] Added binary blob_eks_t234_sigheader.img.encrypt of size 9232
[ 0.1463 ] Added binary blob_boot0.img of size 83722240
[ 0.1944 ] Added binary blob_tegra234-j401-p3768-0000+p3767-0000-recomputer.dtb of size 244259
[ 0.2710 ] tegrarcm_v2 --instance 1-1 --chip 0x23 0 --pollbl --download bct_mem mem_rcm_sigheader.bct.encrypt --download blob blob.bin
[ 0.2718 ] BL: version 1.4.0.2-t234-54845784-08a4de08 last_boot_error: 0
[ 0.3720 ] Sending bct_mem
[ 0.3726 ] Sending blob
[ 7.3461 ] RCM-boot started

/home/laura/Downloads/mfi_recomputer-orin-j401


  •                                 *
    
  • Step 3: Start the flashing process *
  •                                 *
    

Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Timeout
Device failed to boot to the initrd flash kernel. Please retrive the serial log during flashing to debug further.
Cleaning up…

Thank you so much in advance.

Better clean up the format as a text file attachment directly. Hard to read this comment directly.

/home/laura/Downloads/mfi_recomputer-orin-j401/recomputer-orin-j401.conf: line 29: /home/laura/Downloads/mfi_recomputer-orin-j401/p3768-0000-p3767-0000-a0.conf: No such file or directory
/home/laura/Downloads/mfi_recomputer-orin-j401/recomputer-orin-j401.conf: line 29: /home/laura/Downloads/mfi_recomputer-orin-j401/p3768-0000-p3767-0000-a0.conf: No such file or directory

And please contact with vendor if missing such file is normal or not. From my point of view, this should be not missing.

And please dump the uart serial console log during flash process too.

Okay, I’ll contact the vendor, ask about that file and I will write an update.
Thank you!