JetPack 4.4(L4T-R32.4.3) 升级

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了JetPack 4.4(L4T-R32.4.3) 升级相关的知识,希望对你有一定的参考价值。

参考技术A NVIDIA提供从JetPack 4.4开始,升级到下一个JetPack版本可以直接使用DEBIAN包管理工具而不用直接烧录的方式,按照以下步骤执行升级:

如果存储空间有限则可以先移除旧包(如16GB EMMC),参考命令 :

JetPack 4.4 - L4T R32.4.3 production release

Install JetPack

https://docs.nvidia.com/jetson/archives/jetpack-archived/jetpack-33/index.html#jetpack/3.3/introduction.htm%3FTocPath%3D_____1

Download and Install JetPack


This document is intended to help you get familiar with installing JetPack, using the tools, and running sample code.

System Requirements

Host Platform:

  • Ubuntu Linux x64 v16.04

    Note that a valid Internet connection and at least 10GB of disk space is needed for the complete installation of JetPack.

Target Platform:

  • One of the following developer kits:
    • Jetson TX2
    • Jetson TX2i
    • Jetson TX1
  • Additional target requirements:
    • USB Micro-B cable connecting Jetson to your Linux host for flashing.
    • (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 could be connected to the USB port on the Jetson system.
    • An HDMI cable plugged into the HDMI port on Jetson Developer Kit, which is connected to an external HDMI display.
    • An Ethernet cable plugged into the on-board Ethernet port, which is connected to either a secondary network card on your Linux host or the same network router providing internet access for the Linux host.

Download the Latest JetPack Version

The latest version of JetPack is available in the NVIDIA Embedded Developer Zone at: 

https://developer.nvidia.com/jetson-development-pack

All available JetPack downloads can be found at:

https://developer.nvidia.com/jetpack-archive

Downloading JetPack

  • On the host machine running Ubuntu, create a new directory to store installation packages.
  • Download JetPack-${VERSION}.run into the new directory on the host Ubuntu machine.

 

技术图片 Avoid running or installing JetPack in a path that contains a "." Paths that contain a "." are known to cause installation issues.

 

Installing JetPack

JetPack runs on the host Ubuntu x86_64 machine and sets up your development environment and Jetson Development Kit target via remote access. Please refer to the System Requirements section for supported hardware configurations.

The following instructions assume you have downloaded the latest JetPack version, JetPack-${VERSION}.run, where ${VERSION} refers to the version string for the installer you have.

  1. Add exec permission for the JetPack-${VERSION}.run
    chmod +x JetPack-${VERSION}.run
  2. Run JetPack-${VERSION}.run in terminal on your host Ubuntu machine.

    技术图片

  3. Next, the JetPack installer will indicate the installation directory. In the Privacy Notice section, select whether or not to enable data collection.

    技术图片

  4. Select the development environment to setup.

     

    技术图片

     

  5. The JetPack installer will pop up a window to ask for permission to use during the installation process; you will need to enter your sudo password here.

    技术图片

  6. The Component Manager opens, which allows you to customize which components to install. Select the Jetson Developer Kit you would like to develop for to customize the installation components for each device.

    技术图片

     

    技术图片 NOTE: To run a standalone Ubuntu install, deselect Jetson target specific entries.

     

  7. Accept the license agreement for the selected components.

    技术图片

  8. The Component Manager will proceed with the installation. Once the host installation steps are completed, click the Next button to continue with the installation of target components.

    技术图片

     

    技术图片 NOTE: JetPack will now proceed with setting up the Jetson Developer Kit target, if the corresponding components were selected (i.e., flashing the OS and pushing components to the Jetson Developer Kit target).

     

  9. If you de-selected Flash OS in the Component Manager, you will need to enter the IP address, user name, and password to set up an ssh connection to the target device.

    技术图片

    After you enter the required information and click Next, JetPack will begin installing components on the target device.

  10. If you selected Flash OS in the Component Manager, you will need to select the network layout for your specific environment.

    技术图片

  11. If you selected the Device access Internet via router/switch layout, you will be asked to select which interface to use for Internet access.

    技术图片

  12. If you selected the Device get IP assigned by DHCP server on host and access Internet via host machine layout, you must select which interface is to be used for Internet access, and which is to be used for the target interface.

    技术图片

  13. A pop-up window will instruct you to put your device into Force USB Recovery Mode, so you can flash the OS.

    技术图片

  14. Next, you will be prompted to install components on the specific target machine, and to compile samples.

     

    技术图片

     

  15. After the post installation tasks have been completed, the installation will be complete.

    技术图片

Compiling Samples

JetPack automatically compiles all samples, if Compile Samples was checked during the component selection portion of the installation. CUDA samples can be found in the following directory:

<JetPack_Install_Dir>/NVIDIA_CUDA-<version>_Samples

You can recompile the samples by running:

SMS=53 EXTRA_LDFLAGS=--unresolved-symbols=ignore-in-shared-libs TARGET_ARCH=aarch64 make

Run Sample Code

The CUDA samples directory will be copied to the home directory on your device by JetPack. The built binaries are in the following directory:

/home/ubuntu/NVIDIA_CUDA-<version>_Samples/bin/aarch64/linux/release/

Run them by calling them in terminal, or double-clicking on them in the file browser. For example, when you run the oceanFFT sample, the following screen will be displayed.

技术图片

以上是关于JetPack 4.4(L4T-R32.4.3) 升级的主要内容,如果未能解决你的问题,请参考以下文章

JetpackJetpack 简介 ( 官方架构设计标准 | Jetpack 组成套件 | Jetpack架构 | Jetpack 的存在意义 | AndroidX 与 Jetpack 的关系 )

Jetpack学习-初识Jetpack

DeepStream6.0系列之版本说明

Android Jetpack学习之旅--> 开始使用 Jetpack

《Android Jetpack从入门到精通+高级Jetpack强化实战》,最新Jetpack系列开发笔记开源

Jetpack架构组件库-Jetpack入门介绍