alliedvision / linux_nvidia_jetson

Allied Vision CSI-2 camera driver for NVIDIA Jetson Systems.
105 stars 41 forks source link

Cannot install CSI2 camera driver on Orin #62

Open koltonha opened 1 year ago

koltonha commented 1 year ago

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.

koltonha commented 1 year ago

Some more information:

# apt-cache show nvidia-l4t-bootloader
Package: nvidia-l4t-bootloader
Version: 35.3.1-20230319081403
Architecture: arm64
Maintainer: NVIDIA Corporation
Installed-Size: 218656
Pre-Depends: nvidia-l4t-core (>> 35.3-0), nvidia-l4t-core (<< 35.4-0)
Depends: nvidia-l4t-tools (= 35.3.1-20230319081403), nvidia-l4t-init (>> 35.3-0), nvidia-l4t-init (<< 35.4-0)
Homepage: http://developer.nvidia.com/jetson
Priority: standard
Section: bootloader
Filename: pool/main/n/nvidia-l4t-bootloader/nvidia-l4t-bootloader_35.3.1-20230319081403_arm64.deb
Size: 121420002
SHA256: 548bb71892f47962a7cc60d5e17d2f96b9cb0d9f6db7a6d989ea3a17ba23a22a
SHA1: db595c5232a3977de79b8f1466213b85b4d8953c
MD5sum: 95d734da6dfcff1677edfc439bc743b4
Description: NVIDIA Bootloader Package
Description-md5: 2efd4ccad003d0f8ffdf019f39b0dac4
BernardoLuck commented 11 months ago

Hi, we have corrected the driver for the version of L4T 35.4.1