JETSON AGX ORIN flash issue in shell ( not sdkmanager )

hello guys
i would like to flash an image of operation system for JETSON AGX ORIN in CLI/bash/shell (not through sdk manager application) on NVME internal card, that i previously attached and formatted and can see it in ubuntu.
My problem is : JETSON still sees an eMMC as a default drive and NVME as a secondary drive.
My goal is : to turn over NVME as a main drive and to flash on it an operation system through host pc terminal and not through sdk manager.
thanks

Hi there @ligum.vladimir, welcome to the NVIDIA developer forums.

I took the liberty of moving your post over to the dedicated Jetson category, I am certain you will find some help with them.

Thanks!

1 Like

Can you be more specific about it?
Boot order is adjustable through the UEFI menu.

1 Like

Yeah! i’ve made sure. i did it with “+” button in BIOS menu an order in boot section and saved it ,where NVME option is a first boot, EMMC second, shell is a third, etc… and after a restart also made sure that order didn’t confuse.

Then afterwards i just try to flash an image of operation system for JETSON AGX ORIN from ubuntu’s terminal on host pc in this way :

  1. with commands
    1.1 sudo ./flash.sh jetson-agx-orin-devkit internal
    1.2 sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1cd
    it normally flashes as a default on eMMC and operation system works properly but it sees NVME as a secondary drive and everything is alright so far
  2. with commands
    2.1 sudo ./flash.sh jetson-agx-orin-devkit nvme0n1
    2.2 sudo ./flash.sh jetson-agx-orin-devkit nvme0n1p1
    seems like process starts normally and it shows me on host machine that i can start work with JETSON AGX ORIN after its restart but in the final result i see a BLACK SCREEN and nothing happens…

i hope i described my issue more clear now…
Thank you for your assistance

Hi,

This is not going to work. It won’t flash anything to the NVMe drive.
flash.sh does not support flashing to NVMe/USB drives, and you have to use initrd flash instead.
For example:

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-agx-orin-devkit internal

Please refer to Linux_for_Tegra/tools/kernel_flash/README_initrd_flash.txt for more detail.

1 Like

Thank you very much for a quick response and now it works exactly as i need it!!!
You’re my hero :)
Thanks again