Skip to content
Tutorials
Mar 15, 2019.

Getting Started with Jetson Nano

In this tutorial, you will learn how to set up the NVIDIA® Jetson™ Nano and install everything you need to use the full power of the tiny embedded board.

Prerequisites

  • Micro SD card with at least 16Gb of storage
  • Ubuntu host PC* with SD card slot or USB SD card reader/writer
  • Jetson Nano Dev Kit with micro USB power supply (at least 5V, 2A) or DC power supply (5V 4A)
  • Full HD display with HDMI
  • Keyboard and mouse
  • Ethernet cable connected to the Internet, or USB Wi-Fi adapter

* You can use a Windows host PC to flash the microSD card instead, however this tutorial uses Ubuntu as it’s a simpler process. See NVIDIA’s guide for a Windows option.

Preparing the SD Card

Unlike previous Jetson products, the Jetson Nano uses a removable microSD card as its boot device and storage. Therefore, the Nano is no longer limited to the 16GB/32Gb storage that the integrated eMMC of past models used.

Since the OS will run on the microSD card, your choice of card is important. Choose a high-level class, such as Class 10, to have a decent writing/reading speed.

Make sure the PC you are going to use can read and write to the microSD card.

  1. Plug the card into the SD card reader on your PC. The SD card should appear in your list of disks. If not, make sure the microSD card can be mounted.
  2. Download the SD card image file (nv-jetson-nano-sd-card-image-r32.3.1.zip) onto your host and unzip the file. Make sure you have enough empty space; the image size is ~6Gb.
  3. Format the microSD card to ExFAT if it’s a 64Gb or higher card, and to FAT if it’s less.
  4. Once formatted, detect the drive that has the microSD card. You can use GParted for this operation or type the following to list all the drives:
$ sudo fdisk -l

The SD card should be listed under /dev/sdc or /dev/sdd. It’s important to make sure that the drive you are targeting is the correct one, otherwise you may erase or write to another device. To make sure it’s the correct one, unplug the card and see if it disappears from the list.

Flashing the OS Image onto the SD Card

Linux provides a great tool for flashing the image on the microSD card, so we’ll use it as opposed to a third-party utility like Etcher.

If you followed the steps in the last section properly, you should have a file called “sd-blob-b01.img” in your folder.

We’ll flash the image using the DD tool. Open a terminal on the folder where the image file is located and type the command below. Replace diskN with the name of the SD drive (/dev/sdd, /dev/sdx, etc.), and make sure the image file name (jetson-nano-sd-card-image-r32.3.1) matches the image version you’re installing.

$ sudo dd if=jetson-nano-sd-r32.3.1 of=/dev/diskN bs=1M oflag=direct status=progress

Wait for the process to finish. The tool must write roughly 8GB to theSD card, so it can take several minutes.

Once finished, make sure to eject the drive properly and unplug the SD card only when it says you can. Otherwise, you may corrupt the image and you won’t be able to boot.

Setting Up Hardware and Booting

  1. Insert the microSD card into the appropriate slot
  2. Connect the display and USB keyboard /mouse and Ethernet cable.
  3. Depending on the power supply you want to use, you may have to add or remove the jumper for power selection:
    – If using a jack, the jumper must be set.
    – if using USB, the jumper must be off.
  4. Plug in the power supply. The green LED (D53) close to the micro USB port should turn green, and the display should show the NVIDIA logo before booting begins.

Ubuntu Configuration

After the Jetson Nano boots up for the first time, it will start system configuration as a common Ubuntu installation.

  1. Accept the EULA license
  2. Choose language, keyboard, time zone selection
  3. Choose a username/password

After rebooting, you’ll see a typical Ubuntu desktop with the NVIDIA logo.

Adding the ZED camera

Your Jetson Nano will need an Internet connection to install the ZED SDK as it downloads a number of dependencies. You can use an Ethernet cable or attach a USB Wi-Fi adapter.

Download the ZED SDK for Jetson Nano and install it by running this command and following the instructions that appear:

$ chmod +x ZED_SDK* $ ./ZED_SDK_Tegra_JP43_v3.1.2.run

Enabling Maximum Performance

If you are using at DC power supply (not microSD power) and want to have access to the full power of the Jetson Nano, you can enable the Max performance model:

$ sudo nvpmodel -m 0

This will improve the performance of your application by using additional power.

Troubleshooting

ZED SDK installer won’t download dependencies: This happens if you don’t have an internet connection when running the installer. Verify that you do. If you know that you have a working internet connection, make sure that your system time is set correctly, as an incorrect date can prevent SSL connections.

Jetson Nano shuts off immediately after logging in: Your device may be severely underpowered. This can happen if using a microUSB power source rated much lower than 5V 2A as required. 

Jetson Nano shuts off as soon as my app opens the ZED camera: This is also related to power. You may be using a microUSB power source that claims to be rated at 5V 2A but in fact does not supply that much power. A DC power jack is best, but if you prefer microUSB, NVIDIA recommends using this PSU/cable combo.
In a pinch, you can also use this command to enter low performance mode:

$ sudo nvpmodel -m 1