MIPI-CSI Camera driver OV2775

Hi,

im working on a dahlila dev board with verdin module and a imx8mp processor.
Im building the recipe from toradex latest yocto recipe and im tying to build a device tree overlay that allow me to enable a OV2775 camera in our design.

I figured out to add my device tree overlay that define a node for ov2775, but it doesnt work.
Since we have some doubt about the correctness of our little interface board placed between dahlila and camera module we need to read the driver to look how some signal are managed.

Unfortunately i was not able to find the driver source that kernel use for this device, in my kernel source file the word ovti,ov2775 appears only in few DTS file and never in a .c/.h one.

Someone have some hint about how to find the driver used?

I attach my DTS overlay.
verdin-imx8mp_ov2775_overlay.dts (1.6 KB)

Hi @EBoccati ,

Welcome to the Toradex community.

Quick question upfront. Is it possible that you have been using a different camera in the past? Maybe in another project? If so, would you be able to share some insights?

Our records show some communication with you about camera drivers but there we talked about the E-Con camera.

Best Regards
Kevin

Hi @kevin.tx,
Yes we bought from you the developer kit that come with the e-con camera based on ar0251 sensor.
We were able to made that camera work using yocto build get from e-con source FTP but that wasnt the camare choosen for our design, the ov2775 is the selected camera cause it satisfy all our requisites such: vision angle, working temperature range ecc ecc.

I take this opportunity to share you the evolution of our test.
We added the imx-isp recipe to our build, that recipe cointains some driver module for a bunch of camera, ov2775 included.
First of all in this package there are two driver compatibile with ov2775 so at the first stage the driver os08a20 were enable from kernel, we have blacklisted it in order to made kernel load the ov2775 one.
Now this driver is loaded but the kernel log show some panic on startupt caused by the driver and obviously im unable to capature any image using gstreamer.
I also tried to luach the script “run.sh” provided by imx-isp reciper giving various ov2775 available configuration but it never end execution.

I attach the kernel log of panic and the log of script execution.
During script execution kernel doesnt show any log.
klog.txt (6.4 KB)
script-log.txt (1.6 KB)

Hi @EBoccati ,

thank you for the new information. In the meantime I stumbled upon the following document. They list the OV2775 as an example camera here. I suggest you have a look at this in the meantime, if you haven’t already.

i.MX 8M Plus Camera and Display Guide

We’re looking into it. I will reach out to you as soon as I have an update.

Best Regards
Kevin

Hi Kevin,

i see the document but it describe how to make porting to create a driver for a sensor, we havent such knowledge on our office at the moment.

We never worked with camera so deeply so we arent able to develop a new driver and we havent the resource to allocate for this task.

If you need more information im here to find it for you.

For now i can tell you that the image was built by me and it start from a toradex multimedia image where i removed the qt demo app, added the machine learning layer to add tensorflowlite and all other the module required to make image classification NN and the overlay for ov2775 camera.

Best regards,

EB

mCRkMPuIMhkJ6VQD.png

018Q06xv9HIu5C3q.jpg

Hi @EBoccati ,

Thanks for the information. I am currently talking to the team to gather more information. During my research, I found a driver for the OV2775. This one though was not specifically tested on Toradex hardware, but a quick flyover gave the impression that this might be at least some starting point.

Have a look at it and let me know if this is helpful.

OV2775 Driver

Best Regards
Kevin