Jetson TX1/TX2安装JetPack

Jetson TX1/TX2安装JetPack

 

Installing JetPack L4T

JetPack L4T 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.

    Jetson TX1/TX2安装JetPack_第1张图片

  3. Next, the JetPack installer will indicate the installation directory.

    Jetson TX1/TX2安装JetPack_第2张图片

  4. Select the development environment to setup.

     

    Jetson TX1/TX2安装JetPack_第3张图片

     

  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.

    Jetson TX1/TX2安装JetPack_第4张图片

  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. Jetson TK1 Developer Kit, Jetson TX1 Developer Kit, and Jetson TX2 Developer Kit support are available.

    Jetson TX1/TX2安装JetPack_第5张图片

    NOTE: To run a standalone Ubuntu install, deselect Jetson target specific entries.
  7. Accept the license agreement for the selected components.

    Jetson TX1/TX2安装JetPack_第6张图片

  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.

    Jetson TX1/TX2安装JetPack_第7张图片

    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.

    Jetson TX1/TX2安装JetPack_第8张图片

    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.

    Jetson TX1/TX2安装JetPack_第9张图片

  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.

    Jetson TX1/TX2安装JetPack_第10张图片

  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.

    Jetson TX1/TX2安装JetPack_第11张图片

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

    Jetson TX1/TX2安装JetPack_第12张图片

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

     

    Jetson TX1/TX2安装JetPack_第13张图片

     

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

    Jetson TX1/TX2安装JetPack_第14张图片

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:

/NVIDIA_CUDA-_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.

Jetson TX1/TX2安装JetPack_第15张图片

posted @ 2018-08-14 16:42 LW! 阅读( ...) 评论( ...) 编辑 收藏

你可能感兴趣的:(Jetson TX1/TX2安装JetPack)