NVIDIA P2180 Users Guide

0 (0)
NVIDIA P2180 Users Guide

Jetson TX1 Developer Kit

User Guide

October 2015

Notice

ALL NVIDIA DESIGN SPECIFICATIONS, REFERENCE BOARDS, FILES, DRAWINGS, DIAGNOSTICS, LISTS, AND OTHER DOCUMENTS (TOGETHER AND SEPARATELY, "MATERIALS") ARE BEING PROVIDED "AS IS." NVIDIA MAKES NO WARRANTIES, EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO THE MATERIALS, AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OR CONDITION OF TITLE, MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE AND ON-INFRINGEMENT, ARE HEREBY EXCLUDED TO THE MAXIMUM EXTENT PERMITTED BY LAW.

Information furnished is believed to be accurate and reliable. However, NVIDIA Corporation assumes no responsibility for the consequences of use of such information or for any infringement of patents or other rights of third parties that may result from its use. No license is granted by implication or otherwise under any patent or patent rights of NVIDIA Corporation. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. NVIDIA Corporation products are not authorized for use as critical components in life support devices or systems without express written approval of NVIDIA Corporation.

Trademarks

NVIDIA, the NVIDIA logo and Tegra are trademarks or registered trademarks of NVIDIA Corporation in the United States and other countries. Other company and product names may be trademarks of the respective companies with which they are associated.

Copyright

© 2014 NVIDIA Corporation. All rights reserved.

NVIDIA Corporation | 2701 San Tomas Expressway | Santa Clara, CA 95050 | +1 408 486-2000 | www.nvidia.com

Jetson TX1 Developer Kit

User Guide

Contents

 

Introduction ................................................................................................................

3

Getting Started .........................................................................................................

3

Assumptions...........................................................................................................

3

Powering Up the Tegra Device ....................................................................................

3

Login Credentials ....................................................................................................

4

Force Recovery Mode................................................................................................

4

To place system in Force USB Recovery Mode: .................................................................

4

Flashing the Boot Loader and Kernel................................................................................

5

Flash Procedure ......................................................................................................

5

Flash Script Usage ...................................................................................................

6

JetPack......................................................................................................................

8

Before you Begin........................................................................................................

8

Installing JetPack TX1 .................................................................................................

8

Run JetPack TX1 Samples ...........................................................................................

16

Compliance ...............................................................................................................

18

United States ..........................................................................................................

18

Canada..................................................................................................................

19

European Union .......................................................................................................

20

Australia and New Zealand..........................................................................................

20

Japan ...................................................................................................................

21

South Korea ............................................................................................................

21

Taiwan ..................................................................................................................

22

CHINA ...................................................................................................................

22

CMIT ID:XXXXXX .......................................................................................................

22

ISRAEL ..................................................................................................................

22

Jetson | DA-07498-001v01 | Copyright © 2014 NVIDIA Corporation. All rights reserved.

Page 2 of 23

Jetson TX1 Developer Kit

User Guide

Introduction

The NVIDIA® Jetson TX1 Developer Kit is a full-featured development platform for visual computing. It is ideal for applications requiring high computational performance in a low power envelope. The Jetson TX1 Developer kit is designed to get you up and running quickly: It comes pre-flashed with a Linux environment, includes support for many common APIs, and is supported by NVIDIAs complete development tool chain. The board exposes many standard hardware interfaces, enabling a highly flexible and extensible platform.

Go to http://developer.nvidia.com/embedded-computing for access to software updates and the developer SDK supporting the OS image and host development platform that you want to use. The SDK includes an OS image that you will load onto your device, developer tools, supporting documentation, and code samples to help you get started.

Getting Started

Individual development efforts will vary and may result in modifications to the system configuration. It is recommended that you begin with the basic system configuration (as shipped) to ensure proper system operation prior to any further development.

Assumptions

>You have a Jetson TX1 Tegra Developer System, equipped with the NVIDIA® Tegra® TX1 processor.

>Your developer system should be cabled as follows:

Serial cable plugged into the serial port on the target connected to your Linux host directly or through a serial-to-USB converter. (To setup serial console on the Linux host.)

(Not included in the developer kit) To connect USB peripherals such as keyboard, mouse, and [optional] USB/Ethernet adapter (for network connection), a USB hub should be connected to the working USB port on the Jetson TX1 system.

An HDMI cable plugged into the target which is connected to an external HDMI display.

An Ethernet cable plugged into the on board Ethernet port.

Powering Up the Tegra Device

1.Connect a USB keyboard to the USB Type A connector of your device.

2.Connect an HDMI-compatible display to the HDMI connector on your device.

3.Connect the AC adapter supplied in your kit to the power connector of your device. Use the supplied AC adapter since it is appropriately rated for your kit.

4.Plug the power adapter into an appropriately rated electrical outlet.

5.They system should power on. If not, press and release the power button on the device.

Jetson | DA-07498-001v01 | Copyright © 2014 NVIDIA Corporation. All rights reserved.

Page 3 of 23

Jetson TX1 Developer Kit

User Guide

Login Credentials

>Username: ubuntu

>Password: ubuntu

Force Recovery Mode

To update your system, you will need to be in Force USB Recovery Mode so you can transfer system software to the developer board. When in Force USB Recovery Mode, you are able to update system software and write the boot loader, boot configuration table (BCT), and partition configuration to the Tegra device.

See the Developer SDK documentation for OS specific instructions when updating system software on your developer board.

To place system in Force USB Recovery Mode:

1.Power down the device. If connected, remove the AC adapter from the device. The device MUST be powered OFF, not in a suspend or sleep state.

2.Connect the Micro-B plug on the USB cable to the Recovery (USB Micro-B) Port on the device [4] and the other end to an available USB port on the host PC.

3.Connect the power adapter to the device.

4.With the system powered on, press and release the POWER button, if necessary; press and hold the RECOVERY FORCE button; while depressing the RECOVERY FORCE button, press and release the RESET button; wait two seconds and release the RECOVERY FORCE button.

Jetson | DA-07498-001v01 | Copyright © 2014 NVIDIA Corporation. All rights reserved.

Page 4 of 23

Jetson TX1 Developer Kit

User Guide

Flashing the Boot Loader and Kernel

This section describes the steps required to flash and boot the target Tegra device. It also provides usage information for the flash.sh helper script.

Flash Procedure

First, flash the board with the boot loader and kernel, and, optionally, flash the rootfs to internal eMMC.

Prerequisites

The following directories must be present:

/bootloader—boot loader plus flashing tools (NvFlash, CFG, BCTs, etc.)

/kernel—a kernel zImage /vmlinux.uimg, DTB files, and kernel modules

/rootfs—the root file system that you download (This directory starts empty and you populate it with the sample file system.)

/nv_tegra—NVIDIA® Tegra® user space binaries and sample applications

You must also have the USB cable connected to the recovery port prior to running the commands listed in the procedure. For more information, see the Requirements topic in this section.

To flash the boot loader and kernel

1.Put the target board into reset/recovery mode. Do so by first powering on the board and then holding the recovery button, and then pressing the reset button as described in the Quick Start Guide for the board.

2.Run the flash.sh script that is in the top level directory of this release. The script must be supplied with the target board (jetson-tx1) for the root file system:

$ sudo ./flash.sh <platform> <rootdev>

If the root file system will be on a USB disk, execute the script as follows: $ sudo ./flash.sh <platform> sda1

Note: If a SATA device is connected, that device enumerates as sda1.

If the root file system will be on an SD card, execute the script as follows: $ sudo ./flash.sh <platform> mmcblk1p1

If the root file system will be on the internal eMMC, execute the script as follows: $ sudo ./flash.sh <platform> mmcblk0p1

Where <platform> is jetson-tx1.

The above examples are for u-boot. For fastboot, add the following argument:

Jetson | DA-07498-001v01 | Copyright © 2014 NVIDIA Corporation. All rights reserved.

