linux_nvidia_jetson
linux_nvidia_jetson copied to clipboard
Allied Vision CSI-2 camera driver for NVIDIA Jetson Systems.
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

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.
-
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. -
Copy the tarball to the target board.
-
On the target board, extract the tarball and run the included install script.
-
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:
-
Execute
./build.py -b <xavier>
Use "xavier" for AGX Xavier, NX Xavier, TX2, and TX2 NX.
Use "nano" for Nano. -
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
devkitorauvidea.
For Xavier AGX and TX2, select the option2 camerasor6 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
:open_book: https://github.com/alliedvision/documentation/blob/master/NVIDIA.rst