All of lore.kernel.org
 help / color / mirror / Atom feed
* Getting started with OMAP3 ISP
@ 2011-08-25 16:07 Gary Thomas
  2011-08-29 10:49 ` Laurent Pinchart
  0 siblings, 1 reply; 45+ messages in thread
From: Gary Thomas @ 2011-08-25 16:07 UTC (permalink / raw)
  To: linux-media

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.  Sadly, I'm having a hard
time with this - probably just missing something basic.

I've tried to clone the TVP514x driver which says that it works
with the OMAP3 ISP code.  I've updated it to use my decoder device,
but I can't even seem to get into that code from user land.

Here are the problems I've had so far:
   * udev doesn't create any video devices although they have been
     registered.  I see a full set in /sys/class/video4linux
        # ls /sys/class/video4linux/
        v4l-subdev0  v4l-subdev3  v4l-subdev6  video1       video4
        v4l-subdev1  v4l-subdev4  v4l-subdev7  video2       video5
        v4l-subdev2  v4l-subdev5  video0       video3       video6

     Indeed, if I create /dev/videoX by hand, I can get somewhere, but
     I don't really understand how this is supposed to work.  e.g.
       # v4l2-dbg --info /dev/video3
       Driver info:
           Driver name   : ispvideo
           Card type     : OMAP3 ISP CCP2 input
           Bus info      : media
           Driver version: 1
           Capabilities  : 0x04000002
                   Video Output
                   Streaming

   * If I try to grab video, the ISP layer gets a ton of warnings, but
     I never see it call down into my driver, e.g. to check the current
     format, etc.  I have some of my own code from before which fails
     miserably (not a big surprise given the hack level of those programs).
     I tried something off-the-shelf which also fails pretty bad:
       # ffmpeg -t 10 -f video4linux2 -s 720x480 -r 30 -i /dev/video2 junk.mp4

I've read through Documentation/video4linux/omap3isp.txt without learning
much about what might be wrong.

Can someone give me some ideas/guidance, please?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 45+ messages in thread
* Re: Getting started with OMAP3 ISP
@ 2011-10-05 10:46 Adam Pledger
  0 siblings, 0 replies; 45+ messages in thread
From: Adam Pledger @ 2011-10-05 10:46 UTC (permalink / raw)
  To: ebutera, gary; +Cc: linux-media

> On Tue, Sep 6, 2011 at 10:49 AM, Laurent Pinchart
> <laurent.pinch...@ideasonboard.com>  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 in fact it's uyvy ( so a tool to covert from yuv
> will not work ;) ), but if someone will ever need it:
>
> ffmpeg -f rawvideo -pix_fmt uyvy422 -s 720x628 -i frame-000001.bin frame-1.png
>
> Enrico

Enrico, Gary,

I am in an identical situation to you both in that I am migrating to a newer kernel and am faced with the task of getting a driver for the tvp5150 working with the new MC framework and omap3 ISP.
I understand from reading this thread that you have both had some success in modifying an existing / writing a driver and configuring a MC pipeline.
If you are able to share your driver(s) or any insights, I would be very grateful and I am happy to help out with further testing or polishing as required.

Best Regards

Adam


^ permalink raw reply	[flat|nested] 45+ messages in thread

end of thread, other threads:[~2011-10-05 11:11 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-25 16:07 Getting started with OMAP3 ISP Gary Thomas
2011-08-29 10:49 ` Laurent Pinchart
2011-08-30 14:08   ` Gary Thomas
2011-08-30 14:18     ` Gary Thomas
2011-08-30 14:20       ` Laurent Pinchart
2011-08-30 14:56         ` Gary Thomas
2011-08-30 15:48           ` Laurent Pinchart
2011-08-30 16:07           ` Enrico
2011-08-30 16:23             ` Gary Thomas
2011-08-30 16:36               ` Enrico
2011-08-30 16:48                 ` Gary Thomas
2011-08-30 21:19               ` Sakari Ailus
2011-08-30 22:45   ` Gary Thomas
2011-08-30 22:50     ` Laurent Pinchart
2011-08-31  0:07       ` Gary Thomas
2011-08-31  8:13         ` Laurent Pinchart
2011-08-31 10:56           ` Gary Thomas
2011-08-31 11:00             ` Laurent Pinchart
2011-08-31 12:01               ` Gary Thomas
2011-08-31 15:15                 ` Laurent Pinchart
2011-08-31 15:19                   ` Gary Thomas
2011-08-31 16:25                   ` Enrico
2011-08-31 16:33                     ` Laurent Pinchart
2011-08-31 22:34                       ` Gary Thomas
2011-09-01  8:11                         ` Laurent Pinchart
2011-09-01  9:51                       ` Enrico
2011-09-01  9:55                         ` Laurent Pinchart
2011-09-01 10:24                           ` Enrico
2011-09-01 14:12                             ` Enrico
2011-09-01 14:24                               ` Laurent Pinchart
2011-09-01 12:50                         ` Gary Thomas
2011-09-01 13:26                           ` Laurent Pinchart
2011-09-01 15:16                             ` Gary Thomas
2011-09-01 16:14                               ` Enrico
2011-09-01 17:24                                 ` Enrico
2011-09-01 18:14                                   ` Laurent Pinchart
2011-09-01 18:18                                     ` Gary Thomas
2011-09-02  8:09                                       ` Laurent Pinchart
2011-09-02  9:02                                     ` Enrico
2011-09-02 11:27                                       ` Laurent Pinchart
2011-09-05 16:37                                         ` Enrico
2011-09-06  8:48                                           ` Laurent Pinchart
2011-09-06  9:04                                             ` Enrico
     [not found]                                           ` <201109061049.32114.laurent.pinchart@ideasonboard.com>
2011-09-06  9:10                                             ` Enrico
2011-10-05 10:46 Adam Pledger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.