Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp940235imm; Thu, 31 May 2018 12:08:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIBFfdwS7DKx3vOe+NNxcmk9f/5fP4Q7oYhxeZ5ohhaG3kvkzJ5uJJkAP0aiudxZ2ryc+84 X-Received: by 2002:a65:56c1:: with SMTP id w1-v6mr6543559pgs.227.1527793702461; Thu, 31 May 2018 12:08:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527793702; cv=none; d=google.com; s=arc-20160816; b=opL74sI6fGqRhG35/eMGFHjGc2l+fK40F6GWFLQDLT6t+8M0z6U3gNMpfQ3cNFUQ6J Pk4K5h9+fwog72W6HZ3dC448AjvA1giA7MuR2aC3+mbqY6ftYl37TdQzoLOLKJlE+F+y e2ZWKSiVFgerBxh4l/ifKYbh5GO/0WfoujcR4MMuIvGzDl5a0jpzqjRLIK1hZ9TVqMsY P0JLtY5UMADsJv03oXMVGwv81L7hcYDwCcZ51iNsfrQATQgzIi9eXGo9T2lVCU6surve sBBigq8oaC1Ce7Ggb8+t6Du52w3gf3xkOxYct2SlxJ9Giojhh0lcoWuK2f3mL6xsiFP7 Dotg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=I6P4DGje7KNcoMJQLkn5CRNYHB/8jKhLKHPrMOd9iZM=; b=SOS+76blHLJjNGzFche91I1DSnAFaib/gkX+iBijY/KYYxJjyvSTFTJQS2BIFDl8Po EHMrnqpEO4OPz7iKPoADBezKOR+JGHQ/13sBK+iPlgJAEtvwcwjvx0C7sNk3FfnVmOXe EgHhVnovit4mSP8XnHfwlyN41HuMBnzHXVCp6YEe6GCBIKlQclixH5Y5AjpQm4/jmFWh 1on43k3b3VKKljTMmaa8mzxLLEArJEk3th74aCxLQdPrfR8gMC/ndw5jsjuVAxgXCiEh CgN3szTE0bI8vZ5aQ0UiVBtlSdvLJ6c+ZAdEmHmNl4HCDh61TCWaOu4B7/VfeZzomZYs awYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11-v6si38169218pfh.131.2018.05.31.12.07.59; Thu, 31 May 2018 12:08:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754117AbeEaTHS (ORCPT + 99 others); Thu, 31 May 2018 15:07:18 -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 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fOSub-0002DW-2Z; Thu, 31 May 2018 21:07:01 +0200 Received: from pza by ptx.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1fOSuZ-0005hS-Hk; Thu, 31 May 2018 21:06:59 +0200 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 Precedence: bulk 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