I’ve been trying to flash a 1Tb NVMe drive as a boot drive on my Jetson Orin AGX, without success. Here is the background:
I’ve successfully installed the SSD as an external drive on the Jetson, using the Ubuntu Disks utility. I’ve tried doing both a quick ext4 format, and a “full” one where I erase the existing data.
As an external drive, I can mount it, copy folders and files with no errors. It also benchmarks ok, again using the Disks utility.
Using the SDK Manager on a Ubuntu 22.04 x86 desktop connected to the USB-C port beside the GPIO, I can flash the eMMC card without a problem. I use the automatic installation version and pre-config.
Doing the same steps as (3), but just changing eMMC for NVMe, I can’t get it to flash. Some of the errors are shown in the screen shots below.
The Jetson will not boot from the NVMe even if I set it manually using the Boot Options.
Booting from the eMMC shows that the NVMe drive hasn’t been touched. Any test files or folders I copied before the flash attempt are still there.
I’ve tried just flashing and not installing the runtime or SDK components. Same result.
I’ve tried having a monitor connecting to the Jetson during the flash, and also tried with the monitor switched off. Same result.
I’ve tried having setting the SSD to auto mount on the original eMMC. I’ve tried it without too. Same result.
Looking at the logs, and given that nothing gets erased from the drive, my guess is that the SDK Manager simply can’t write to it.
Any guesses anybody? I’m tearing what’s left of my hair out!!
I’m not using a custom board, it’s the Jetson Orin AGX dev kit 64Gb.
I’ve installed minicom on the host as per the instructions you linked to. How can I find out which port the Jetson is connected to on the host? The instructions say /dev/ttyACM0, but all I have are /dev/tty** and /dev/ttyS** entries.
Oh, I see. Thanks. After connecting a second USB cable from host to the Jetson’s micro USB port, I managed to capture ttyACM0. Both logs are now uploaded on the original post.
It seems not related to NVMe. But the NFS server mount failure. Only initrd flash will use this but flash.sh won’t. That is why you didn’t hit issue when flashing emmc.
TNETLINK answers: File exists
Waiting for device to expose ssh …Run command: flash on fc00:1:1:0::2
SSH ready
mount.nfs: Connection timed out
Flash failure
Cleaning up…
14:54:01.903 - Error: [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FLASH_JETSON_LINUX_COMP.simon.sh; [error]: 128412 blocks