Cameras on SabreSD IMX6Q board stop working with strange behaviour

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cameras on SabreSD IMX6Q board stop working with strange behaviour

997 Views
makislivadas
Contributor IV

I have SabreSD IMX6Q board with two cameras one CSI (ov5642) and one mipi (ov5640).

I am using Linux (GNOME profile) and usually first load the drivers like this:

modprobe mxc_v4l2_capture
modprobe ov5642_camera
modprobe ov5640_camera_mipi

before I can use the cameras.

At this moment none of the drivers load and I get following output:

camera ov5642 is not found
camera ov5640_mipi is not found

However, If I load the CSI driver for ov5640 instead the driver probe succeeds, i.e running

modprobe mxc_v4l2_capture

modprobe ov5640_camera

modprobe ov5640_camera_mipi

I get

camera ov5640 is found

camera ov5640_mipi is not found

and I can then use the CSI camera as before as the ov5640 and ov5642 are very similar cameras.

As there is no mipi driver for ov5642 I cannot test the same work around.

It appears to me that part of the problem is that the cameras on the board report the wrong Chip ID.

They report ov5640 instead of ov5642 for the CSI camera and ov5642 instead of ov5640 for the mipi camera.

My question is:

Did this symptom happen to anybody here too.

What could be the reason for this, and is there a solution.

Also can I buy the board cameras individually from somewhere, in case I somehow damage them?

Also original Android SD card cannot see any cameras on my board anymore.

Labels (4)
0 Kudos
1 Reply

365 Views
makislivadas
Contributor IV

This problem is now solved.

I have looked at the problem and as I could talk to the cameras via the I2C interface I decided to believe what the software is telling me, i.e. that the camera in the parallel camera PCB was an ov5640 and the camera in the mipi camera PCB was an ov5642. I decided to swap the cameras from the little camera boards and now the system is up and running.

0 Kudos