How to flash JetPack 5.1.2 image to NVMe SSD on Xavier NX, and bootup from NVMe SSD

We can flash JetPack 5.1.2 image to eMMC on our Xavier NX custimer carrirer board, and it could bootup from eMMC now.
But the eMMC size of Xaver NX is only 16GB, and it is not enough eMMC size to install CUDA, Multimedia API,… for our AI development.
So we plane flash JetPack 5.1.2 to NVMe SSD and bootup from NVMe SSD on Xavier NX.

How to flash JetPack 5.1.2 image to NVMe SSD on our Xavier NX customer carrier board, and bootup from NVMe SSD?
Could your provide the flash.sh command for flash NVMe SSD?

我們的document上就有了,對應的檔案你自己改一下就好…

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1
-c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_l4t_t194_qspi_p3668.xml”
–showlogs --network usb0 <your board config> internal

Thanks for your command, and it is working now.
May I to know that you metion in which document?
Because I can’t see it in https://docs.nvidia.com/jetson/archives/r35.4.1/DeveloperGuide/

https://docs.nvidia.com/jetson/archives/r35.4.1/DeveloperGuide/text/IN/QuickStart.html
We have the example for Jetson Orin Nano, and with slight modification you get the command for Xavier NX:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
  -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" \
  --showlogs --network usb0 jetson-orin-nano-devkit internal

OK, I see.

But the document use the flash_t234_qspi.xml for Orin Nano, and how to know we need to use the flash_l4t_t194_qspi_p3668.xml for Xavier NX?
-p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml"

Just look at the file name.

In the folder /bootloader/t186ref/cfg, there are many *.xml for p3668, how to know which file name for Xavier NX NVMe SSD?

flash_l4t_t194_qspi_p3668.xml
flash_t194_uefi_qspi_p3668.xml

你的問題跟NVMe SSD基本上無關
預設的config file是flash_l4t_t194_spi_sd_p3668.xml這個是包含QPSI+SD卡的
你現在需要的是只有QSPI的config file
你比對一下內容就會知道flash_l4t_t194_qspi_p3668.xml就是flash_l4t_t194_spi_sd_p3668.xml刪掉SD卡內容的版本
flash_t194_uefi_qspi_p3668.xml應該是舊版的BSP,還沒有做bootloader A/B redundancy時用的,只是它還被留在BSP裡沒有刪掉
這樣回答夠清楚嗎?

-p “-c bootloader/t186ref/cfg/flash_l4t_t194_qspi_p3668.xml”

另外你就算不加這個也可以,只是會變成eMMC/SD卡和NVMe SSD一起燒而已

你願意這樣提供資訊,清楚的解釋,我們是很感謝。

我們之前也是有看文件說明與討論區相關的文章,也試了很多參數,但都不完全清楚所以然,花費了許多時間在驗證測試,所以才會提出來這樣問清楚,主要是想知道文件出處與說明,日後我們就不會重覆地麻煩你們。

1 Like

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