Fail to flash jetson orin nano developer kit with NVMe

Hi All,

I am trying to flash my jetson orin nano with SDKManager. It is successful on the SD card, but fail on the NVMe drive.

I followed this post and try

  1. Flash with different USB port
  2. remove /etc/exports on your host
  3. remove ~/.nvsdkm/
  4. Format the drive to ext4 (with successfully flashed SD card image, able to mount the drive)
    But all methods fail.

The error stuck at rpcbind

Attached with the log of the SDKManager with the latest version.


SDKM_logs_JetPack_6.2_Linux_for_Jetson_Orin_Nano_[8GB_developer_kit_version]_2025-01-18_19-11-07.zip (1.6 MB)

Please kindly advise.

sudo systemctl restart rpcbind

sudo systemctl status rpcbind

sudo journalctl -u rpcbind

sudo netstat -tulnp | grep 111

sudo ufw status

all show up normal. And the error show large amount of Read-only file system error while trying to flash the file to the drive.

19:25:22.547 - Info: ***************************************
19:25:22.547 - Info: *                                     *
19:25:22.547 - Info: *  Step 3: Start the flashing process *
19:25:22.547 - Info: *                                     *
19:25:22.547 - Info: ***************************************

...

19:26:16.799 - Info: Model: PCIe SSD (nvme)
19:26:16.799 - Info: Disk /dev/nvme0n1: 512GB
19:26:16.799 - Info: Sector size (logical/physical): 512B/512B
19:26:16.799 - Info: Partition Table: gpt
19:26:16.799 - Info: Disk Flags: 
19:26:16.799 - Info: 
19:26:16.799 - Info: Number  Start   End     Size    File system  Name                Flags
19:26:16.799 - Info:  2      20.5kB  134MB   134MB                A_kernel            msftdata
19:26:16.799 - Info:  3      134MB   135MB   786kB                A_kernel-dtb        msftdata
19:26:16.799 - Info:  4      135MB   168MB   33.2MB               A_reserved_on_user  msftdata
19:26:16.799 - Info:  5      168MB   302MB   134MB                B_kernel            msftdata
19:26:16.799 - Info:  6      302MB   303MB   786kB                B_kernel-dtb        msftdata
19:26:16.799 - Info:  7      303MB   336MB   33.2MB               B_reserved_on_user  msftdata
19:26:16.799 - Info:  8      336MB   420MB   83.9MB               recovery            msftdata
19:26:16.799 - Info:  9      420MB   421MB   524kB                recovery-dtb        msftdata
19:26:16.799 - Info: 10      421MB   488MB   67.1MB  fat32        esp                 boot, esp
19:26:16.799 - Info: 11      488MB   572MB   83.9MB               recovery_alt        msftdata
19:26:16.799 - Info: 12      572MB   572MB   524kB                recovery-dtb_alt    msftdata
19:26:16.799 - Info: 13      572MB   639MB   67.1MB               esp_alt             msftdata
19:26:16.799 - Info: 14      639MB   1059MB  419MB                UDA                 msftdata
19:26:16.799 - Info: 15      1059MB  1562MB  503MB                reserved            msftdata
19:26:16.799 - Info:  1      1562MB  61.2GB  59.6GB  ext4         APP                 msftdata
19:26:16.799 - Info: 
19:26:16.799 - Info: [ 29]: l4t_flash_from_kernel: Expanding last partition to fill the storage device
19:26:16.833 - Info: [ 29]: l4t_flash_from_kernel: Successfully create gpt for external device
19:26:16.834 - Info: [ 29]: l4t_flash_from_kernel: Starting to flash to emmc
19:26:16.835 - Info: Active index file is /mnt/internal/flash.idx
19:26:16.835 - Info: Flash index file is /mnt/internal/flash.idx
19:26:16.835 - Info: Number of lines is 61
19:26:16.835 - Info: [ 29]: l4t_flash_from_kernel: Starting to flash to external device
19:26:16.835 - Info: Number of lines is 61
19:26:16.835 - Info: max_index=60
19:26:16.835 - Info: max_index=60
19:26:16.835 - Info: Active index file is /mnt/external/flash.idx
19:26:16.836 - Info: Number of lines is 18
19:26:16.836 - Info: max_index=17
19:26:16.843 - Info: [ 29]: l4t_flash_from_kernel: Starting to flash to qspi
19:26:16.849 - Info: QSPI storage size: 67108864 bytes.
19:26:16.853 - Info: writing item=0, 9:0:master_boot_record, 0, 512, mbr_9_0.bin, 512, fixed-<reserved>-0, 694898d1c345bdb31b377790ed7fc0b0db184bf7
19:26:16.868 - Info: writing item=1, 9:0:primary_gpt, 512, 19968, gpt_primary_9_0.bin, 16896, fixed-<reserved>-0, 31ceb69198233b1d8fcbc7b34ba35436539a07aa
19:26:16.884 - Info: writing item=2, 9:0:A_kernel, 20480, 134217728, boot.img, 58963968, fixed-<reserved>-2, 0cdf00c36ee7b104169d811c359ce9ae4d98f9ee
19:26:16.917 - Info: Writing A_kernel partition with boot.img
19:26:16.919 - Info: Get size of partition through connection.
19:26:17.049 - Info: 58963968 bytes from /mnt/external/boot.img to /dev/nvme0n1: 1KB block=57582 remainder=0
19:26:17.049 - Info: dd if=/mnt/external/boot.img of=/dev/nvme0n1 bs=1K skip=0  seek=20 count=57582
19:26:17.955 - Info: [ 30]: l4t_flash_from_kernel: Successfully flash the emmc
19:26:20.072 - Info: 57582+0 records in
19:26:20.072 - Info: 57582+0 records out
19:26:20.072 - Info: 58963968 bytes (59 MB, 56 MiB) copied, 3.02176 s, 19.5 MB/s
19:26:20.078 - Info: Writing A_kernel partition done
19:26:20.093 - Info: writing item=3, 9:0:A_kernel-dtb, 134238208, 786432, kernel_tegra234-p3768-0000+p3767-0005-nv-super.dtb, 249353, fixed-<reserved>-3, a26ad92d82c63ade216bc8ec55583fac0f6e8a0f
19:26:20.124 - Info: Writing A_kernel-dtb partition with kernel_tegra234-p3768-0000+p3767-0005-nv-super.dtb
19:26:20.125 - Info: Get size of partition through connection.
19:26:20.156 - Info: 249353 bytes from /mnt/external/kernel_tegra234-p3768-0000+p3767-0005-nv-super.dtb to /dev/nvme0n1: 1KB block=243 remainder=521
19:26:20.156 - Info: dd if=/mnt/external/kernel_tegra234-p3768-0000+p3767-0005-nv-super.dtb of=/dev/nvme0n1 bs=1K skip=0  seek=131092 count=243
19:26:20.160 - Info: 243+0 records in
19:26:20.160 - Info: 243+0 records out
19:26:20.160 - Info: 248832 bytes (249 kB, 243 KiB) copied, 0.0032368 s, 76.9 MB/s
19:26:20.162 - Info: dd if=/mnt/external/kernel_tegra234-p3768-0000+p3767-0005-nv-super.dtb of=/dev/nvme0n1 bs=1 skip=248832  seek=134487040 count=521
19:26:20.164 - Info: 521+0 records in
19:26:20.164 - Info: 521+0 records out
19:26:20.164 - Info: 521 bytes copied, 0.00108426 s, 481 kB/s
19:26:20.167 - Info: Writing A_kernel-dtb partition done
19:26:20.180 - Info: writing item=4, 9:0:A_reserved_on_user, 135024640, 33161216, , , fixed-<reserved>-4, 
19:26:20.209 - Info: [ 33]: l4t_flash_from_kernel: Warning: skip writing A_reserved_on_user partition as no image is specified
19:26:20.222 - Info: writing item=5, 9:0:B_kernel, 168185856, 134217728, boot.img, 58963968, fixed-<reserved>-5, 0cdf00c36ee7b104169d811c359ce9ae4d98f9ee
19:26:20.253 - Info: Writing B_kernel partition with boot.img
19:26:20.254 - Info: Get size of partition through connection.
19:26:20.270 - Info: 58963968 bytes from /mnt/external/boot.img to /dev/nvme0n1: 1KB block=57582 remainder=0
19:26:20.270 - Info: dd if=/mnt/external/boot.img of=/dev/nvme0n1 bs=1K skip=0  seek=164244 count=57582
19:26:20.829 - Info: 57582+0 records in
19:26:20.829 - Info: 57582+0 records out
19:26:20.829 - Info: 58963968 bytes (59 MB, 56 MiB) copied, 0.557137 s, 106 MB/s
19:26:20.832 - Info: Writing B_kernel partition done
19:26:20.845 - Info: writing item=6, 9:0:B_kernel-dtb, 302403584, 786432, kernel_tegra234-p3768-0000+p3767-0005-nv-super.dtb, 249353, fixed-<reserved>-6, a26ad92d82c63ade216bc8ec55583fac0f6e8a0f
19:26:20.875 - Info: Writing B_kernel-dtb partition with kernel_tegra234-p3768-0000+p3767-0005-nv-super.dtb
19:26:20.876 - Info: Get size of partition through connection.
19:26:20.896 - Info: 249353 bytes from /mnt/external/kernel_tegra234-p3768-0000+p3767-0005-nv-super.dtb to /dev/nvme0n1: 1KB block=243 remainder=521
19:26:20.896 - Info: dd if=/mnt/external/kernel_tegra234-p3768-0000+p3767-0005-nv-super.dtb of=/dev/nvme0n1 bs=1K skip=0  seek=295316 count=243
19:26:20.900 - Info: 243+0 records in
19:26:20.900 - Info: 243+0 records out
19:26:20.900 - Info: 248832 bytes (249 kB, 243 KiB) copied, 0.00323494 s, 76.9 MB/s
19:26:20.902 - Info: dd if=/mnt/external/kernel_tegra234-p3768-0000+p3767-0005-nv-super.dtb of=/dev/nvme0n1 bs=1 skip=248832  seek=302652416 count=521
19:26:20.905 - Info: 521+0 records in
19:26:20.905 - Info: 521+0 records out
19:26:20.905 - Info: 521 bytes copied, 0.00113344 s, 460 kB/s
19:26:20.908 - Info: Writing B_kernel-dtb partition done
19:26:20.920 - Info: writing item=7, 9:0:B_reserved_on_user, 303190016, 33161216, , , fixed-<reserved>-7, 
19:26:20.951 - Info: [ 33]: l4t_flash_from_kernel: Warning: skip writing B_reserved_on_user partition as no image is specified
19:26:20.964 - Info: writing item=8, 9:0:recovery, 336351232, 83886080, recovery.img, 64065536, fixed-<reserved>-8, f36ea6576155fc5e43efb90e7e705844084819e1
19:26:20.995 - Info: Writing recovery partition with recovery.img
19:26:20.996 - Info: Get size of partition through connection.
19:26:21.116 - Info: 64065536 bytes from /mnt/external/recovery.img to /dev/nvme0n1: 1KB block=62564 remainder=0
19:26:21.116 - Info: dd if=/mnt/external/recovery.img of=/dev/nvme0n1 bs=1K skip=0  seek=328468 count=62564
19:26:24.395 - Info: 62564+0 records in
19:26:24.395 - Info: 62564+0 records out
19:26:24.395 - Info: 64065536 bytes (64 MB, 61 MiB) copied, 3.27698 s, 19.6 MB/s
19:26:24.399 - Info: Writing recovery partition done
19:26:24.413 - Info: writing item=9, 9:0:recovery-dtb, 420237312, 524288, tegra234-p3768-0000+p3767-0005-nv-super.dtb.rec, 249353, fixed-<reserved>-9, a26ad92d82c63ade216bc8ec55583fac0f6e8a0f
19:26:24.445 - Info: Writing recovery-dtb partition with tegra234-p3768-0000+p3767-0005-nv-super.dtb.rec
19:26:24.447 - Info: Get size of partition through connection.
19:26:24.477 - Info: 249353 bytes from /mnt/external/tegra234-p3768-0000+p3767-0005-nv-super.dtb.rec to /dev/nvme0n1: 1KB block=243 remainder=521
19:26:24.477 - Info: dd if=/mnt/external/tegra234-p3768-0000+p3767-0005-nv-super.dtb.rec of=/dev/nvme0n1 bs=1K skip=0  seek=410388 count=243
19:26:24.482 - Info: 243+0 records in
19:26:24.482 - Info: 243+0 records out
19:26:24.482 - Info: 248832 bytes (249 kB, 243 KiB) copied, 0.00340797 s, 73.0 MB/s
19:26:24.483 - Info: dd if=/mnt/external/tegra234-p3768-0000+p3767-0005-nv-super.dtb.rec of=/dev/nvme0n1 bs=1 skip=248832  seek=420486144 count=521
19:26:24.485 - Info: 521+0 records in
19:26:24.485 - Info: 521+0 records out
19:26:24.485 - Info: 521 bytes copied, 0.00109098 s, 478 kB/s
19:26:24.489 - Info: Writing recovery-dtb partition done
19:26:24.502 - Info: writing item=10, 9:0:esp, 420761600, 67108864, esp.img, 67108864, fixed-<reserved>-10, 6e9081a09e15d438ba61eb56e04cdf259554ceda
19:26:24.531 - Info: Writing esp partition with esp.img
19:26:24.532 - Info: Get size of partition through connection.
19:26:24.653 - Info: 67108864 bytes from /mnt/external/esp.img to /dev/nvme0n1: 1KB block=65536 remainder=0
19:26:24.653 - Info: dd if=/mnt/external/esp.img of=/dev/nvme0n1 bs=1K skip=0  seek=410900 count=65536
19:26:28.052 - Info: 65536+0 records in
19:26:28.052 - Info: 65536+0 records out
19:26:28.052 - Info: 67108864 bytes (67 MB, 64 MiB) copied, 3.39767 s, 19.8 MB/s
19:26:28.056 - Info: Writing esp partition done
19:26:28.068 - Info: writing item=11, 9:0:recovery_alt, 487870464, 83886080, , , fixed-<reserved>-11, 
19:26:28.100 - Info: [ 41]: l4t_flash_from_kernel: Warning: skip writing recovery_alt partition as no image is specified
19:26:28.112 - Info: writing item=12, 9:0:recovery-dtb_alt, 571756544, 524288, , , fixed-<reserved>-12, 
19:26:28.143 - Info: [ 41]: l4t_flash_from_kernel: Warning: skip writing recovery-dtb_alt partition as no image is specified
19:26:28.156 - Info: writing item=13, 9:0:esp_alt, 572280832, 67108864, , , fixed-<reserved>-13, 
19:26:28.185 - Info: [ 41]: l4t_flash_from_kernel: Warning: skip writing esp_alt partition as no image is specified
19:26:28.199 - Info: writing item=14, 9:0:UDA, 639401984, 419430400, , , fixed-<reserved>-14, 
19:26:28.211 - Info: [ 41]: l4t_flash_from_kernel: Skip writing UDA partition
19:26:28.224 - Info: writing item=15, 9:0:reserved, 1058832384, 502792192, , , fixed-<reserved>-15, 
19:26:28.254 - Info: [ 41]: l4t_flash_from_kernel: Warning: skip writing reserved partition as no image is specified
19:26:28.267 - Info: writing item=16, 9:0:APP, 1561624576, 59641638912, , , expand-<reserved>-1, 
19:26:28.449 - Info: Formatting APP partition /dev/nvme0n1p1 ...
19:26:28.484 - Info: mke2fs 1.46.5 (30-Dec-2021)
19:26:28.501 - Info: Discarding device blocks:         0/124645641                   done                            
19:26:28.501 - Info: Creating filesystem with 124645641 4k blocks and 31162368 inodes
19:26:28.501 - Info: Filesystem UUID: be839674-a840-4edb-88a2-3db52d137520
19:26:28.501 - Info: Superblock backups stored on blocks: 
19:26:28.501 - Info: 	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
19:26:28.501 - Info: 	4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
19:26:28.501 - Info: 	102400000
19:26:28.501 - Info: 
19:26:28.501 - Info: Allocating group tables:    0/3804         done                            
19:26:28.597 - Info: Writing inode tables:    0/3804         done                            
19:26:28.602 - Info: Creating journal (262144 blocks): done
19:26:28.602 - Info: Writing superblocks and filesystem accounting information:    0/3804         done
19:26:28.602 - Info: 
19:26:28.792 - Info: Formatting APP parition done
19:26:28.834 - Info: Formatting APP partition /dev/nvme0n1p1 ...
19:26:28.834 - Info: tar --checkpoint-action="ttyout=Hit %s checkpoint #%u%*\r" -x -I 'zstd -T0' -pf /mnt/external/system.img  --warning=no-timestamp --numeric-owner --xattrs --xattrs-include=*  -C  /tmp/ci-StwlyK03zX
19:26:42.375 - Info: tar: ./usr/lib/thunderbird/libxul.so: Cannot utime: Read-only file system
19:26:42.375 - Info: tar: ./usr/lib/thunderbird/libxul.so: Cannot change ownership to uid 0, gid 0: Read-only file system
19:26:42.375 - Info: tar: ./usr/lib/thunderbird/libxul.so: Cannot change mode to rw-r--r--: Read-only file system
19:26:43.461 - Info: tar: ./usr/lib/thunderbird/omni.ja: Cannot open: No such device or address
19:26:43.461 - Info: tar: ./usr/lib/thunderbird/isp: Cannot mkdir: Input/output error
19:26:43.461 - Info: tar: ./usr/lib/thunderbird/isp/DSPAM.sfd: Cannot open: Input/output error```

My thoughts are toss that NVMe in the trash and get another one.

Not sure how the permissions would be incorrect or the image would have been corrupted.

At this point it is much faster to test another drive and eliminate hardware. Also, completely wipe the drive and do not format it or partition it then try again.

1 Like

The NVMe work just fine on the same machine while using SD card as the main boot medium. It works well on raspberry pi as well.

I have tried completely wipe the drive as well.

They have a funky bootloader set up, to me it seemed overly complex. I would flash a new kernel and it would still boot on the old kernel, it is like really…Had to manually transfer the Image over and then boot.

At this point, on a normal system I would look at uboot args and extlinux.conf, uEnv.txt and make sure it is pointing to your nmve partition.

I am waiting on a replacement board so I cannot look into this until a replacement arrives.

It works on a new crucial SSD.

1 Like

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