Failing to Boot into NVMe after Flashing

Hello, I am currently working on Flashing and Booting into a NVMe installed onto a Jetson AGX Orin Dev Kit 64gb. I run the following 2 scripts to flash the devices NVMe drive

  • sudo ./tools/l4t_flash_prerequisites.sh
  • sudo ./flash.sh jetson-agx-orin-devkit nvme0n1p1

After running these scripts the flash process finishes successfully, however on boot I get the following errors in order
#############################
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash-5.1# [ 18.051543] ERROR: nvme0n1p1 not found
#############################
I am using VMware Workstation 16 pro to run Ubuntu 22.04.4 LTS x86_64 as the host system
I am also using Jetpack 6.0 with Jetson Linux 36.3 GA

I have previously booted into the eMMC and run the following command to verify the NVMe

  • lsblk -d -p | grep nvme | cut -d\ -f 1

I have also entered into the Boot Manager to verify It was attempting to boot into the NVMe instead of the eMMC

The NVMe being used is a WD_BLACK SN850X NVMe SSD 1TB

Thank you!

This command flashed nothing to the nvme. Flash.sh cannot flash nvme.

Please directly use sdkmanager to flash your board. It will pick the right tool to do that.

I am trying to make a script to automate a lot of things for a project, one of them is flashing and being able to boot off the NVMe. I have attempted to use the bellow commands, but it fails when it says “Waiting for target to boot…”. And on the display the AGX Orin is connected to all that is displaying is a flashing cursor light in the top left of the screen.
Thank you again!

  • ./nvsdkmanager_flash.sh --storage
  • sudo ADDITIONAL_DTB_OVERLAY_OPT=“BootOrderNvme.dtbo” ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_t234_nvme.xml --showlogs jetson-agx-orin-devkit nvme0n1p1

Is this Orin AGX devkit or it is a custom board?

It is the Orin AGX Dev Kit 64gb model

Please share the UART serial log during the flash failure.

How would I get the Logs with the scripts provided earlier?

Use the micro usb port on your Jetson.

I was able to find the answer. Turns out if you do not enable system wide USB passthrough on VMware it is unable to connect during the “Waiting for target to boot…” stage. Linked is the guide I followed, specifically the “Configuring System-wide USB Passthrough Settings” section.

1 Like