Using a custom driver with Jetpack 6

Hello,

I am working on this project with a Orin Nano Devkit:

Unfortunately the repo only describes the installation on a raspberry pi.

I already managed to compile a .ko file on the orin and insert it using

sudo cp ds90ub954.ko /lib/modules/uname -r/kernel/drivers/media/i2c/.

Also the start at boot of the .ko file should work after inserting “ds90ub954” into /etc/modules.

Then I copied the .dtbo file into /boot (and also /boot/dtb). But the overlay gets not listed here

sudo /opt/nvidia/jetson-io/config-by-hardware.py -l

The problem might be this line in the .dtbo file which is raspberry pi specific.
compatible = “brcm,bcm2835”

But just removing it, did not solve the problem. I attached the complete .dts file (as .txt) that I compiled to the .dtbo file.

Greetings, Matthias
ds90ub954.dts.txt (1.2 KB)

Looks like the driver from this version is J4.x and it’s for Jetson nano instead of Jetson Orin Nano.
Please consult with vendor to get the driver for right BSP.

Thanks