Re: omap3isp omap3isp: CCDC stop timeout!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Adriano,

(Cc Laurent.)

On Thu, Jan 31, 2013 at 05:40:38PM -0200, Adriano Martins wrote:
> Hi all,
> 
> I'm trying capture images from an ov5640 sensor on parallel mode. The
> sensor output format is UYVY8_2X8.
> And the CCDC input is configured as  UYVY8_2X8 too. I can do it, after
> I applied the Laurent's patches:
> "[PATCH 0/6] YUV input support for the OMAP3 ISP".
> 
> I have my sensor configured:
> {
> .subdevs = cm-t35_ov5640_primary_subdevs,
> .interface = ISP_INTERFACE_PARALLEL,
> .bus = {
>      .parallel = {
>      .data_lane_shift = 2,
>      .clk_pol = 0,
>      .hs_pol = 1,
>      .vs_pol = 1,
>      .data_pol = 1,
> },
> },
> 
> I defined ISP_ISR_DEBUG and DEBUG in the isp.c
> Then, I configure the media-controller pipeline and try to capture:
> 
> media-ctl -v -r -l '"ov5640 3-003c":0->"OMAP3 ISP CCDC":0[1]'
> media-ctl -v  -l '"OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]'
> media-ctl -v -V '"ov5640 3-003c":0 [UYVY2X8 640x480]'
> media-ctl -v -V '"OMAP3 ISP CCDC":0 [UYVY2X8 640x480]'
> yavta -f UYVY -s 640x480 --capture=5 --file=image# /dev/video2
> 
> In this point, it hangs, and I need hit ctrol-c.
> I get this message:
> [ 1640.308807] omap3isp omap3isp: CCDC stop timeout!

The CCDC needs to receive a complete frames before it can stop.

> I have observed that I don't get any interrupt messages. However, the

This suggests that the ISP doesn't receive any data from the sensor. You
should see at least the HS_VS interrupt.

Do you see any ISP interrupts in /proc/interrupts?

> DATA0:7, PCLK, HSYNC and VSYNC is working fine, I guess.
> 
> NOTE: the sensor has externel 24 MHz oscillator, and the signals never
> stop into CCDC:

-- 
Kind regards,

Sakari Ailus
e-mail: sakari.ailus@xxxxxx	XMPP: sailus@xxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux