- Quick Start Guide(快速入门指南)
Types and Models of Jetson Devices
Preparing a Jetson Development Kit for Use
L4T Over-the-Air (OTA) Updates
(Jetson设备的类型和模型
准备一个Jetson开发工具包
L4T无线(OTA)更新)
The information here is intended to help you get started quickly using the NVIDIA® Tegra® Linux Driver Package (L4T) in conjunction with an NVIDIA® Jetson™ developer kit(这里的信息旨在帮助您快速开始使用NVIDIA®Tegra®Linux驱动程序包(L4T)与NVIDIA®Jetson™开发工具包).
Types and Models of Jetson Devices(Jetson设备的类型和模型)
This Development Guide discusses both Jetson modules and Jetson developer kits. Jetson developer kits include a Jetson module attached to a reference carrier board. Together with JetPack SDK, it is used to develop and test software for your use case. Jetson developer kits are not intended for production use(本开发指南讨论了Jetson模块和Jetson开发人员工具包。Jetson开发工具包包括一个附加到参考载体板上的Jetson模块。它与JetPack SDK一起用于开发和测试用例的软件。Jetson开发人员工具包不打算用于生产).
Jetson modules are suitable for deployment in a production (Jetson模块适合在生产环境中部署)environment throughout their operating lifetime. Each Jetson module ships with no software pre-installed; you attach it to a carrier board designed or procured for your end product, and flash it with the software image you’ve developed(环境贯穿其运行寿命。每个Jetson模块都没有预先安装软件;你把它贴在一个为你的最终产品设计或采购的载体板上,然后用你开发的软件图像把它显示出来).
This release of L4T supports the following Jetson devices(L4T的这个版本支持以下Jetson设备):
•NVIDIA® Jetson Nano™ modules and Jetson Nano Developer Kit
•NVIDIA® Jetson AGX Xavier™ and Jetson AGX Xavier Developer Kit
•NVIDIA® Jetson™ TX2 series modules and Jetson TX2 Developer Kit
•NVIDIA® Jetson™ TX1 module and Jetson TX1 Developer Kit
•For details about these Jetson devices, see the Jetson Developer Site and the Jetson FAQ.
Preparing a Jetson Development Kit for Use(准备一个Jetson开发工具包)
This section explains how to prepare a Jetson developer kit for use by flashing it with the appropriate software(本节解释如何使用适当的软件来准备Jetson开发人员工具包).
Assumptions(假设)
•You have a Jetson developer kit(您有一个Jetson开发人员工具包).
If you have the Jetson Nano Developer Kit, you can skip this guide and simply download and use the supported SD Card image. Alternatively, you can follow these instructions to flash the QSPI-NOR, or flash the QSPI-NOR and an SD Card inserted on the Jetson Nano module(如果您有Jetson Nano开发工具包,您可以跳过本指南,直接下载并使用支持的SD卡映像。或者,您可以按照这些说明来flash QSPI-NOR,或者flash QSPI-NOR和插在Jetson Nano模块上的SD卡).
•Your Jetson developer kit is powered off and connected as follows. (Note that your Jetson developer kit may not come with the devices and cables listed below.)(您的Jetson开发工具包已关机并按如下方式连接。(注意,您的Jetson开发工具包可能没有下面列出的设备和电缆。))
•A USB cable connects the correct USB port of your Jetson developer kit to your Linux host for flashing(USB线将Jetson开发工具包的正确USB端口连接到Linux主机上进行闪烁。).
(For the NVIDIA Jetson AGX Xavier Developer Kit, use the USB-C port next to the power button. For the other Jetson developer kits, use the micro USB port.)((对于NVIDIA Jetson AGX Xavier开发工具包,使用电源按钮旁边的USB-C端口。对于其他Jetson开发人员工具包,使用micro USB端口。))
•Any required USB peripherals such as keyboard and mouse are connected to the Jetson developer kit, possibly through a USB hub.
•A wired Ethernet connection is available for installing optional software on the Jetson developer kit after L4T is installed and running.
•Either a display device or a serial console is connected to the Jetson developer kit.
( 任何需要的USB外设(如键盘和鼠标)都可以通过USB集线器连接到Jetson developer kit。
• 在安装并运行L4T之后,可以使用有线以太网连接在Jetson developer kit上安装可选软件。
• 一个显示设备或一个串行控制台连接到Jetson开发工具包。)
Note(注释): | A display device or console need not be connected to a Jetson AGX Xavier Developer Kit through the micro USB connector. (This does not apply to other developer kits.)(显示设备或控制台不需要通过微USB连接器连接到Jetson AGX Xavier开发工具包。(这不适用于其他开发工具包。)) |
Variables(关键变量)
The directions below assume that(下面的说明假定):
•The ${L4T_RELEASE_PACKAGE} environment variable contains the pathname of the L4T release package filename
For the Jetson Nano and Jetson TX1 modules:
(${L4T_RELEASE_PACKAGE}环境变量包含L4T发布包文件名的路径名
用于Jetson Nano和Jetson TX1模块)
Jetson-210_Linux_R32.2.0_aarch64.tbz2
For Jetson AGX Xavier and Jetson TX2™ series modules(用于Jetson AGX Xavier和Jetson TX2™系列模块):
Jetson_Linux_R32.2.0_aarch64.tbz2
•${SAMPLE_FS_PACKAGE} refers to the sample filesystem package file name(${SAMPLE_FS_PACKAGE}引用示例文件系统包文件名):
Tegra_Linux_Sample-Root-Filesystem_R32.2.0_aarch64.tbz2
•${BOARD} refers to the name of a supported configuration of a specific Jetson module with a specific carrier board(${BOARD}指的是带有特定载体板的特定Jetson模块的受支持配置的名称).
Examples(举例):
•jetson-nano-qspi-sd
Module: Jetson Nano module (P3448—the version included in the developer kit)(模块:Jetson Nano模块(p3448 -包含在开发工具包中的版本))
Carrier board: Jetson Nano Developer Kit carrier board(载体板:Jetson Nano开发工具包载体板)
Note(注释): | This configuration is used to flash both QSPI-NOR and the micro SD card inserted into the Jetson Nano module(该配置用于同时闪烁QSPI-NOR和插入到Jetson Nano模块中的micro SD卡). |
•jetson-tx2
Module: Jetson TX2 (P3310)
Carrier board: Jetson TX2 Developer Kit carrier board
(模块:Jetson TX2 (P3310)
载体板:Jetson TX2开发工具包载体板)
•jetson-tx1
Module: Jetson TX1 (P2180)
Carrier board: Jetson TX1 Developer Kit carrier board
(模块:Jetson TX1 (P2180)
载体板:Jetson TX1开发工具包载体板)
To flash Jetson developer kit operating software(flash Jetson开发工具包操作软件)
1.Download the latest L4T release package and sample file system for your Jetson developer kit from(从这里下载最新的L4T发布包和示例文件系统):
https://developer.nvidia.com/linux-tegra.
2.Enter the following commands to untar the files and assemble the rootfs(输入以下命令解压缩文件并组装rootfs):
sudo tar xpf ${L4T_RELEASE_PACKAGE}
cd Linux_for_Tegra/rootfs/
sudo tar xpf ../../${SAMPLE_FS_PACKAGE}
cd ..
sudo ./apply_binaries.sh
3.Flash the BSP software onto the Jetson developer kit.
a.Ensure that your Jetson developer kit is configured and connected to your Linux host as described in Assumptions.
b.Put your Jetson developer kit into ”Force Recovery Mode” (RCM).
For the Jetson Nano Developer Kit, follow these instructions:
1)Ensure that your Jetson Nano Developer Kit is powered off, and that a 16 GB or larger microSD card is inserted in the SD card slot.
2)Enable ”Force Recovery mode” by placing a jumper across the FRC pins of the Button Header on the carrier board.
For carrier board revision A02, these are pins 3 and 4 of the Button Header (J40) which are located near the camera header.
For carrier board revision B01, these are pins 9 and 10 of the Button Header (J50), which is located on the edge of the PCB under the CPU module.
3)Place a jumper across J48 to enable use of a DC power adapter.
4)Connect a DC power adapter to J25. The developer kit powers on automatically and enters ”Force Recovery mode.”
5)Remove the jumper from the FRC pins of the Button Header.
6)Continue the software installation.
For other Jetson developer kits that have hardware buttons:
1)Ensure that the developer kit is powered off.
2)Press and hold down the Force Recovery button.
3)Press, then release the Power button.
4)Release the Recovery button.
You can confirm that your developer kit is in Force Recovery mode by following the procedure in To determine whether the developer kit is in Force Recovery mode.
(将BSP软件Flash到Jetson开发工具包中。a。确保您的Jetson开发人员工具包已经配置好,并按照假设条件连接到您的Linux主机。b。将Jetson开发工具包置于强制恢复模式(RCM)。对于Jetson Nano开发工具包,请遵循以下说明:1)确保您的Jetson Nano开发工具包处于关闭状态,并在SD卡插槽中插入一个16gb或更大的microSD卡。2)通过在载体板上的按钮头的FRC引脚上放置一个跳线来启用力恢复模式。对于载波板修订A02,这些是位于相机头附近的按钮头(J40)的销3和销4。对于载波板修订B01,这些是位于CPU模块下的PCB边缘的按钮头(J50)的引脚9和10。3)在J48上放置一个跳线,以启用直流电源适配器。4)将直流电源适配器连接到J25。开发工具包自动启动并进入强制恢复模式。5)从按钮头的FRC引脚上拆下跳线。6)继续软件安装。对于其他带有硬件按钮的Jetson开发工具包:1)确保开发工具包处于关机状态。2)按下Force Recovery按钮。3)按下,然后松开电源按钮。4)释放恢复按钮。您可以通过以下步骤来确定开发工具包是否处于强制恢复模式,从而确认开发工具包处于强制恢复模式。)
c.Enter these commands on your Linux host to install (flash) the L4T release onto the Jetson developer kit:
sudo ./flash.sh ${BOARD} mmcblk0p1
This takes about 10 minutes, or more on a slow host computer.
The value of the environment variable $(board) determines the configuration that the flashing script uses. This table lists each supported Jetson module, and assumes the module is attached to the appropriate carrier board from a Jetson developer kit.
(c。在您的Linux主机上输入这些命令,将L4T版本安装到Jetson开发工具包:sudo ./flash.sh ${BOARD} mmcblk0p1
在运行缓慢的主机上,这大约需要10分钟甚至更多的时间。
环境变量$(board)的值决定了闪烁脚本使用的配置。此表列出了每个受支持的Jetson模块,并假设该模块已从Jetson开发人员工具包中附加到适当的载体板上。)
Module | Module Notes | Value of $(board) | $(board) Notes |
Jetson Nano | Included with Jetson Nano Developer Kit. Has a microSD card slot instead of eMMC for storage. | jetson-nano-qspi | Flashes QSPINOR memory. |
jetson-nano-qspi-sd | Flashes both QSPINOR memory & SD card. | ||
Jetson Nano | For use in production devices. | jetson-nano-emmc | Flashes eMMC memory. |
Jetson AGX Xavier P2888 | For use in production devices. A variation with permanently attached thermal solution is included in Jetson AGX Xavier Developer Kit.
| jetson-xavier | Flashes eMMC memory. |
jetson-xavier-maxn | Flashes board to support MAXN power mode. | ||
jetson-xavier-slvs-ec | Flashes board to support SLVS-EC with IMX204 sensor. | ||
jetson-xavier-as-8gb | Flashes board to emulate a production module with 8 GB memory (a proposed future product). | ||
Jetson TX2 P3310
| For use in production devices. Also included in Jetson TX2 Developer Kit.
| jetson-tx2 | Flashes eMMC memory. |
jetson-tx2-as-4GB | Flashes eMMC memory to emulate Jetson TX2 4GB. | ||
Jetson TX2i P3489 | For use in production devices. | jetson-tx2i | eMMC memory. |
Jetson TX2 4GB P3489-0080 | For use in production devices. | jetson-tx2-4GB | eMMC memory. |
Jetson TX1 P2180 | For use in production devices. Also included in Jetson TX1 Developer Kit. | jetson-tx1 | eMMC memory. |
There is a configuration file corresponding to each value of $(board). Its name is the value of $(board) with the filename extension .conf, for example, jetson-nano-qspi.conf.(有一个配置文件对应于$(board)的每个值。它的名称是$(board)的值,文件名扩展名为.conf,例如,jetson-nano-qspi.conf)
The Jetson developer kit automatically reboots upon completion of the installation process. After the reboot follow the prompts on the display to set up the user account and login. At this point, your Jetson developer kit is operational.(完成安装过程后,Jetson开发工具包将自动重新启动。重新启动后,按照屏幕上的提示设置用户帐户并进行登录。至此,您的Jetson开发人员工具包已经可以运行了。)
To determine whether the developer kit is in Force Recovery mode(以确定开发人员工具包是否处于强制恢复模式)
a.Connect your Linux host to the correct USB port on your Jetson developer kit (see Assumptions).
b.Open a terminal window on your host and enter command lsusb.
The Jetson module is in Force Recovery mode if you see the message:
The Jetson module is in Force Recovery mode if you see the message:
(a。将Linux主机连接到Jetson开发工具包上正确的USB端口(参见假设)。
b。在您的主机上打开一个终端窗口并输入命令lsusb。
Jetson模块处于强制恢复模式,如果你看到消息:
Jetson模块处于强制恢复模式,如果你看到消息:)
Bus <bbb> Device <ddd>: ID 0955: <nnnn> Nvidia Corp.
Where:
•<bbb> is any three-digit number
•<ddd> is any three-digit number
•<nnnn> is a four-digit number that represents the type of Jetson module:
•7f21 for Jetson Nano (P3448, included in the developer kit)
•7f21 for Jetson Nano (P3448-0020, for production devices)
•7019 for Jetson AGX Xavier
•7c18 for Jetson TX2
•7018 for Jetson TX2i
•7418 for Jetson TX2 4GB
•7721 Jetson TX1
As an alternative, you can look for the message above on the display device or serial console connected to one of the developer kit’s USB ports. (See Assumptions.)
(作为一种替代方法,您可以在连接到开发工具包的USB端口之一的显示设备或串行控制台上查找上面的消息。(见假设。))
L4T Over-the-Air (OTA) Updates
Applies to: Jetson Nano only
L4T provides a software update service (OTA update) using standard Debian Package archives. Starting with Release 32.2, NVIDIA provides Debian packages in the Jetson Nano SD card image. You can download new Debian packages from the NVIDIA APT repository for upgrading your Jetson Nano device.
NVIDIA provides the following Debian packages in the Jetson Nano SD card image:
(L4T无线(OTA)更新适用于:Jetson Nano只有L4T提供一个软件更新服务(OTA更新)使用标准的Debian软件包档案。从32.2版开始,NVIDIA在Jetson Nano SD卡映像中提供了Debian包。您可以从NVIDIA APT存储库下载新的Debian包来升级您的Jetson Nano设备。NVIDIA在Jetson Nano SD卡映像中提供了以下Debian软件包)
•nvidia-l4t-wayland
•nvidia-l4t-init
•nvidia-l4t-kernel-dtbs
•nvidia-l4t-firmware
•nvidia-l4t-xusb-firmware
•nvidia-l4t-oem-config
•nvidia-l4t-apt-source
•nvidia-l4t-weston
•nvidia-l4t-nvmedia
•nvidia-l4t-cuda
•nvidia-l4t-3d-core
•nvidia-l4t-kernel
•nvidia-l4t-multimedia
•nvidia-l4t-bootloader
•nvidia-l4t-v4l2
•nvidia-l4t-gstreamer
•nvidia-l4t-kernel-headers
•nvidia-l4t-camera
•nvidia-l4t-ccp-t210ref
•nvidia-l4t-x11
•nvidia-l4t-tools
•nvidia-l4t-core
•nvidia-l4t-configs
•nvidia-l4t-graphics-demos
•nvidia-l4t-multimedia-utils