I am trying to flash the Xavier NX production module using the ./tools/kernel_flash/l4t_initrd_flash.sh script to boot from the NVMe ssd. I followed both the workflows 2 and 3 mentioned in the README_initrd_flash.txt file and also used the nvsdkmanager_flash.sh script, but it doesn’t seem to work. Following are the exact steps I followed.
Workflow 3 steps followed:
Download the BSP packages and sample rootfs using SDK manager for Jetpack 4.6 (rev 2).
Restarted the udisk2 service using sudo systemctl start udisks2.service.
It goes to “Step 3: Start the flashing process”, prints “Waiting for board to boot-up…” message bunch of times and it Timeout and exits after printing “Cleaning up…”. When I reboot the NX it shows the Nvidia logo and prints boot messages and quickly reboots before I can read anything from the boot messages. It would be great if someone can help me figure out what I am missing here.
Thanks for you reply. I have tried $sudo ./nvsdkmanager_flash.sh --storage nvme0n1p1. I got the same thing.
I have attached the serial debug console logs from flashing and booting process. flash_and_boot_debug_console_log.txt (110.8 KB)
Check your log, when script run ‘Step 3: Start the flashing process’ steps, the host can’t find your target NVMe SSD.
Please check your Xavier-NX board first, make sure you can see the 'll /dev/nvme0n*' external device.
@carolyuu Same issue. We have Auvidea JNX carrier boards. Do we have to modify some flashing scripts? In our case even the ./flash.sh cannot load firmware correctly to an external SSD. If we use ./flash.sh on eMMC then after flashing we see /dev/nvme0n1. Our SSDs (M.2 interface on carrier board) are 2TB. $sudo ./nvsdkmanager_flash.sh --storage nvme0n1p1 also fails.
@WayneWWW Hello. Can certainly do this again early next week (after Thanksgiving holidays) after I have access to the board at work. What I have been doing is format nvme01 using command @carolyuu mentioned. Then use sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1 to erase/flash eMMC (while NVMe was installed on the board). After completing board’s usename/password initial setup reboot the board,then run sudo fdisk -l command and see /dev/nvme0n1. It is present. However, this time I will remove nvme01 (format as ext4 separately) and then flash the board first and install nvme01 and reboot and see if it detects (just to be meticulous).
Check earlier log that’s host can’t find your target NVMe SSD.
I tried again with the same command and flash on Xavier-NX-emmc + NVMe SSD, confirmed I still can flash success.
Can you try another NVMe SSD?