AnsweredAssumed Answered

OV5640 MIPI Camera with IMX8M Mini EVK

Question asked by Sergei Poselenov on Dec 27, 2018
Latest reply on Jan 7, 2019 by Sergei Poselenov



I'm trying to use NXP OV5640 MIPI camera with NXP IMX8M Mini EVK. I'm using pristine NXP pre-built images from


The example command in the i.MX Linux User's Guide document, 7.3.8 "Camera preview" doesn't work for me:

root@imx8mmevk:~# uname -a
Linux imx8mmevk 4.9.123-imx_4.9.123_imx8mm_ga+g6a71cbc #8 SMP PREEMPT Sat Sep 8 00:42:13 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
root@imx8mmevk:~# dmesg |grep ov
[ 1.673967] ov5640_mipi 2-003c: No sensor reset pin available
[ 2.855016] mxc_mipi-csi 32e30000.mipi_csi: Registered sensor subdevice: ov5640_mipi 2-003c
[ 2.864554] ov5640_mipi 2-003c: Camera is found
root@imx8mmevk:~# export GSTL=gst-launch-1.0

root@imx8mmevk:~# $GSTL v4l2src device=/dev/video0 ! 'video/x-raw,format=(string)UYVY,width=640,height=480,framerate=(fraction)30/1' ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../../../../git/libs/gst/base/gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
root@imx8mmevk:~# lsmod
Module Size Used by
qca9377 4653056 0
galcore 368640 13
ipv6 401408 38


Any clues?