Jump to content

NVIDIA Jetson Orin - Flashing Commands for Emulation

From RidgeRun Developer Wiki



Follow us on: YouTube Twitter LinkedIn Email Share this page

Share This Page







This page covers the JetPack 7.2 family using NVIDIA's published Jetson Linux R39.2.1 emulation instructions. The AGX Orin Developer Kit supports performance emulation of AGX Orin 32GB, Orin NX 16GB/8GB, and Orin Nano 8GB/4GB production modules. Emulation configures the CPU, GPU, and accelerators through the target's supported power profiles; it remains subject to throttling limits.[1]

Prepare the Host and BSP

Use a separate Ubuntu host and a matching Jetson Linux BSP and sample root filesystem for the JetPack release being installed.[2] See Installing JetPack 7.2 for SDK Manager setup.

This workflow assumes that SDK Manager has finished preparing the target image and root filesystem. Open its Linux_for_Tegra directory before continuing. The following path is an example for the default installation location; replace it with the actual installation folder shown by SDK Manager if yours differs.

cd "$HOME/nvidia/nvidia_sdk/JetPack_7.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra"

Preset the Account Setup (Optional)

To skip the first-boot account wizard, create the user in the prepared root filesystem on the host. After SDK Manager has prepared the target image and root filesystem, run this from Linux_for_Tegra before generating or flashing the image.[3]

This example creates username nvidia and hostname jetson-orin. Change those values as needed. Enter the Jetson account password at the hidden prompt:

read -r -s -p "Jetson account password: " JETSON_PASSWORD
printf '\n'

sudo ./tools/l4t_create_default_user.sh \
  --username nvidia \
  --password "$JETSON_PASSWORD" \
  --hostname jetson-orin

unset JETSON_PASSWORD

Accept NVIDIA's license when prompted. After the script succeeds, continue with recovery mode and the selected flashing command. The flashed system uses this account and skips oem-config.[3]

Optional flags for the same script:

Flag Effect
--autologin Enable automatic login at boot. Without it, login remains manual.
--accept-license Accept NVIDIA's software EULA without the interactive prompt.

Put the AGX Orin Developer Kit in Force Recovery Mode

Connect the host to the developer kit's USB-C port next to the 40-pin header. With the kit powered off, hold Force Recovery, press and release Power, then release Force Recovery.[2]

On the host, check USB enumeration:

lsusb -d 0955:

For AGX Orin modules P3701-0000 and P3701-0005, NVIDIA lists USB ID 0955:7023. Bus and device numbers vary.[2]

Select an Emulation Configuration

The following commands flash the AGX Orin Developer Kit's internal storage. They do not flash a physical NX/Nano module. The documented emulation hosts are AGX Orin P3701-0000 or P3701-0005 on the P3737-0000 carrier.[1]

Back up required target data before flashing: these commands write the target system image.

Commands run on the host from Linux_for_Tegra
Target profile Flash command
Jetson AGX Orin 32GB sudo ./flash.sh jetson-agx-orin-devkit-as-jao-32gb internal
Jetson Orin NX 16GB sudo ./flash.sh jetson-agx-orin-devkit-as-nx-16gb internal
Jetson Orin NX 8GB sudo ./flash.sh jetson-agx-orin-devkit-as-nx-8gb internal
Jetson Orin Nano 8GB sudo ./flash.sh jetson-agx-orin-devkit-as-nano8gb internal
Jetson Orin Nano 4GB sudo ./flash.sh jetson-agx-orin-devkit-as-nano4gb internal

For example, verify the selected configuration file exists and flash NX 16GB emulation:

ls -l jetson-agx-orin-devkit-as-nx-16gb.conf
sudo ./flash.sh jetson-agx-orin-devkit-as-nx-16gb internal

Use configuration files from the same BSP release. internal is the root-device argument used by NVIDIA's current emulation example.[1] For NVMe or other storage layouts, follow the separate Flashing Support instructions. Actual NX/Nano modules use their own board configurations and flashing workflows.[4]

After flashing, log in with the preset account if you completed Preset the Account Setup. Otherwise, complete the first-boot account wizard. Install any additional SDK components for the same JetPack release through SDK Manager.

Verify the Emulation Configuration

Run these read-only commands on the booted Jetson:

cat /proc/device-tree/model

Check the reported model.

See Tuning Power for power-mode selection and Evaluating Performance for monitoring.

Return to the Standard AGX Orin Configuration

Re-enter Force Recovery Mode. From the matching prepared BSP on the host, flash the normal AGX Orin Developer Kit configuration:[4]

sudo ./flash.sh jetson-agx-orin-devkit internal

This is another reflash, not a restoration of the previous files or applications. It does not increase the physical memory installed on the module.

References




Cookies help us deliver our services. By using our services, you agree to our use of cookies.