alliedvision / linux_nvidia_jetson

Allied Vision CSI-2 camera driver for NVIDIA Jetson Systems.
103 stars 41 forks source link
agx-xavier allied-vision alvium camera csi-2 driver jetson-nano nano nvidia nvidia-jetson-tx2 nvidia-nano tx2 xavier-nx

NVIDIA Jetson driver

Driver for Allied Vision Alvium MIPI cameras for NVIDIA Jetson with JetPack 5.1 (L4T 35.2.1)
https://developer.nvidia.com/embedded/jetpack Alvium camera

Overview

The scripts in this project build and install the Allied Vision MIPI camera driver to the NVIDIA Jetson boards.

Compatible platforms with JetPack 5.1 (L4T 35.2.1) :

Before starting the installation, make sure to create a backup of your Jetson system.

Prerequisites

Host PC

The scripts for the driver installation require Git on the host PC.

Install JetPack 5.1

Install JetPack 5.1 (L4T 35.2.1) as per NVIDIA's instructions https://developer.nvidia.com/embedded/jetpack

Recommendation: Use NVIDIA SDK Manager to install JetPack and useful tools such as CUDA.
https://docs.nvidia.com/sdk-manager/

Install Alvium MIPI driver

Method A: Use precompiled binaries

Install the precompiled kernel, which includes the driver and an installation menu.

  1. Extract the tarball on a host PC.
    The tarball contains helper scripts and another tarball with the precompiled binaries named AlliedVision_NVidia_L4T35.2.1.0.tar.gz.
  1. Copy the tarball to the target board.
  2. On the target board, extract the tarball and run the included install script.
  3. Proceed with selecting options from the installation menu as described below.

Method B: Cross-compile binaries from source

The scripts require a host PC with Ubuntu (we recommend version 20.04).

Download sources and scripts from https://github.com/alliedvision/linux_nvidia_jetson to the host PC.

On the host PC:

  1. Execute ./build.py -b xavier
    Optionally you can sign the resulting apt repository with a pgp key by adding the option --sign <name of pgp key>.

  2. Copy the tarball to the target board.

On the target board:

Extract the tarball and run the included install script. The script includes an installation menu, please use the option for your hardware:

Reboot the board. Now you can use the driver.

To change the configuration after the driver was installed, enter:

dpkg-reconfigure avt-nvidia-l4t-bootloader

Reboot the board to apply the changes.

Additional information

NEW: For use with GenICam, download our new Vimba X SDK: https://www.alliedvision.com/en/products/software/vimba-x-sdk/

:open_book: https://github.com/alliedvision/documentation/blob/master/NVIDIA.rst