Skip to content

Cannot install CSI2 camera driver on Orin #62

@koltonha

Description

@koltonha

I cannot install the AlliedVision CSI2 camera drivers on an Orin system:

# cat /etc/issue
Ubuntu 20.04.6 LTS \n \l
# cat /etc/nv_tegra_release 
# R35 (release), REVISION: 3.1, GCID: 32827747, BOARD: t186ref, EABI: aarch64, DATE: Sun Mar 19 15:19:21 UTC 2023
# uname -a
Linux blinky 5.10.104-tegra #2 SMP PREEMPT Thu May 11 11:43:03 CST 2023 aarch64 aarch64 aarch64 GNU/Linux

File used:

https://github.com/alliedvision/linux_nvidia_jetson/releases/download/l4t-35.3.1-5.1.1-beta1/AlliedVision_NVidia_L4T_35.3.1_5.1.1.gf33fde2d6.tar.gz

When I run the installer script:

# ./install.sh 
Allied Vision MIPI CSI-2 camera driver for NVidia Jetson (kernel 5.10.104)
Install kernel driver (y/n)? y

Installing...
Extracting repository:
Release.gpg
KEY.gpg
Release
Packages
avt-nvidia-l4t-kernel-headers_5.10.104-tegra-35.3.1-5.1.1~gf33fde2d6_arm64.deb
avt-nvidia-l4t-kernel_5.10.104-tegra-35.3.1-5.1.1~gf33fde2d6_arm64.deb
avt-nvidia-l4t-bootloader_35.3.1-5.1.1~gf33fde2d6_arm64.deb
avt-nvidia-l4t-kernel-dtbs_5.10.104-tegra-35.3.1-5.1.1~gf33fde2d6_arm64.deb
Importing Repository:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'avt-nvidia-l4t-kernel-headers' for glob 'avt-nvidia-*'
Note, selecting 'avt-nvidia-l4t-kernel-dtbs' for glob 'avt-nvidia-*'
Note, selecting 'avt-nvidia-l4t-bootloader' for glob 'avt-nvidia-*'
Note, selecting 'avt-nvidia-l4t-kernel' for glob 'avt-nvidia-*'
Package 'avt-nvidia-l4t-bootloader' is not installed, so not removed
Package 'avt-nvidia-l4t-kernel-dtbs' is not installed, so not removed
Package 'avt-nvidia-l4t-kernel-headers' is not installed, so not removed
Package 'avt-nvidia-l4t-kernel' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libpaps0 paps
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
OK
deb file:/opt/avt/packages ./
Get:1 file:/opt/avt/packages ./ InRelease
Ign:1 file:/opt/avt/packages ./ InRelease
Get:2 file:/var/cuda-repo-l4t-11-4-local  InRelease [1575 B]
Get:3 file:/var/cudnn-local-tegra-repo-ubuntu2004-8.6.0.166  InRelease [1575 B]
Get:4 file:/opt/avt/packages ./ Release [816 B]                
Get:2 file:/var/cuda-repo-l4t-11-4-local  InRelease [1575 B]
Get:3 file:/var/cudnn-local-tegra-repo-ubuntu2004-8.6.0.166  InRelease [1575 B]
Get:4 file:/opt/avt/packages ./ Release [816 B]                                                                          
Hit:5 http://ports.ubuntu.com/ubuntu-ports focal InRelease                                                            
Hit:6 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease                           
Get:7 https://repo.download.nvidia.com/jetson/common r35.3 InRelease [2555 B]
Hit:8 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Get:9 https://repo.download.nvidia.com/jetson/t234 r35.3 InRelease [2547 B]
Hit:10 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Fetched 5102 B in 1s (5469 B/s)
Reading package lists... Done
Installing packages:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 avt-nvidia-l4t-bootloader : Conflicts: nvidia-l4t-bootloader (< 35.4-0) but 35.3.1-20230319081403 is to be installed
 avt-nvidia-l4t-kernel : Conflicts: nvidia-l4t-kernel (< 35.4-0) but 5.10.104-tegra-35.3.1-20230319081403 is to be installed
 avt-nvidia-l4t-kernel-dtbs : Conflicts: nvidia-l4t-kernel-dtbs (< 35.4-0) but 5.10.104-tegra-35.3.1-20230319081403 is to be installed
 avt-nvidia-l4t-kernel-headers : Conflicts: nvidia-l4t-kernel-headers (< 35.4-0) but 5.10.104-tegra-35.3.1-20230319081403 is to be installed
E: Unable to correct problems, you have held broken packages.

Above output was after doing an apt-get update, and apt-get upgrade.

Note: the JetPack installation was downloaded from AverMedia (the carrier board vendor), because without it, the system will not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions