Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp3607941ima; Tue, 23 Oct 2018 08:28:34 -0700 (PDT) X-Google-Smtp-Source: ACcGV61tCvnysmtd/UfNQCt2acYO3RP1aSwiocWHxrrmHU583Ku8UHkTvi1kbPmb8Ihnw8lxRLTd X-Received: by 2002:a63:1a41:: with SMTP id a1-v6mr48307210pgm.9.1540308514413; Tue, 23 Oct 2018 08:28:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540308514; cv=none; d=google.com; s=arc-20160816; b=WByW9JUHnslLXRz37s01JVTj4gPm21tTNBwB9wiMKasvpY9nlna+0T8C0SAGT03n31 +pEoTIImwrmvJZZVK7zL7DrYC37PGmA4uLU/atWug047ow7R+RRKh7sw5T0yQfeBB+/V pJcIYhJnu8dAlx9ChKTiZlxK19tmizgxe2jd1WfkKyh7iPKrHi1MAjzMtrtdkHxESP2w LlkzNKqqkx5SgfMQ+5U37Qok+Fp+Kt7VjFpeEnZDwgSckCpBFRr9H+FGV/zL0SFJX8Gy hnu+fxWCweVDB8eCLfLlTbUaX8yhfxyo6V1x83DRRayBy0n5sqiZhl48UcE3WjnFWnYi ySbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ua1z2d3HFvEPCqEAltIm0ylWFUcAw0J/WOp/67VgqL8=; b=H97UYXcK6+EDUN820OiYFH5mqiMCwMu9NUQB1IGTO916mcMoLsXHb2pr4EAyXiraqJ r2lIh+Nu+tuECAK7fU/yp9WL1bZmJMzogOejOiIQ+BciiL5smCU4kQx3db3VV0VB3OfZ DXJgVbHXUNzF2v9U3lwv3BqstffyAK85lC22/KCXPLszN1DeGhniDpyRBzjmnk22ge/M E3hNWXHhYV126MXJ87wnO2igaa4h9Th43vRQBkDshxyE49XDujha1D+zTFX3S3zoN1C4 vxYryEM4ZBFB4MdSpQrgwuC0s6kcgcrTNkbg7ovXxdo6NoQGcsF0rGC52jhEkf+fFfU7 HmWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ab8yy9Ws; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y20-v6si1577433pgl.125.2018.10.23.08.28.15; Tue, 23 Oct 2018 08:28:34 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ab8yy9Ws; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728280AbeJWXnd (ORCPT + 99 others); Tue, 23 Oct 2018 19:43:33 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:33661 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726970AbeJWXnd (ORCPT ); Tue, 23 Oct 2018 19:43:33 -0400 Received: by mail-ed1-f65.google.com with SMTP id r25-v6so2022603edy.0; Tue, 23 Oct 2018 08:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ua1z2d3HFvEPCqEAltIm0ylWFUcAw0J/WOp/67VgqL8=; b=Ab8yy9WsBpxLV05FOGoTDikawNRdvYDu0cEm+T+GQbIsHOuLlQSGH8CL0KSaTVc0mj +3mMWudSQSerPdSxwZhhD/w8hJjG4g40i98iZeM/tATdEEfvo7foP1xX952DLg6CZqgR PlRkLXJ13dv87PJrPM5W//RV0xRu4mXJUP/s8ekUNe7CTPhtVczztdgINNdzEe57S5Zc 7cUnCpPQqTy7tC3bDFaRdb8THEK3RI/ukxGbOUjXg2WaGsDDaebwAxBZxdczd0oV5UsS JS8snwBXb1hd+cw7yvLh0u/PsXg98eO5uyCW8hPuKC4C98+IbwdIYssi/U6JBRm0S25p NrbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ua1z2d3HFvEPCqEAltIm0ylWFUcAw0J/WOp/67VgqL8=; b=hndx1Q4FW3SYPcsf+eaMRtpZiU+gRA5M1yIVVweUow75nFQ5xz5OBFpwZD2Ru1dPGw GV+xYf9uyOMRCypTiDMjqpESya5m0Vk5D5O0hmy9Ef0gZS7cJcSptqTu2+iVWwAF6243 eHWohTYz53hr28mhuBsIV2LW2PxGSYnJ4FB30KWz2lpCXgdvHz4zbT+fxtrM1015N9VY ApxgbMVQj0EJQyMthKN8TNS5BbFOKWWLBHrJJpqnhEsszvbr5zKj7XrX5NEqduSSYvWs ZlmqjhNjuOTRVlLg0ZadxvK/axZJwX9P9Q7io4FZY0p8ICTAkyBsDhBrqrTTFb7izFCi bmOw== X-Gm-Message-State: ABuFfoie5LfxSfurcJF7w8at6HUpG59oF4ZJ96gmNBTFWkh4RCMwPJ8k NqG3Af9tFeXWosE9s4cMj+fLeQEnMsM1aujO62A= X-Received: by 2002:a50:a48b:: with SMTP id w11-v6mr16511221edb.74.1540307980371; Tue, 23 Oct 2018 08:19:40 -0700 (PDT) MIME-Version: 1.0 References: <20180920145658.GE16851@w540> <20181017080103.GD11703@w540> <20181022113306.GB2867@w540> In-Reply-To: From: Adam Ford Date: Tue, 23 Oct 2018 10:19:28 -0500 Message-ID: Subject: Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux To: Fabio Estevam Cc: jacopo@jmondi.org, steve_longerbeam@mentor.com, Jagan Teki , p.zabel@pengutronix.de, Fabio Estevam , gstreamer-devel@lists.freedesktop.org, linux-media@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 22, 2018 at 7:40 AM Fabio Estevam wrote: > > Hi Adam, > > On Mon, Oct 22, 2018 at 9:37 AM Adam Ford wrote: > > > Thank you! This tutorial web site is exactly what I need. The > > documentation page in Linux touched on the media-ctl links, but it > > didn't explain the syntax or the mapping. This graphical > > interpretation really helps it make more sense. > > Is capturing working well on your i.MX6 board now? Fabio, Unfortunately, no. I built the rootfs based on Jagan's instructions at https://openedev.amarulasolutions.com/display/ODWIKI/i.CoreM6+1.5 I tried building both the 4.15-RC6 kernel, a 4.19 kernel and a 4.14 LTS kernel. Using the suggested method of generating the graphical display of the pipeline options, I am able to enable various pipeline options connecting different /dev/videoX options tot he camera. I have tried both the suggested method above as well as the instructions found in Documentation/media/v4l-drivers/imx.rst for their respective kernels, and I have tried multiple options to capture through ipu1_csi1_capture, ipu2_csi1_capture, and ip1_ic_prepenc capture, and all yield a broken pipe. libv4l2: error turning on stream: Broken pipe ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not read from resource. Additional debug info: gstv4l2bufferpool.c(1064): gst_v4l2_buffer_pool_poll (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: poll error 1: Broken pipe (32) I can hear the camera click when I start gstreamer and click again when it stops trying to stream. dmesg indicates a broken pipe as well.. [ 2419.851502] ipu2_csi1: pipeline start failed with -32 might you have any suggestions? thanks, adam