From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754125AbeEaTHT (ORCPT ); Thu, 31 May 2018 15:07:19 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:44915 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754094AbeEaTHI (ORCPT ); Thu, 31 May 2018 15:07:08 -0400 Date: Thu, 31 May 2018 21:06:59 +0200 From: Philipp Zabel To: Jagan Teki Cc: Steve Longerbeam , Fabio Estevam , Discussion of the development of and with GStreamer , linux-media@vger.kernel.org, linux-kernel Subject: Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux Message-ID: <20180531190659.xdp4q2cjro33aihq@pengutronix.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 20:59:54 up 161 days, 3:18, 91 users, load average: 0.11, 0.38, 0.39 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: pza@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jagan, On Thu, May 31, 2018 at 08:39:20PM +0530, Jagan Teki wrote: > Hi All, > > I'm trying to verify MIPI-CSI2 OV5640 camera on i.MX6 platform with > Mainline Linux. > > I've followed these[1] instructions to configure MC links and pads > based on the probing details from dmesg and trying to capture > ipu1_ic_prpenc capture (/dev/video1) but it's not working. > > Can anyone help me to verify whether I configured all the details > properly if not please suggest. > > I'm pasting full log here, so-that anyone can comment in line and dt > changes are at [2] > > Log: > ----- [...] > # media-ctl -l "'ov5640 2-003c':0 -> 'imx6-mipi-csi2':0[1]" > # media-ctl -l "'imx6-mipi-csi2':2 -> 'ipu1_csi1':0[1]" > # media-ctl -l "'ipu1_csi1':1 -> 'ipu1_ic_prp':0[1]" > # media-ctl -l "'ipu1_ic_prp':1 -> 'ipu1_ic_prpenc':0[1]" > # media-ctl -l "'ipu1_ic_prpenc':1 -> 'ipu1_ic_prpenc capture':0[1]" Here you configure a pipeline that ends at ipu1 prpenc capture ... > # med# media-ctl -p [...] > - entity 18: ipu1_ic_prpenc capture (1 pad, 1 link) > type Node subtype V4L flags 0 > device node name /dev/video0 ... which is /dev/video0 ... [...] > - entity 27: ipu1_ic_prpvf capture (1 pad, 1 link) > type Node subtype V4L flags 0 > device node name /dev/video1 ... not /dev/video1 ... [...] > # GST_DEBUG="v4l2*:5" gst-launch-1.0 -v v4l2src device=/dev/video1 ! \ > > autovideosink ... and then you try to capture from prpvf, which is not part of a configured pipeline. regards Philipp