lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 1 Jun 2018 10:49:56 +0530
From:   Jagan Teki <jagan@...rulasolutions.com>
To:     Philipp Zabel <pza@...gutronix.de>
Cc:     Steve Longerbeam <steve_longerbeam@...tor.com>,
        Fabio Estevam <fabio.estevam@....com>,
        Discussion of the development of and with GStreamer 
        <gstreamer-devel@...ts.freedesktop.org>,
        linux-media@...r.kernel.org,
        linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

Hi Philipp,

On Fri, Jun 1, 2018 at 12:36 AM, Philipp Zabel <pza@...gutronix.de> wrote:
> 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 ...

True, thanks for pointing it.

I actually tried even on video0 which I forgot to post the log [4].
Now I understand I'm trying for wrong device to capture look like
video0 which is ipu1 prepenc firing kernel oops. I'm trying to debug
this and let me know if have any suggestion to look into.

[   56.800074] imx6-mipi-csi2: LP-11 timeout, phy_state = 0x000002b0
[   57.369660] ipu1_ic_prpenc: EOF timeout
[   57.849692] ipu1_ic_prpenc: wait last EOF timeout
[   57.855703] ipu1_ic_prpenc: pipeline start failed with -110

[4] https://paste.ubuntu.com/p/rSdh9pfGXs/

Jagan.

-- 
Jagan Teki
Senior Linux Kernel Engineer | Amarula Solutions
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