Page 5 of 23

Jetson TX1 Developer Kit

User Guide

-L <PATH_TO_FASTBOOT_BIN_FILE>

For example:

$ sudo ./flash.sh –L bootloader/<platform>/fastboot.bin <platform> <rootdev>

The boot loader and kernel will load.

For more information on U-Boot, see the U-Boot Guide chapter of this document.

Flash Script Usage

You can find the most up-to-date usage information by running flash.sh –h (using the flash.sh script included in the release). The basic usage information is as follows.

Usage

sudo ./flash.sh [options] <platform> <rootdev>

Where you specify the required parameters and one or more of the options shown in the following table.

Parameters

Description

 

<platform>

Is jetson-tx1.

<rootdev>

Is one of following:

 

 

 

 

mmcblk0p1

Specifies internal eMMC.

 

 

 

 

mmcblk1p1

Specifies external SDCARD.

 

 

 

 

sda1

Specifies external USB device (such as, USB memory

 

 

stick or HDD).

 

 

 

 

eth0

Specifies nfsroot via external USB Ethernet interface.

 

 

 

Options

Description

-h

Specifies to print this usage information.

 

 

-b <bctfile>

Specifies the NvFlash Boot Configuration Table (BCT) file.

 

 

-c <cfgfile>

Specifies the NvFlash configuration file.

 

 

-d <dtbfile>

Optionally specifies a device tree file to use instead of the default.

 

 

-e <emmc_file>

Specifies the eMMC size of the target device.

 

 

-f <flashapp>

Specifies the path to flash application: nvflash or tegra-rcm.

 

 

-i

Specifies to pass the user kernel command line to the kernel as-is.

 

 

-k <partition

Specifies the kernel partition ID to be updated (minimum = 5).

id>

 

 

 

-n <nfs args>

Specifies the static NFS network assignments:

 

<Client IP>:<Server IP>:<Gateway IP>:<Netmask>

 

 

-o <odmdata>

Specifies the ODM data value.

 

 

-p

Total eMMC HW boot partition size.

 

 

-r

Specifies to skip building and reuse existing system.img.

Jetson | DA-07498-001v01 | Copyright © 2014 NVIDIA Corporation. All rights reserved.

Page 6 of 23

 

Jetson TX1 Developer Kit

 

User Guide

 

 

 

-s

Specifies the boot script file for U-Boot.

 

<ubootscript>

 

 

 

 

 

-C <cmdline>

Specifies the kernel command line. Warning: Each option in this

 

 

kernel command-line gets higher precedence over the same option

 

 

from fastboot. In case of NFS booting, this script adds NFS booting

 

 

related arguments if the -i option is omitted.

 

 

 

 

-F <flasher>

Specifies the flash server, such as fastboot.bin.

 

-I <initrd>

Specifies initrd file. Null initrd is the default.

 

-K <kernel>

Specifies the kernel image, such as zImage.

 

 

 

 

-L

Specifies the full path to the boot loader, such as fastboot.bin

 

<bootloader>

or u-boot.bin.

 

 

 

-P

Specifies the sum of the primary GPT start address, the size of PPT,

 

<end_of_PPT_p

plus 1.

 

lus_1>

 

 

 

 

 

-R <rootfs dir>

Specifies the sample rootfs directory.

 

 

 

 

-N <nfsroot>

Specifies the nfsroot, for example:

 

 

<my IP addr>:/my/exported/nfs/rootfs

 

-S <size>

Specifies the rootfs size in bytes. This is valid only for internal

 

 

rootdev. KiB, MiB, GiB style shorthand is allowed. For example, 1GiB

 

 

signifies 1024 * 1024 * 1024 bytes.

 

 

 

 

-T <ITS file>

ITS file name. Valid only for u-boot.

 

 

 

 

Jetson | DA-07498-001v01 | Copyright © 2014 NVIDIA Corporation. All rights reserved.

Page 7 of 23

Loading...
+ 16 hidden pages