Orin Nano flashing failed

Hi,Nvidia
I have tried more than a dozen times and have been reporting the following error

19:38:51.777 - Error: Flash failure.
19:38:51.780 - Error: Either the device cannot mount the NFS server on the host or a flash command has failed. Check your network setting (VPN, firewall,...) to make sure the device can mount NFS server. Debug log saved to /tmp/tmp.nkhP1BYqmn. You can access the target's terminal through "sshpass -p root ssh root@fc00:1:1:0::2"
19:38:51.782 - Debug: The last 5 lines of the debug log are:
00:00:46.903 - Debug: Writing A_kernel partition with boot.img
00:00:46.909 - Debug: Get size of partition through connection.
00:00:46.957 - Debug: 58173440 bytes from /mnt/external/boot.img to /dev/nvme0n1: 1KB block=56810 remainder=0
00:00:46.961 - Debug: dd if=/mnt/external/boot.img of=/dev/nvme0n1 bs=1K skip=0  seek=20 count=56810
Cleaning up...
lihao@lihao:~/hello/Nano/orin_bsp_36_4_4/Linux_for_Tegra$ sudo ufw status
Status: inactive

lihao@lihao:~/hello/Nano/orin_bsp_36_4_4/Linux_for_Tegra$ cat 1_flash_image.sh 
#!/usr/bin/env bash

set -e
CUR_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"

cd ${CUR_DIR}
sudo ./tools/kernel_flash/l4t_initrd_flash.sh \
    --external-device nvme0n1p1 \
    -c tools/kernel_flash/flash_l4t_t234_nvme.xml \
    -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" \
    --showlogs --network usb0 upai-pro02-box-a00 internal

Hi @IvanLL,

I hope you are doing well!

I have a few questions to help troubleshoot the flashing issue:

  1. Are you using a custom carrier board for the Jetson?
  2. Are you running the flash on a virtual machine or a native Ubuntu host? Which Ubuntu version are you using?
  3. Can you confirm that the NFS server is enabled on your host? You can check with:
sudo systemctl status nfs-server

I found this forum which may help you solve the issue: Flash Error (Flash Jetson Linux - flash: [ 0.0106 ] ERROR: failed to read rcm_state) - #6 by nanxue2022

Additionally, sometimes flashing can fail due to a faulty USB cable. If possible, try using a different high-quality USB data cable.

It also would be helpful if you could share:

  • The full host-side logs from the flashing process.
  • The serial console logs from the Jetson device.

Best regards,
Nico

Hi @nico.morua

1.I’m using my own motherboard instead of the official one, but I can sometimes flash it successfully on a Lenovo host, so the motherboard should be fine.

2.I’m not using a virtual machine — I’m running it on a native Ubuntu 20.04 host.
3.

lihao@lihao:~/hello/Nano/orin_os_36_4_4/Linux_for_Tegra/source$ sudo systemctl status nfs-server
● nfs-server.service - NFS server and services
     Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
    Drop-In: /run/systemd/generator/nfs-server.service.d
             └─order-with-mounts.conf
     Active: active (exited) since Wed 2025-10-29 09:24:45 CST; 2h 8min ago
    Process: 1224 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
    Process: 1232 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=0/SUCCESS)
   Main PID: 1232 (code=exited, status=0/SUCCESS)

Oct 29 09:24:44 lihao systemd[1]: Starting NFS server and services...
Oct 29 09:24:45 lihao systemd[1]: Finished NFS server and services.

I’ve already replaced it with a high-speed USB data cable, but the issue still occurs.
I’ll post the complete log once I finish my other tasks and also try the thread you mentioned.
Thanks a lot for your help and suggestions!

Hi @IvanLL,

Any updates on this issue?

Were you able to extract the logs for me to review?

Feel free to reach out for any further support.

Best regards,
Nico
Embedded Software Engineer at ProventusNova

Hi @nico.morua
Sorry for replying to you so late. I’ve resolved the issue.
First, it must have a cooling fan added;
second, it needs to be connected via the serial port.
The second factor has the most direct impact — without the serial port connected, it will keep failing. This is likely related to the power supply design on the backplane I created.

1 Like

Hi @IvanLL,

Glad to hear you resolved the issue!

If you need any further support, don’t hesitate to reach out - We’ll be happy to help!

Best regards,
Nico
Embedded Software Engineer at ProventusNova

1 Like

@nico.morua Hi bro, I encountered some problems while using SPI as a slave. Could you give me some help?