jetsonhacks / bootFromExternalStorage

Shell scripts to setup a NVIDIA Jetson AGX Xavier, Xavier NX, AGX Orin, or Orin Nano Developer Kit to boot from external storage.
MIT License
152 stars 71 forks source link

[Question] Error when running ./flash_jetson_external_storage.sh #14

Open thorbjornsomod opened 2 years ago

thorbjornsomod commented 2 years ago

Describe the issue We get the error output attached when running the flash_jetson_external_storage.sh script against an Nvidia Jetson TX2 NX with an NVMe SSD attached via a carrier board. Before running the script we are putting the TX2 in recovery mode, and we are able to see it listed as "Nvidia Corp." when doing a lsusb.

Which version of Ubuntu on the Host machine Ubuntu version: Ubuntu 18.04.6 LTS

What version of L4T/JetPack L4T/JetPack version: Latest via this repo.

Which Jetson Jetson: TX2 NX

To Reproduce Steps to reproduce the behavior: git clone https://github.com/jetsonhacks/bootFromExternalStorage.git cd bootFromExternalStorage ./install_dependencies.sh ./get_jetson_files.sh ./flash_jetson_external_storage.sh

Expected behavior We expected the script to complete successfully.

Additional context We are using a custom carrier board. However, for now we just want to flash the NVMe SSD attached to the Nvidia Jetson TX2 NX with the default OS.

short_logs.txt long_logs.txt

jetsonhacks commented 2 years ago

NVIDIA only supports boot from external storage on the Xavier series Jetson (AGX Xavier, NX Xavier). The TX2 has a different software stack. You can ask more questions on the official NVIDIA Jetson forums, where a large group of developers and NVIDIA engineers share their experience: https://forums.developer.nvidia.com/c/agx-autonomous-machines/jetson-embedded-systems/70

thorbjornsomod commented 2 years ago

The official docs claim that NVIDIA supports booting from an NVMe for the Jetson TX2 series: https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/flashing.html#wwpID0E0LN0HA

jetsonhacks commented 2 years ago

The scripts here flash using initrd

https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/flashing.html#wwpID0E0PI0HA

It has a statement that it is only for Xaviers, which is what I've referred to in the past.

I have found that the documentation on this subject is circular, and self referential. Since I do not have a TX2 NX, the subject is difficult for me to explore.