MIPI camera support on i.MX6

Published on June 27, 2013

Archived Notice

This article has been archived and may contain broken links, photos and out-of-date information. If you have any questions, please Contact Us.

This post is now DEPRECATED! Please visit our Wiki.

This is a quick post regarding support for our MIPI 5MPixel camera module for our i.MX6 boards.

In brief, support is present in the kernel, but not enabled by default.

There are some resource conflicts between the MIPI module and our parallel camera module and since we've shipped many more of the parallel camera, and a kernel re-configuration and re-compile are needed to allow the MIPI module to function.

You'll need to both disable the OV5642 driver and enable the OV5640_MIPI driver when using the MIPI module.

To make this easy, we've added a couple of configuration files for our non-Android boundary-imx_3.0.35_4.0.0 and Android boundary-jb4.2.2 kernel repository branches.

In addition, only a sub-set of capture-mode values are available under gstreamer. In particular, we've tested against mode 4 (720P30) and mode 5 (1080P30).

# gst-launch mfw_v4lsrc capture-mode=5 ! mfw_v4lsink

The biggest benefit to using the MIPI camera over the parallel camera is the increased throughput (the parallel camera only supports 1080P15 - 15 fps).

The biggest downside is that we haven't (yet) implemented auto-focus for the OV5640.