All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Aguirre Rodriguez, Sergio Alberto" <saaguirre@ti.com>
To: Gary Thomas <gary@mlbassoc.com>
Cc: Zach LeRoy <zleroy@rii.ricoh.com>,
	linux-omap <linux-omap@vger.kernel.org>,
	"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
	Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Subject: RE: OMAP34XXCAM: Micron mt9d111 sensor support?
Date: Tue, 23 Jun 2009 08:33:24 -0500	[thread overview]
Message-ID: <A24693684029E5489D1D202277BE89444130777E@dlee02.ent.ti.com> (raw)
In-Reply-To: <4A40D736.9050701@mlbassoc.com>



> -----Original Message-----
> From: Gary Thomas [mailto:gary@mlbassoc.com]
> Sent: Tuesday, June 23, 2009 8:23 AM
> To: Aguirre Rodriguez, Sergio Alberto
> Cc: Zach LeRoy; linux-omap; linux-media@vger.kernel.org; Sakari Ailus
> Subject: Re: OMAP34XXCAM: Micron mt9d111 sensor support?
> 
> Aguirre Rodriguez, Sergio Alberto wrote:
> >> -----Original Message-----
> >> From: Gary Thomas [mailto:gary@mlbassoc.com]
> >> Sent: Monday, June 22, 2009 1:06 PM
> >> To: Aguirre Rodriguez, Sergio Alberto
> >> Cc: Zach LeRoy; linux-omap; linux-media@vger.kernel.org; Sakari Ailus
> >> Subject: Re: OMAP34XXCAM: Micron mt9d111 sensor support?
> >>
> >> Aguirre Rodriguez, Sergio Alberto wrote:
> >>>> -----Original Message-----
> >>>> From: linux-media-owner@vger.kernel.org [mailto:linux-media-
> >>>> owner@vger.kernel.org] On Behalf Of Zach LeRoy
> >>>> Sent: Wednesday, June 17, 2009 5:06 PM
> >>>> To: linux-omap; linux-media@vger.kernel.org
> >>>> Subject: OMAP34XXCAM: Micron mt9d111 sensor support?
> >>>>
> >>>> I am working on adding support for a micron 2 MP sensor: mt9d111 on a
> >>>> gumsitx overo.  This is a i2c-controlled sensor.  Ideally, I would
> like
> >> to
> >>>> use the omap34xxcam driver to interface with this sensor.  I am
> >> wondering
> >>>> if there are currently any distributions which already include
> support
> >> for
> >>>> this sensor through the omap34xxcam driver, or if anyone else is
> >>>> interested in this topic.
> >>>>
> >>> Hi Zach,
> >>>
> >>> I'm working along with Sakari Ailus and others in this omap34xxcam
> >> driver you're talking about, and we are in the process to provide a
> newer
> >> patchset to work on the latest l-o tree.
> >>> Sakari is sharing the camera core here:
> >>>
> >>> http://gitorious.org/omap3camera
> >>>
> >>> And I have also this repository which contains a snapshot of Sakari's
> >> tree + support from some sensors I have available for the 3430SDP and
> LDP
> >> (the name could confuse with the above, but I'll change the
> name/location
> >> soon):
> >>> http://gitorious.org/omap3-linux-camera-driver
> >>>
> >>> Testing the driver with as much sensors as we can is very interesting
> >> (at least for me), because that help us spot possible bugs that aren't
> >> seen with our current HW. So, I'll be looking forward if you add this
> >> sensor driver to the supported list :)
> >> I'd like to move forward using this on OMAP/3530 with TVP5150 (S-video
> in)
> >>
> >> Sadly, the tree above (omap3-linux-camera-driver) won't build for the
> >> Zoom/LDP:
> >>   CC      arch/arm/mach-omap2/board-ldp-camera.o
> >> /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-
> >> camera.c:59:
> >> error: implicit declaration of function 'PAGE_ALIGN'
> >> /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-
> >> camera.c:59:
> >> error: initializer element is not constant
> >> /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-
> >> camera.c:59:
> >> error: (near initialization for 'ov3640_hwc.capture_mem')
> >> /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-
> camera.c:
> >> In function 'ov3640_sensor_set_prv_data':
> >> /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-
> >> camera.c:89:
> >> error: 'hwc' undeclared (first use in this function)
> >> /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-
> >> camera.c:89:
> >> error: (Each undeclared identifier is reported only once
> >> /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-
> >> camera.c:89:
> >> error: for each function it appears in.)
> >>
> >> Looking at the code, it seems that some pieces are missing - merge
> >> problem maybe?
> >
> > Hi Gary,
> >
> > I'm currently on the process to rebase and verify all this code on
> 3430SDP, Zoom1 and soon Zoom2.
> >
> > Here you can find my progress:
> >
> >   http://dev.omapzoom.org/?p=saaguirre/linux-omap-camera.git;a=summary
> >
> > Check devel branch, which contains all latest Sakari's tree patches
> (http://gitorious.org/omap3camera) rebased on top of latest Kevin's l-o PM
> tree, plus the patches, which are still in works, to make the above
> mentioned platforms to work.
> >
> > I'm first trying to make 3430SDP work, don't have a Zoom1/Zoom2 handy
> right now...
> >
> > My gitorious tree will eventually disappear, as I can work better with
> this new one.
> >
> > I'll consolidate some patches when this sensor code is ready, and will
> CC you if interested.
> >
> 
> Thanks.  I've already checked out this tree and at least
> it builds for the Zoom (I have one here).  Is this in a
> state where I can test it for you?  What do you use to
> capture video from the sensor?

I normally use a small test binary I wrote which saves the captured frames to memory, so later I can see them with either IrfanView (when capturing RAW images) or PYUV for seeing the YUV422 images.

You should be able to use any standard V4l2 capturing application anyways.

Regards,
Sergio

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


  reply	other threads:[~2009-06-23 13:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17 22:05 OMAP34XXCAM: Micron mt9d111 sensor support? Zach LeRoy
2009-06-17 22:30 ` Aguirre Rodriguez, Sergio Alberto
2009-06-22 18:06   ` Gary Thomas
2009-06-23 13:16     ` Aguirre Rodriguez, Sergio Alberto
2009-06-23 13:23       ` Gary Thomas
2009-06-23 13:33         ` Aguirre Rodriguez, Sergio Alberto [this message]
2009-06-23 13:36           ` Aguirre Rodriguez, Sergio Alberto
2009-06-23 13:40             ` Gary Thomas

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=A24693684029E5489D1D202277BE89444130777E@dlee02.ent.ti.com \
    --to=saaguirre@ti.com \
    --cc=gary@mlbassoc.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=sakari.ailus@maxwell.research.nokia.com \
    --cc=zleroy@rii.ricoh.com \
    /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 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.