wolegeyun / linux_nvidia_jetson

Allied Vision CSI-2 camera driver for NVIDIA Jetson Systems. Currently supporting Nano, TX2, AGX Xavier, and Xavier NX. Support for TX2 NX coming soon.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NVIDIA Jetson driver

Driver for Allied Vision Alvium MIPI cameras for NVIDIA Jetson with JetPack 4.6.1 (L4T 32.7.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 4.6.1 (L4T 32.7.1):

  • Nano 2GB and 4GB NVIDIA developer kit
  • TX2 (Beta: including optional use of Allied Vision's adapter for up to 6 cameras)
  • TX2 NX NVIDIA developer kit
  • AGX Xavier NVIDIA developer kit (Beta: including optional use of Allied Vision's adapter for up to 6 cameras)
  • Xavier NX NVIDIA developer kit
  • Beta: Xavier NX on Auvidea JNX30-PD for Alvium cameras with FPD Link interface.

The scripts require Git on the host PC.

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

Prerequisites: Install JetPack 4.6.1

Install JetPack 4.6.1 (L4T 32.7.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_L4T_32.7.1_.tar.gz.

  2. Copy the tarball to the target board.

  3. On the target board, extract the tarball and run the included install script.

  4. 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 18.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>
    Use "xavier" for AGX Xavier, NX Xavier, TX2, and TX2 NX.
    Use "nano" for Nano.

  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:

  • Option none: The Allied Vision camera driver is not loaded during bootup. To load the driver, reboot the board.

  • For NX Xavier, select option devkit or auvidea.
    For Xavier AGX and TX2, select the option 2 cameras or 6 cameras.

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

đź“– https://github.com/alliedvision/documentation/blob/master/NVIDIA.rst

About

Allied Vision CSI-2 camera driver for NVIDIA Jetson Systems. Currently supporting Nano, TX2, AGX Xavier, and Xavier NX. Support for TX2 NX coming soon.


Languages

Language:C 98.0%Language:Assembly 1.4%Language:Makefile 0.3%Language:Perl 0.2%Language:Shell 0.1%Language:Python 0.1%Language:C++ 0.0%Language:Yacc 0.0%Language:SmPL 0.0%Language:Lex 0.0%Language:Roff 0.0%Language:Awk 0.0%Language:GDB 0.0%Language:UnrealScript 0.0%Language:Gherkin 0.0%Language:Raku 0.0%Language:M4 0.0%Language:XS 0.0%Language:Clojure 0.0%Language:sed 0.0%