Skip to content

alliedvision/alvium-jetson-driver-release

Repository files navigation

Allied Vision Alvium CSI driver for Jetpack 6.2

Compatibility

SoMs + Carrier Boards

  • Jetson AGX Orin DevKit
  • Jetson Orin Nano DevKit
  • Jetson Orin NX + Jetson Orin Nano DevKit carrier

Cameras

  • All Alvium C cameras with Firmware 13 or newer

Installation

  1. Download the debian package from the releases section to our target board
  2. Install the packages by running:
    sudo apt install ./avt-nvidia-csi2-driver_<version>.deb
  3. Configure the device tree
    1. Start the jetson-io tool
      sudo /opt/nvidia/jetson-io/jetson-io.py
    2. Select the CSI connector configuration
      • For AGX Orin: "Jetson AGX CSI Connector"
      • For Orin Nano / NX: "Jetson 24pin CSI Connector"
    3. Select "Configure for compatible hardware"
    4. Select the appropriate "* Alvium C Dual *" configuration
    5. Select "Save pin changes"
    6. Select "Save and reboot to reconfigure pins"
  4. After the board has rebooted the camera can be accessed with V4L2 and Vimba X

Building

  1. Clone this repository including all submodules
  2. Download the Jetson Linux driver package and cross compiler from: Jetson Linux Downloads
  3. Extract the driver package:
        tar -xf jetson_linux_r36*.tbz2
  4. Extract the kernel headers from the driver package:
        cd Linux_for_Tegra/kernel/
        tar -xf kernel_headers.tbz2
  5. Extract the cross compiler
  6. Build the modules:
        export ARCH=arm64
        export CROSS_COMPILE=<path to cross compiler>/bin/aarch64-buildroot-linux-gnu-
        export KERNEL_SRC=Linux_for_Tegra/kernel/linux-headers-*-linux_x86_64/3rdparty/canonical/linux-jammy/kernel-source/
        make all 
  7. Install the driver modules
        export INSTALL_MOD_PATH=<path to install directory>
        make install

Known limitations

  • When using external triggers the NVIDIA v4l2 control override_capture_timeout_ms has to be set a suitable timeout value or -1 for a infinite timeout. Otherwise incomplete buffers with the error flag set might be returned due to a timeout while waiting for the image.

About

Allied Vision Alvium CSI camera driver for Jetpack 6

Resources

Stars

Watchers

Forks

Packages

No packages published