Hello,
I am stuck with this from last week. Please help me solve this issue.I am using the imx8m plus evk board and I connected the MINISASTOCSI to MIPI CSI 2 and set the fdt file to imx8mp-evk-ov2775-ov5640.dtb. Still it is not recoginising ov5640.
[ OK [ 12.128319] imx8_media_dev: module is from the staging directory, the quality is unknown, you have been warned.
] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ 12.145835] Error: Driver 'ov2775' is already registered, aborting...
[ 12.154603] imx-sdma 30bd0000.dma-controller: loaded firmware 4.5
[ OK ] Listening on D-Bus S[ 12.163910] mx8-img-md: Registered mxc_isi.1.capture as /dev/video0
ystem Message Bus Socket.
[ 12.184262] mx8-img-md: Registered sensor subdevice: ov2775 1-0036 (1)
[ OK ] Listening on dropbea[ 12.193521] mx8-img-md: created link [mxc_isi.1] => [mxc_isi.1.capture]
r.socket.
[ 12.203194] mx8-img-md: created link [mxc-mipi-csi2.1] => [mxc_isi.1]
[ OK [ 12.212985] mx8-img-md: created link [ov2775 1-0036] => [mxc-mipi-csi2.0]
] Reached target Sockets[ 12.221931] mxc-md 32c00000.bus:camera: mxc_md_create_links
.
root@imx8mpevk:~# v4l2-ctl --list-devices
():
/dev/v4l-subdev0
/dev/v4l-subdev3
/dev/v4l-subdev4
():
/dev/v4l-subdev1
(csi0):
/dev/v4l-subdev2
FSL Capture Media Device (platform:mxc-md):
/dev/media0
VIV (platform:viv0):
/dev/video0
VIV (platform:viv1):
/dev/video1
root@imx8mpevk:~# gst-launch-1.0 v4l2src device=/dev/video0 ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory.
Additional debug info:
../git/sys/v4l2/gstv4l2src.c(659): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../git/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:15.491856750
Setting pipeline to NULL ...
Freeing pipeline ...
from team:
-----------------
Can you provide following info:
- Are they seeing homescreen when linux bootup on HDMI ?
- What is the BSP version tried ?
- Can they try connecting camera directly to MIPI CSI 0 tru video0/video1 both and does it work ? Sometimes the OV5640 is connected incorrectly onto slot so this will verify if it works. Once it works directly with MIPI CSI 0 then they can try MINISAS to CSI
- Are they trying on customer platform or imx8mpevk ?
-----------------
Best regards
igor