Building OS

Overview

  1. Flash the OS and install the components by JetPack.

Prerequisites

Hardware

  • Power cable of the Jetson module, plugged in.
  • USB to Micro-B cable, connected from your computer to the device.
  • Ethernet cable, connected from the device to a router/switch or an Ethernet port on your computer.

Software

  • Ubuntu 14.04, on your computer.

NOTE: JetPack doesn't support Ubuntu 16.04 at the moment.

Install with JetPack

  1. Download JetPack to your computer.
  2. Move the file to an empty directory.
  3. Run JetPack in the directory by running:

    chmod +x JetPack-L4T-3.0-linux-x64.run
    ./JetPack-L4T-3.0-linux-x64.run
    
    1. With the title "JetPack L4T 3.0 Installer", press "Next".
    2. With the title "Installation Configuration", press "Next".
    3. With the title "Select Development Environment", select "Jetson TX2", press "Next".
    4. With the window title "JetPack L4T Component Manager", press "Next".
    5. Accept the terms and conditions.
    6. Wait for the downloading.
    7. In the following steps, if prompted with questions, enter as the messages suggest.
    8. With the title "Installing", press "Next".
    9. With the title "Network Layout - Jetson TX2", select the way you desire, e.g., if you are using a router/switch, go with the first one; if you are connecting the Ethernet cable directly from your computer to the device, go with the second one.
    10. With the title "Network Interface Selection", open a new terminal and enter ifconfig to see the network interface configuration.
    11. With the title "Post Installation Jetson TX2", press "Next".
    12. A window with the title "Post Installation" will show up. Follow the instructions or see the steps in Place System in Force USB Recovery Mode as written on the manual. You can also refer to Force USB Recovery Mode Button Animation.
    13. After you have done the instructions, open a new terminal window and type lsusb to check there is a device with the name "NVidia Corp.", then press "Enter" key in the window.
    14. Wait for it. It might take a long time.
    15. When you see "Installation of target components finished, close this window to continue.", follow the instruction.
    16. With the title "Installation Complete", press "Finish".

IMPORTANT: You should run test #1 to verify the installation is done correctly.

IMPORTANT: You should keep the JetPack directory after the installation. We need it to clone the images.

NOTE: When in doubt, go uninstall it. Start all over again to prevent from strange problems.

TIP: After this section, you can use ssh to connect to the device from your computer with an Ethernet cable.

TIP: You can clone the image to have a clean checkpoint after this section.

Place System in Force USB Recovery Mode

  1. Power down the device. If connected, remvoe 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 [2].
  4. With the system powered on, press and release the POWER button [19], if necessary; press and hold the RECOVERY FORCE button [20]; while depressing the RECOVERY button, press and release the RESET button [22]; wait two seconds and release the RECOVERY FORCE button.
  • [19]: Power Button (Power BTN)
  • [20]: Force Recovery Button (REC)
  • [21]: User Defined Button (Vol)
  • [22]: Reset Button (RST)

Force USB Recovery Mode Button Animation

Power Button Force Recovery Button User Defined Button Reset Button
Press - - -
- - - -
- Press and Hold - -
- Holding - Press
- Holding, wait 2 seconds - -
- Release - -
- - - -

Uninstall with JetPack

Open the uninstaller GUI by running:

./JetPack_Uninstaller

Uninstall all components, then delete all files in the folder. If you want to install again, leave only the JetPack installer file.

Test

NOTE: These tests should be run on the Jetson module.

  1. Check whether Nvidia samples can run:

    /home/nvidia/NVIDIA_CUDA-8.0_Samples/0_Simple/matrixMul/matrixMul && \
    /home/nvidia/NVIDIA_CUDA-8.0_Samples/1_Utilities/deviceQuery/deviceQuery && \
    /home/nvidia/NVIDIA_CUDA-8.0_Samples/1_Utilities/deviceQueryDrv/deviceQueryDrv && \
    /home/nvidia/NVIDIA_CUDA-8.0_Samples/5_Simulations/particles/particles -benchmark
    

    It should print lots of messages instead of freezing or printing error messages.

results matching ""

    No results matching ""