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.

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

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

    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.

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