Hi,
We have been using an mfi file to flash our NVMe PCIe card. It’s a 240G and has been working well. However, we just received a new order which are the same size and manufacturer.
However, they cannot be flashed. I have attached the logs.
Can anyone tell me why this is not flashing.
Thanks
Malcolm
tmp.zip (3.0 KB)
Flash Failure.zip (3.7 KB)
Just a bit more information. The command we use is:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash 1
It has been working for other NVMe’s.
We are using Jetson_Linux_R36.5.0.
Immediately after a flash failure, try sshpass to connect to the still powered on, still in recovery mode, Orin initrd environment from the host. If that works then run lsblk on it and on a successfully flashed board to confirm identical nvme ssd and mmc device geometry.
sshpass -p root ssh root@fc00:1:1:0::2
lsblk -b -d -o NAME,MODEL,SERIAL,SIZE,LOG-SEC,PHY-SEC
# edit:
sudo nvme list
sudo nvme id-ctrl /dev/nvme0 | grep -E "^mn|^fr"
sudo nvme id-ns /dev/nvme0n1 -H | grep "LBA Format"
grep -C4 "Double check whether" tools/kernel_flash/l4t_flash_from_kernel.sh
# the devnode here.
disk="/dev/$(get_disk_name "${external_device}")"
if ! [ -b "${disk}" ]; then
print_at_end "Error: External storage device (${disk}) might be unavailable or not work correctly. Please unplug the power supply and reattach the external storage."
print_at_end "Error: Double check whether you have selected the correct external storage device: nvme0n1 for NVMe SSD, sda for USB, mmcblk0/mmcblk1 for SD card storage "
exit 1
fi
-b tests if FILE exists and is block special
And if physically possible on your board, since the massflash package previously worked, you could try a known-good nvme drive in a failing unit.
please also check the UART log on device side.
Hi,
I wasn’t able to get the uart output today. I did try the root login (sshpass -p root ssh root@fc00:1:1:0::2).
This is what I see from the NVMe that do program:
mtdblock0 67108864 512 512
mmcblk0 0x366281f4 63652757504 512 512
mmcblk0boot0 33030144 512 512
mmcblk0boot1 33030144 512 512
nvme0n1 Sandisk Optimus GX 7100M 1TB 26203J800328 1000204886016 512 512
When I run the same command for the new NVMe:
NAME MODEL SERIAL SIZE LOG-SEC PHY-SEC
mtdblock0 67108864 512 512
mmcblk0 0x36715054 63652757504 512 512
mmcblk0boot0 33030144 512 512
mmcblk0boot1 33030144 512 512
There is no nvme0n1 seen.
What would cause the same type (newly purchased) of NVMe to not show up?
Malcolm
You could swap the nvme drives between two Orin boards?
Test What it establishes
Known-good SSD in failing Jetson Whether the failing Jetson can detect a proven and flashed SSD
New SSD in working Jetson Whether the new SSD can be detected by proven hardware
Are there any NVMe’s that are not compatible with Orin AGX’s that we should be aware of?
We are going to get new NVMe’s.
Thanks, for your help.
There is no such list.
Your UART log will tell what is exactly wrong with that NVMe. If you don’t or can’t check UART log, then just try other kind of NVMe first.