Re: Getting started with OMAP3 ISP

2011-10-05 Thread Adam Pledger
On Tue, Sep 6, 2011 at 10:49 AM, Laurent Pinchart wrote: > On Monday 05 September 2011 18:37:04 you wrote: >> Yes that was the first thing i tried, anyway now i have it finally >> working. Well at least yavta doesn't hang, do you know some >> application to see raw yuv images? I made a typo

Re: Getting started with OMAP3 ISP

2011-09-06 Thread Enrico
On Tue, Sep 6, 2011 at 10:49 AM, Laurent Pinchart wrote: > On Monday 05 September 2011 18:37:04 you wrote: >> Yes that was the first thing i tried, anyway now i have it finally >> working. Well at least yavta doesn't hang, do you know some >> application to see raw yuv images? I made a typo since

Re: Getting started with OMAP3 ISP

2011-09-06 Thread Enrico
On Tue, Sep 6, 2011 at 10:48 AM, Laurent Pinchart wrote: > On Monday 05 September 2011 18:37:04 Enrico wrote: >> Now the problem is that the fix is weird...as you suggested you must >> use half height values for VD0 and VD1 (2/3) interrupts, problem is >> that it only works if you DISABLE vd1 inte

Re: Getting started with OMAP3 ISP

2011-09-06 Thread Laurent Pinchart
Hi Enrico, (CC'ing Hans de Goede) On Monday 05 September 2011 18:37:04 Enrico wrote: > On Fri, Sep 2, 2011 at 1:27 PM, Laurent Pinchart wrote: > > On Friday 02 September 2011 11:02:23 Enrico wrote: > >> Right now my problem is that i can't get the isp to generate > >> interrupts, i think there is

Re: Getting started with OMAP3 ISP

2011-09-05 Thread Enrico
On Fri, Sep 2, 2011 at 1:27 PM, Laurent Pinchart wrote: > On Friday 02 September 2011 11:02:23 Enrico wrote: >> Right now my problem is that i can't get the isp to generate >> interrupts, i think there is some isp configuration error. > > If your device generates interlaced images that's not surpr

Re: Getting started with OMAP3 ISP

2011-09-02 Thread Laurent Pinchart
Hi Enrico, On Friday 02 September 2011 11:02:23 Enrico wrote: > On Thu, Sep 1, 2011 at 8:14 PM, Laurent Pinchart wrote: > > On Thursday 01 September 2011 19:24:54 Enrico wrote: > >> yavta will set UYVY (PIX_FMT), this will cause a call to > >> ispvideo.c:isp_video_pix_to_mbus(..), that will do thi

Re: Getting started with OMAP3 ISP

2011-09-02 Thread Enrico
On Thu, Sep 1, 2011 at 8:14 PM, Laurent Pinchart wrote: > On Thursday 01 September 2011 19:24:54 Enrico wrote: >> yavta will set UYVY (PIX_FMT), this will cause a call to >> ispvideo.c:isp_video_pix_to_mbus(..), that will do this: >> >> for (i = 0; i < ARRAY_SIZE(formats); ++i) { >>              

Re: Getting started with OMAP3 ISP

2011-09-02 Thread Laurent Pinchart
Hi Gary, On Thursday 01 September 2011 20:18:59 Gary Thomas wrote: > On 2011-09-01 12:14, Laurent Pinchart wrote: > > On Thursday 01 September 2011 19:24:54 Enrico wrote: > >> On Thu, Sep 1, 2011 at 6:14 PM, Enrico wrote: > >>> On Thu, Sep 1, 2011 at 5:16 PM, Gary Thomas wrote: > - entity 1

Re: Getting started with OMAP3 ISP

2011-09-01 Thread Gary Thomas
On 2011-09-01 12:14, Laurent Pinchart wrote: Hi Enrico, On Thursday 01 September 2011 19:24:54 Enrico wrote: On Thu, Sep 1, 2011 at 6:14 PM, Enrico wrote: On Thu, Sep 1, 2011 at 5:16 PM, Gary Thomas wrote: - entity 16: tvp5150m1 2-005c (1 pad, 1 link) type V4L2 subdev subtype U

Re: Getting started with OMAP3 ISP

2011-09-01 Thread Laurent Pinchart
Hi Enrico, On Thursday 01 September 2011 19:24:54 Enrico wrote: > On Thu, Sep 1, 2011 at 6:14 PM, Enrico wrote: > > On Thu, Sep 1, 2011 at 5:16 PM, Gary Thomas wrote: > >> - entity 16: tvp5150m1 2-005c (1 pad, 1 link) > >> type V4L2 subdev subtype Unknown > >> device node

Re: Getting started with OMAP3 ISP

2011-09-01 Thread Enrico
On Thu, Sep 1, 2011 at 6:14 PM, Enrico wrote: > On Thu, Sep 1, 2011 at 5:16 PM, Gary Thomas wrote: >> >> - entity 16: tvp5150m1 2-005c (1 pad, 1 link) >>             type V4L2 subdev subtype Unknown >>             device node name /dev/v4l-subdev8 >>        pad0: Output [unknown 720x480 (1,1)/720

Re: Getting started with OMAP3 ISP

2011-09-01 Thread Enrico
On Thu, Sep 1, 2011 at 5:16 PM, Gary Thomas wrote: > > - entity 16: tvp5150m1 2-005c (1 pad, 1 link) >             type V4L2 subdev subtype Unknown >             device node name /dev/v4l-subdev8 >        pad0: Output [unknown 720x480 (1,1)/720x480] >                -> 'OMAP3 ISP CCDC':pad0 [ACTIV

Re: Getting started with OMAP3 ISP

2011-09-01 Thread Gary Thomas
On 2011-09-01 07:26, Laurent Pinchart wrote: Hi Gary, On Thursday 01 September 2011 14:50:59 Gary Thomas wrote: On 2011-09-01 03:51, Enrico wrote: On Wed, Aug 31, 2011 at 6:33 PM, Laurent Pinchart wrote: On http://git.linuxtv.org/pinchartl/media.git/shortlog/refs/heads/omap3isp - omap3isp-nex

Re: Getting started with OMAP3 ISP

2011-09-01 Thread Laurent Pinchart
Hi Enrico, On Thursday 01 September 2011 16:12:42 Enrico wrote: > On Thu, Sep 1, 2011 at 12:24 PM, Enrico wrote: > > On Thu, Sep 1, 2011 at 11:55 AM, Laurent Pinchart > > > >> Does your tvp5150 generate progressive or interlaced images ? > > > > In the driver it is setup to decode by default in

Re: Getting started with OMAP3 ISP

2011-09-01 Thread Enrico
On Thu, Sep 1, 2011 at 12:24 PM, Enrico wrote: > On Thu, Sep 1, 2011 at 11:55 AM, Laurent Pinchart >> Does your tvp5150 generate progressive or interlaced images ? > > In the driver it is setup to decode by default in bt656 mode, so interlaced. > > I've read on the omap trm that the isp can deinte

Re: Getting started with OMAP3 ISP

2011-09-01 Thread Laurent Pinchart
Hi Gary, On Thursday 01 September 2011 14:50:59 Gary Thomas wrote: > On 2011-09-01 03:51, Enrico wrote: > > On Wed, Aug 31, 2011 at 6:33 PM, Laurent Pinchart wrote: > >> On > >> http://git.linuxtv.org/pinchartl/media.git/shortlog/refs/heads/omap3isp > >> - omap3isp-next (sorry for not mentioning i

Re: Getting started with OMAP3 ISP

2011-09-01 Thread Gary Thomas
On 2011-09-01 03:51, Enrico wrote: On Wed, Aug 31, 2011 at 6:33 PM, Laurent Pinchart wrote: On http://git.linuxtv.org/pinchartl/media.git/shortlog/refs/heads/omap3isp- omap3isp-next (sorry for not mentioning it), but the patch set was missing a patch. I've sent a v2. Thanks Laurent, i can co

Re: Getting started with OMAP3 ISP

2011-09-01 Thread Enrico
On Thu, Sep 1, 2011 at 11:55 AM, Laurent Pinchart wrote: > Hi Enrico, > > On Thursday 01 September 2011 11:51:58 Enrico wrote: >> On Wed, Aug 31, 2011 at 6:33 PM, Laurent Pinchart wrote: >> > On >> > http://git.linuxtv.org/pinchartl/media.git/shortlog/refs/heads/omap3isp- >> > omap3isp-next (sorry

Re: Getting started with OMAP3 ISP

2011-09-01 Thread Laurent Pinchart
Hi Enrico, On Thursday 01 September 2011 11:51:58 Enrico wrote: > On Wed, Aug 31, 2011 at 6:33 PM, Laurent Pinchart wrote: > > On > > http://git.linuxtv.org/pinchartl/media.git/shortlog/refs/heads/omap3isp- > > omap3isp-next (sorry for not mentioning it), but the patch set was > > missing a patch.

Re: Getting started with OMAP3 ISP

2011-09-01 Thread Enrico
On Wed, Aug 31, 2011 at 6:33 PM, Laurent Pinchart wrote: > On http://git.linuxtv.org/pinchartl/media.git/shortlog/refs/heads/omap3isp- > omap3isp-next (sorry for not mentioning it), but the patch set was missing a > patch. I've sent a v2. Thanks Laurent, i can confirm it is a step forward. With y

Re: Getting started with OMAP3 ISP

2011-09-01 Thread Laurent Pinchart
Hi Gary, On Thursday 01 September 2011 00:34:20 Gary Thomas wrote: > On 2011-08-31 10:33, Laurent Pinchart wrote: > > On Wednesday 31 August 2011 18:25:28 Enrico wrote: > >> On Wed, Aug 31, 2011 at 5:15 PM, Laurent Pinchart wrote: > >>> I've just sent three preliminary patches to the list to add Y

Re: Getting started with OMAP3 ISP

2011-08-31 Thread Gary Thomas
On 2011-08-31 10:33, Laurent Pinchart wrote: Hi Enrico, On Wednesday 31 August 2011 18:25:28 Enrico wrote: On Wed, Aug 31, 2011 at 5:15 PM, Laurent Pinchart wrote: I've just sent three preliminary patches to the list to add YUYV support in the OMAP3 ISP CCDC. What tree are those based on?

Re: Getting started with OMAP3 ISP

2011-08-31 Thread Laurent Pinchart
Hi Enrico, On Wednesday 31 August 2011 18:25:28 Enrico wrote: > On Wed, Aug 31, 2011 at 5:15 PM, Laurent Pinchart wrote: > > I've just sent three preliminary patches to the list to add YUYV support > > in the OMAP3 ISP CCDC. > > What tree are those based on? On http://git.linuxtv.org/pinchartl/m

Re: Getting started with OMAP3 ISP

2011-08-31 Thread Enrico
On Wed, Aug 31, 2011 at 5:15 PM, Laurent Pinchart wrote: > I've just sent three preliminary patches to the list to add YUYV support in > the OMAP3 ISP CCDC. What tree are those based on? Enrico -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to

Re: Getting started with OMAP3 ISP

2011-08-31 Thread Gary Thomas
On 2011-08-31 09:15, Laurent Pinchart wrote: Hi Gary, On Wednesday 31 August 2011 14:01:07 Gary Thomas wrote: On 2011-08-31 05:00, Laurent Pinchart wrote: On Wednesday 31 August 2011 12:56:29 Gary Thomas wrote: On 2011-08-31 02:13, Laurent Pinchart wrote: On Wednesday 31 August 2011 02:07:36

Re: Getting started with OMAP3 ISP

2011-08-31 Thread Laurent Pinchart
Hi Gary, On Wednesday 31 August 2011 14:01:07 Gary Thomas wrote: > On 2011-08-31 05:00, Laurent Pinchart wrote: > > On Wednesday 31 August 2011 12:56:29 Gary Thomas wrote: > >> On 2011-08-31 02:13, Laurent Pinchart wrote: > >>> On Wednesday 31 August 2011 02:07:36 Gary Thomas wrote: > On 2011

Re: Getting started with OMAP3 ISP

2011-08-31 Thread Gary Thomas
On 2011-08-31 05:00, Laurent Pinchart wrote: Hi Gary, On Wednesday 31 August 2011 12:56:29 Gary Thomas wrote: On 2011-08-31 02:13, Laurent Pinchart wrote: On Wednesday 31 August 2011 02:07:36 Gary Thomas wrote: On 2011-08-30 16:50, Laurent Pinchart wrote: On Wednesday 31 August 2011 00:45:39

Re: Getting started with OMAP3 ISP

2011-08-31 Thread Laurent Pinchart
Hi Gary, On Wednesday 31 August 2011 12:56:29 Gary Thomas wrote: > On 2011-08-31 02:13, Laurent Pinchart wrote: > > On Wednesday 31 August 2011 02:07:36 Gary Thomas wrote: > >> On 2011-08-30 16:50, Laurent Pinchart wrote: > >>> On Wednesday 31 August 2011 00:45:39 Gary Thomas wrote: > On 2011

Re: Getting started with OMAP3 ISP

2011-08-31 Thread Gary Thomas
On 2011-08-31 02:13, Laurent Pinchart wrote: Hi Gary, On Wednesday 31 August 2011 02:07:36 Gary Thomas wrote: On 2011-08-30 16:50, Laurent Pinchart wrote: On Wednesday 31 August 2011 00:45:39 Gary Thomas wrote: On 2011-08-29 04:49, Laurent Pinchart wrote: On Thursday 25 August 2011 18:07:38

Re: Getting started with OMAP3 ISP

2011-08-31 Thread Laurent Pinchart
Hi Gary, On Wednesday 31 August 2011 02:07:36 Gary Thomas wrote: > On 2011-08-30 16:50, Laurent Pinchart wrote: > > On Wednesday 31 August 2011 00:45:39 Gary Thomas wrote: > >> On 2011-08-29 04:49, Laurent Pinchart wrote: > >>> On Thursday 25 August 2011 18:07:38 Gary Thomas wrote: > Backgrou

Re: Getting started with OMAP3 ISP

2011-08-30 Thread Gary Thomas
On 2011-08-30 16:50, Laurent Pinchart wrote: Hi Gary, On Wednesday 31 August 2011 00:45:39 Gary Thomas wrote: On 2011-08-29 04:49, Laurent Pinchart wrote: On Thursday 25 August 2011 18:07:38 Gary Thomas wrote: Background: I have working video capture drivers based on the TI PSP codebase from

Re: Getting started with OMAP3 ISP

2011-08-30 Thread Laurent Pinchart
Hi Gary, On Wednesday 31 August 2011 00:45:39 Gary Thomas wrote: > On 2011-08-29 04:49, Laurent Pinchart wrote: > > On Thursday 25 August 2011 18:07:38 Gary Thomas wrote: > >> Background: I have working video capture drivers based on the > >> TI PSP codebase from 2.6.32. In particular, I managed

Re: Getting started with OMAP3 ISP

2011-08-30 Thread Gary Thomas
On 2011-08-29 04:49, Laurent Pinchart wrote: Hi Gary, On Thursday 25 August 2011 18:07:38 Gary Thomas wrote: Background: I have working video capture drivers based on the TI PSP codebase from 2.6.32. In particular, I managed to get a driver for the TVP5150 (analogue BT656) working with that k

Re: Getting started with OMAP3 ISP

2011-08-30 Thread Sakari Ailus
On Tue, Aug 30, 2011 at 10:23:05AM -0600, Gary Thomas wrote: > On 2011-08-30 10:07, Enrico wrote: > >On Tue, Aug 30, 2011 at 4:56 PM, Gary Thomas wrote: > >>Yes, that helped a lot. When I create the devices by hand, I can now see > >>my driver starting to be accessed (right now it's very much an

Re: Getting started with OMAP3 ISP

2011-08-30 Thread Gary Thomas
On 2011-08-30 10:36, Enrico wrote: On Tue, Aug 30, 2011 at 6:23 PM, Gary Thomas wrote: Thanks, I'll give it a look. Your note says that /dev/video* is properly registered. Does this mean that udev created them for you on boot as well? If so, what version of udev are you using? What's your r

Re: Getting started with OMAP3 ISP

2011-08-30 Thread Enrico
On Tue, Aug 30, 2011 at 6:23 PM, Gary Thomas wrote: > Thanks, I'll give it a look. > > Your note says that /dev/video* is properly registered.  Does this > mean that udev created them for you on boot as well?  If so, what > version of udev are you using?  What's your root file system setup? > n.b.

Re: Getting started with OMAP3 ISP

2011-08-30 Thread Gary Thomas
On 2011-08-30 10:07, Enrico wrote: On Tue, Aug 30, 2011 at 4:56 PM, Gary Thomas wrote: Yes, that helped a lot. When I create the devices by hand, I can now see my driver starting to be accessed (right now it's very much an empty stub) From your logs it seems you are using a tvp5150, i've po

Re: Getting started with OMAP3 ISP

2011-08-30 Thread Enrico
On Tue, Aug 30, 2011 at 4:56 PM, Gary Thomas wrote: > Yes, that helped a lot.  When I create the devices by hand, I can now see > my driver starting to be accessed (right now it's very much an empty stub) >From your logs it seems you are using a tvp5150, i've posted a patch [1] for tvp5150 that m

Re: Getting started with OMAP3 ISP

2011-08-30 Thread Laurent Pinchart
Hi Gary, On Tuesday 30 August 2011 16:56:11 Gary Thomas wrote: > On 2011-08-30 08:20, Laurent Pinchart wrote: > > On Tuesday 30 August 2011 16:18:00 Gary Thomas wrote: > >> On 2011-08-30 08:08, Gary Thomas wrote: [snip] > >>> When I run 'media-ctl -p', I see the various nodes, etc, and they all

Re: Getting started with OMAP3 ISP

2011-08-30 Thread Gary Thomas
On 2011-08-30 08:20, Laurent Pinchart wrote: Hi Gary, On Tuesday 30 August 2011 16:18:00 Gary Thomas wrote: On 2011-08-30 08:08, Gary Thomas wrote: On 2011-08-29 04:49, Laurent Pinchart wrote: On Thursday 25 August 2011 18:07:38 Gary Thomas wrote: Background: I have working video capture dri

Re: Getting started with OMAP3 ISP

2011-08-30 Thread Laurent Pinchart
Hi Gary, On Tuesday 30 August 2011 16:18:00 Gary Thomas wrote: > On 2011-08-30 08:08, Gary Thomas wrote: > > On 2011-08-29 04:49, Laurent Pinchart wrote: > >> On Thursday 25 August 2011 18:07:38 Gary Thomas wrote: > >>> Background: I have working video capture drivers based on the > >>> TI PSP cod

Re: Getting started with OMAP3 ISP

2011-08-30 Thread Gary Thomas
On 2011-08-30 08:08, Gary Thomas wrote: On 2011-08-29 04:49, Laurent Pinchart wrote: Hi Gary, On Thursday 25 August 2011 18:07:38 Gary Thomas wrote: Background: I have working video capture drivers based on the TI PSP codebase from 2.6.32. In particular, I managed to get a driver for the TVP51

Re: Getting started with OMAP3 ISP

2011-08-30 Thread Gary Thomas
On 2011-08-29 04:49, Laurent Pinchart wrote: Hi Gary, On Thursday 25 August 2011 18:07:38 Gary Thomas wrote: Background: I have working video capture drivers based on the TI PSP codebase from 2.6.32. In particular, I managed to get a driver for the TVP5150 (analogue BT656) working with that k

Re: Getting started with OMAP3 ISP

2011-08-29 Thread Laurent Pinchart
Hi Gary, On Thursday 25 August 2011 18:07:38 Gary Thomas wrote: > Background: I have working video capture drivers based on the > TI PSP codebase from 2.6.32. In particular, I managed to get > a driver for the TVP5150 (analogue BT656) working with that kernel. > > Now I need to update to Linux

Getting started with OMAP3 ISP

2011-08-25 Thread Gary Thomas
Background: I have working video capture drivers based on the TI PSP codebase from 2.6.32. In particular, I managed to get a driver for the TVP5150 (analogue BT656) working with that kernel. Now I need to update to Linux 3.0, so I'm trying to get a driver working with the rewritten ISP code. S