tier4 / tier4_automotive_hdr_camera

This repository contains the device driver for the TIER IV Automotive HDR Cameras
https://tier4.github.io/edge-auto-docs/index.html
GNU General Public License v2.0
12 stars 8 forks source link

I got an error when installing this driver to ORIN #15

Closed zynquinopi closed 1 year ago

zynquinopi commented 1 year ago

When I tried to install the driver to Jetson ORIN, I got the error described in the attached file. Could you please tell me how to deal with this? error.txt make.log jetson_release.txt

bookbridge commented 1 year ago

From the log you attached, you are running L4T 35.3.1. from make.log, it looks that the dts file for the combination of C1 and C2 didn't generated correctly. On our side, we've tested Jetson ORIN with L4T 35.2.1. So 35.2.1 should work.

Just in case, Please delete all related files by using the script below.

#!/bin/bash

set -x

export KERNEL_RELS=$(uname -r)
sudo rm -fr /usr/src/tier4-camera-gmsl-*
sudo rm -fr /lib/modules/${KERNEL_RELS}/updates/dkms
sudo rm -f /etc/modules-load.d/tier4-imx490-gmsl.conf  /etc/modules-load.d/tier4-isx021-gmsl.conf
sudo rm -f /etc/modprobe.d/tier4-isx021.conf  /etc/modprobe.d/tier4-imx490.conf
sudo rm -f /lib/udev/rules.d/99-tier4-camera-gmsl.rules
sudo rm -fr /var/lib/dkms/tier4-camera-gmsl

sudo /sbin/depmod -a

And remove the pkg complelely.

sudo apt remove --purge tier4-camera-gmsl

then try again. If the problem persists, please consider to try with L4T 35.2.1.

zynquinopi commented 1 year ago

I tried again with the information you provided, but still got the same error. Since it is difficult to set up an L4T 35.2.1 environment in my hand, I will use a USB conversion adapter for the time being. Thanks you for your support.