I'm trying to flash a Linux image on the custom board via recovery mode

Hi,
I’m trying to flash a Linux image on the custom board via recovery mode.
When connected with a USB 2.0 B type, it shows “Bus 003 Device 069: ID 0955:7323 NVIDIA Corp APX” in lsusb.
When I attempt to flash using the command below, it produces an error.

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --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

How can I resolve the issue?

Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for device to expose ssh …RTNETLINK answers: File exists
RTNETLINK answers: File exists
Waiting for device to expose ssh …Run command: flash on fc00:1:1:0::2
SSH ready
blockdev: cannot open /dev/mmcblk0boot0: No such file or directory
[ 0]: l4t_flash_from_kernel: Starting to create gpt for emmc
Active index file is /mnt/internal/flash.idx
Number of lines is 58
max_index=57
[ 1]: l4t_flash_from_kernel: Successfully create gpt for emmc
[ 1]: l4t_flash_from_kernel: Starting to create gpt for external device
Active index file is /mnt/external/flash.idx
Number of lines is 17
max_index=16
writing item=1, 9:0:primary_gpt, 512, 19968, gpt_primary_9_0.bin, 16896, fixed--0, 7dae5dcc578833f0d4b32bb54ede937b275ee12f
Error: Could not stat device /dev/nvme0n1 - No such file or directory.
Flash failure
Cleaning up…
exportfs: /etc/exports [2]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “192.168.0.*:/home/user/nfs”.
Assuming default behaviour (‘no_subtree_check’).
NOTE: this default has changed since nfs-utils version 1.0.x

exportfs: /etc/exports [3]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “192.168.1.*:/home/user/nfs”.
Assuming default behaviour (‘no_subtree_check’).
NOTE: this default has changed since nfs-utils version 1.0.x

So does your board detects the nvme or not? You should use uart log to check.

If nvme is not able to be detected, then your flash command of course won’t work.

Looks like your own post already answered that.

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