NVIDIA Tegra
NVIDIA Tegra Linux Driver Package

Development Guide
28.3 Release


 
Quick Install Guide
The JetPack installer automates the installation process for NVIDIA® Tegra® Linux Driver Package (L4T) and other JetPack components. With the installer you can:
Flash your Jetson Developer Kit with the latest OS image
Install developer tools for both the host computer and the developer kit
Install the libraries, APIs, samples, and documentation needed to jumpstart your development environment
 
Note:
The installer for JetPack 3.3 has not been updated to use L4T 28.3. You must flash your developer kit with L4T 28.3 from the command line by following the instructions below. After that, you can install additional JetPack components using the JetPack 3.3 installer as usual.
The most up-to-date L4T Quick Install Guide is available at:
http://developer2.download.nvidia.com/embedded/L4T/r28_Release_v3.0/BSP/l4t_quick_install_guide.txt
Prerequisites
A Jetson TX1 or TX2 Developer Kit, equipped with a Jetson TX1 or Jetson TX2 Series module
A Linux host computer running x86_64 Ubuntu v16.04
The Jetson Developer Kit configured as follows:
Connect an external HDMI™ display to the carrier board’s HDMI port.
Connect a USB keyboard and mouse to the carrier board. You may use a USB hub (not included in the developer kit).
Connect the developer kit to your local network via an Ethernet cable to the carrier board's Ethernet port.
Connect the included AC adapter to the carrier board's power jack. Plug the AC adapter into an appropriately rated electrical outlet.
Use the included USB cable to connect the Linux host computer to the micro-USB port on the carrier board for flashing.
Optionally:
Connect the developer kit carrier board to your Linux host computer with a serial cable, either directly or through a serial-to-USB converter. This is required to set up serial console on the Linux host.
Note:
If you are using the Jetson TX2i module on a Jetson TX2 Developer Kit carrier board rev. B02 or B04, the module powers on as soon as the power is connected. See the Jetson TX2 Developer Kit Carrier Board Specification for more information.
To download the latest driver package and prepare the sample filesystem
1. Download the L4T driver package and L4T sample filesystem from:
https://developer.nvidia.com/l4t
2. Untar the files and assemble the rootfs with the commands:
sudo tar xpf $<L4T_DRIVER_PACKAGE>
cd L4T/rootfs/
sudo tar xpf ../../Tegra_Linux_Sample-Root-Filesystem_R28.3.0_aarch64.tbz2
cd ..
sudo ./apply_binaries.sh
Where <L4T_DRIVER_PACKAGE> is:
For Jetson TX2/TX2i: Jetson_TX2_Series_Linux_R28.3.0_aarch64.tbz2
For Jetson TX1: Jetson_TX1_Linux_R28.3.0_aarch64.tbz2
To place the developer kit in force recovery mode
1. Configure the developer kit as described above. It must be powered off.
2. Press and release the POWER button.
3. Press and hold down the FORCE RECOVERY button.
4. While holding down the FORCE RECOVERY button, press and release the RESET button.
5. Wait 2 seconds and release the RECOVERY FORCE button.
To flash the prepared filesystem to the Jetson module’s eMMC
1. Execute this command on your Linux host computer:
sudo ./flash.sh $<target> mmcblk0p1
Where <target> is jetson-tx2, jetson-tx2i, or jetson-tx1.
The flashing procedure takes approximately 10 minutes, or more on slow host systems.
Upon completion, the Jetson Developer Kit automatically reboots. The command prompt window opens on all display devices that are attached to the Jetson Developer Kit, and on the serial console.
The default login credentials are:
Username: nvidia
Password: nvidia
Note:
For security purposes and for best practices, NVIDIA recommends changing the default password.
To install additional optional Ubuntu packages
1. Connect the Jetson Developer Kit to your wired network using a network cable.
2. Acquire an IP address.
If you are not running a graphical desktop environment that automatically configures your network connection, acquire an IP address with the command:
sudo dhclient <interface>
Where <interface> is the name of the wired ethernet adapter for the wired Jetson Developer Kit. Obtain the name by executing the command:
ip link
The above command returns eth0, enx<mac_address>, or a similar name.
3. Install the desired package using the commands:
sudo apt update
sudo apt install <ubuntu-desktop>
Where <ubuntu-desktop> is the name of the packages you wish to install.
4. Reboot the system using the command:
sudo reboot
Consult the Release Notes for up-to-date platform and feature usage information.
Information about Jetson as a USB device
If you connect a Jetson Developer Kit to a host system via USB cable, the host system considers Jetson a USB device.
Jetson appears as a combination of:
A USB Mass Storage device, similar to a USB thumb drive
A USB Ethernet Adapter
A USB Serial Port
NVIDIA provides a USB device mode default configuration script and associated README that describes how the USB flashing port operates in device mode.
On the Jetson sample filesystem, the configuration script is available at:
/opt/nvidia/l4t-usb-device-mode/nv-l4t-usb-device-mode.sh
On a host computer attached to Jetson via USB, the README file appears in the root directory of the Jetson USB Mass Storage device. The path is dependent on the operating system of the host.