public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "Jakub Piotr Cłapa" <jpc-ml@zenburn.net>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: linux-media <linux-media@vger.kernel.org>
Subject: Re: [omap3isp] xclk deadlock
Date: Sat, 27 Jul 2013 01:51:47 +0200	[thread overview]
Message-ID: <51F30B93.4070700@zenburn.net> (raw)
In-Reply-To: <1993436.YNJGSXUIek@avalon>

Dear Laurent,

The offending commit is
b2da46e52fe7871cba36e1a435844502c0eccf39

After reverting it I get good image on v3.5-rc1. Unfortunatelly trying 
to revert it on the board/beagle/mt9p031 branch causes conflicts and I 
am too tired to even try to fix them right now.

The hanging unfortunatelly remains. It hangs most of the time with 
(ctrl-c was pressed at ≈133 seconds):

[   39.601318] omap3isp omap3isp: ###CCDC LSC_INITIAL=0x00000000
[   39.607299] omap3isp omap3isp: ###CCDC LSC_TABLE_BASE=0x00000000
[   39.613586] omap3isp omap3isp: ###CCDC LSC_TABLE_OFFSET=0x00000000
[   39.620056] omap3isp omap3isp: 
--------------------------------------------
[  133.516906] omap3isp omap3isp: OMAP3 ISP AEWB: user wants to disable 
module.
[  133.524383] omap3isp omap3isp: OMAP3 ISP AEWB: module is being disabled
[  133.531311] omap3isp omap3isp: OMAP3 ISP AF: user wants to disable 
module.
[  133.538543] omap3isp omap3isp: OMAP3 ISP AF: module is being disabled
[  133.545288] omap3isp omap3isp: OMAP3 ISP histogram: user wants to 
disable module.
[  133.553131] omap3isp omap3isp: OMAP3 ISP histogram: module is being 
disabled

One time I got a lucky and after 1 second elapsed I got:

[   35.250274] omap3isp omap3isp: Unable to stop OMAP3 ISP CCDC
477 images processed in 16.655242 seconds (28.639629 fps)

The second line is console output from ./live.



PS. In case anybody would wish to reproduce my results:

For kernels 3.3 - 3.9 you have to apply:
https://linuxtv.org/patch/10250/
to get omapdss to work.

Until 15693b57931b19f3bb4664cb4fa3f6f966058749 (between 3.4 and 3.5-rc1) 
you can use for the board intergration patch:
https://github.com/MaxGalemin/buildroot/blob/develop/board/beagleboard/xm/kernel-patches/linux-0003-Add-support-for-MT9P031-Aptina-image-sensor-driver.patch

Later ones needs to replace the reset callback with a GPIO number and 
remove the COLOR/MONOCHROME parameter.

The rest is wrestling with changing kernel config parameter names. 
(DVI->TFP410? ;)

-- 
regards,
Jakub Piotr Cłapa
LoEE.pl

  reply	other threads:[~2013-07-26 23:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03  1:00 [omap3isp] xclk deadlock Jakub Piotr Cłapa
2013-07-04 20:21 ` Jakub Piotr Cłapa
2013-07-04 21:11   ` Laurent Pinchart
2013-07-04 22:36     ` Jakub Piotr Cłapa
2013-07-05 10:48       ` Laurent Pinchart
2013-07-12 14:44         ` Jakub Piotr Cłapa
2013-07-17 12:50           ` Laurent Pinchart
2013-07-17 22:17             ` Jakub Piotr Cłapa
2013-07-26 15:51               ` Laurent Pinchart
2013-07-26 23:51                 ` Jakub Piotr Cłapa [this message]
2013-07-26  7:50             ` Tomi Valkeinen
2013-07-26 15:37               ` [omapdss] fault in dispc_write_irqenable [was: Re: [omap3isp] xclk deadlock] Jakub Piotr Cłapa
2013-07-26 15:52                 ` Laurent Pinchart
2013-07-26 19:02                   ` Jakub Piotr Cłapa
2013-07-26 19:13                     ` Laurent Pinchart
2013-07-29  6:19                 ` Tomi Valkeinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51F30B93.4070700@zenburn.net \
    --to=jpc-ml@zenburn.net \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox