NVIDIA Jetson AGX Orin Setup Guide
The Jetson AGX Orin from NVIDIA is a single-board computer that supports modern AI workloads and application development.
Follow this guide to set up the Jetson AGX Orin Developer Kit to prepare your NVIDIA Jetson AGX Orin for viam-server
installation.
Important
This guide assumes that you have a Jetson AGX Orin Developer Kit with a Jetson AGX Orin module and reference carrier board. If you want to use a different carrier board to incorporate your Orin into your machine, the type of carrier board you use will affect your hardware requirements.
CAUTION: Use 3.3V inputs and outputs
The GPIO pins on Jetson boards are rated 3.3V signals. 5V signals from encoders and sensors can cause damage to a pin. We recommend selecting hardware that can operate 3.3V signals or lower. For details, see your board’s specification.
Hardware requirements
You need the following hardware, tools, and software to install viam-server
on a Jetson AGX Orin with the Jetson AGX Orin Developer Kit:
Initial setup with display attached:
- A Jetson AGX Orin Developer Kit
- A PC monitor (HDMI or DisplayPort)
- USB keyboard and mouse
- A DisplayPort to HDMI adapter/cable, to connect the Orin to the monitor
- USB Type-C power supply, to power the Orin (included with the AGX Orin Developer Kit)
- (Optional) Ethernet cable, to connect the Orin to the internet without Wifi access
Initial setup in headless mode:
An internet-connected Windows, Linux, or macOS computer
A way to connect the computer to the Orin (for example, the USB Type-A to USB Type-C Cable included with the AGX Orin Developer Kit)
(Optional) If your computer doesn’t have a USB Type-A port, you may need to attach a USB-C hub or similar device to your computer to connect to the Orin
USB Type-C power supply, to power the Orin (included with the AGX Orin Developer Kit)
(Optional) Ethernet cable, to connect the Orin to the internet without Wifi access
Jetson Orin setup guide
Follow the instructions in Getting Started with Jetson AGX Orin Developer Kit to boot up your Orin for the first time.
If you have already booted up your Orin, start with “Step 2 - Install JetPack Components” to make sure you have installed the latest NVIDIA JetPack components.
Look at the Troubleshooting section below for help navigating these instructions. Once you have reached Next Steps, return to the Viam docs.
Tip: viam-server
installation with curl
If curl
is not installed on your Orin, run sudo apt install curl
before downloading the viam-server
binary.
If this command fails, try using wget https://storage.googleapis.com/packages.viam.com/apps/viam-server/viam-server-latest-aarch64.AppImage
to download the viam-server
binary.
Install viam-server
viam-server
is distributed for Linux as an AppImage.
The AppImage is a single, self-contained binary that runs on 64-bit Linux systems running the aarch64
or x86_64
architectures, with no need to install any dependencies.
To install viam-server
:
Go to the Viam app. Create an account if you haven’t already.
Add a new machine by providing a name in the New machine field and clicking Add machine:
Navigate to the CONFIGURE tab and find your machine’s card. An alert will be present directing you to Set up your machine part:
Click View setup instructions to open the setup instructions.
Select Linux / Aarch64.
Select your installation method:
viam-agent
(recommended): installs viam-agent, which will automatically install (and update) viam-server and provide additional functionality such as provisioning and operating system update configuration.manual
: installs onlyviam-server
on your machine.
Follow the instructions listed.
Once you have followed the steps on the setup instructions, wait for confirmation that your machine has successfully connected.
On your machine’s page on the Viam app, your machine will show that it’s Live.
By default, viam-server
will start automatically when your system boots, but you can change this behavior if desired.
Camera setup
- Install E-Con Systems e-CAM20_CUOAGX AR0234 driver. Consult the instructions you received when purchasing your device for more information.
- Ensure the driver has successfully installed by running
sudo dmesg | grep ar0234
. The output should includear0234 Detected Ar0234 sensor
. - Connect the AR0234 camera module and daughterboard to the J509 port located at the bottom of the Developer Kit.
- Configure the camera as a webcam.
Serial communication protocol tips
To change the pins that are in use for modes of serial communication, launch
cd ~
sudo /opt/nvidia/jetson-io/jetson-io.py
In the interactive menu that opens, select Configure Jetson 40 Pin Header and Configure header pins manually to select and deselect pins to enable use. For a Jetson AGX Orin, reference the following:
Data Sheet ID | GPIO Header Pin | Viam Bus ID | jetson-io.py ID | /dev Path ID | Notes |
---|---|---|---|---|---|
I2C_GP2_DAT, I2C_GP2_CLK | 3, 5 | 7 | i2c2 | /dev/i2c-2 | |
I2C_GP5_DAT, I2C_GP5_CLK | 27, 28 | 1 | i2c8 | /dev/i2c-8 | |
SPI1_DOUT, SPI1_DIN, SPI1_SCK, SPI1_CS0, SPI1_CS1 | 19, 21, 23, 24, 26 | 0 | spi1 | /dev/spidev0.0 , /dev/spidev0.1 | Must be enabled to use SPI bus, must add spidev to /etc/modules |
Note that I2C buses do not need to be configured through
Next steps
Troubleshooting
NVIDIA Step 1 - Run through Ubuntu Setup (oem config)
- Headless Mode Tips:
- Once you reach step e which instructs you to connect through the host serial port, the instructions to connect are immediately under step e. Follow those steps according to the type of computer you’re using.
- After running
sudo screen
, note that thePassword
input prompt immediately following refers to your computer’s system password.
- “Jetson Initial configuration” (oem-config) Command Prompt Tips:
- App Partition: default is fine.
- Nvomodel mode: default is fine.
- Chromium install: not necessary, you can skip.
- Signing into online accounts: not necessary, you can skip.
- Headless Mode Tips:
NVIDIA Step 2 - Install JetPack Components
- After running
sudo apt dist-upgrade
, if you are prompted with “Package distributor has shipped an updated version” hity
to install the updated version. - Do not run
sudo apt install nvidia-jetpack
in your terminal until aftersudo reboot
has completed. - If your board is powered off after
sudo reboot
has completed and refuses to turn on, disconnect and reconnect the power cable. - It is normal for JetPack installation to take a very long time, up to an hour or more.
- After running
If you do not see an interactive menu after launching
jetson-io.py , try resizing your window to a large size.
You can find additional assistance in the Troubleshooting section.
You can also ask questions in the Community Discord and we will be happy to help.
Was this page helpful?
Glad to hear it! If you have any other feedback please let us know:
We're sorry about that. To help us improve, please tell us what we can do better:
Thank you!