RE: [omap3camera] Camera bring-up on Zoom3 (OMAP3630)

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

 




> -----Original Message-----
> From: Laurent Pinchart [mailto:laurent.pinchart@xxxxxxxxxxxxxxxx]
> Sent: Tuesday, March 16, 2010 5:30 PM
> To: Aguirre, Sergio
> Cc: Sakari Ailus; linux-media@xxxxxxxxxxxxxxx
> Subject: Re: [omap3camera] Camera bring-up on Zoom3 (OMAP3630)
> 
> Hi Sergio,
> 
> On Friday 05 March 2010 15:54:58 Aguirre, Sergio wrote:
> > Hi Laurent, Sakari,
> 
> Oops, just noticed I forgot to answer your e-mail, sorry.

No problem.

> 
> > I'm trying to get latest Sakari's tree (gitorious.org/omap3camera)
> > 'devel' branch running on my Zoom3 HW (which has an OMAP3630, and a
> > Sony IMX046 8MP sensor).
> >
> > I had first one NULL pointer dereference while the driver was
> > registering devices and creating entities, which I resolved with
> > the attached patch. (Is this patch acceptable, or maybe I am missing
> > something...)
> 
> Either that, or make OMAP34XXCAM_VIDEODEVS dynamic (the value would be
> passed
> through platform data). The code will be removed (hopefully soon) anyway
> when
> the legacy video nodes will disappear.

Ok, so should I keep this patch only to myself until this code is removed?

> 
> > And now, I don't get quite clear on how the created nodes work out.
> >
> > Now I have /dev/video[0-5], but I don't know how I'm I supposed to
> handle
> > them...
> >
> > Here's my current work-in-progress kernel:
> >
> > 	http://dev.omapzoom.org/?p=saaguirre/linux-omap-
> camera.git;a=shortlog;h=re
> > fs/heads/omap-devel-wip
> >
> > Can you please give some guidance on it?
> 
> Basically, the driver creates OMAP34XXCAM_VIDEODEVS "legacy" video nodes,
> one
> for each sensor connected to the ISP. As your board has a single sensor,
> the
> driver will create the /dev/video0 legacy video node.

Ok.

> 
> Legacy video nodes use hard-coded assumptions that were implemented
> according
> to Nokia's use cases on the N900. They can only offer a subset of the
> functions available in the hardware.

Hmm... Well, that should get me also at least a simple stream out of it for the moment. :)

> 
> For full access to the ISP, you will need to use the new video nodes (1 to
> 5).
> Those video nodes are to be used in conjunction with the media controller.
> All
> the necessary patches aren't available yet, but they should be soon (it's
> hopefully a matter of days to get the userspace API there).

Great!

> 
> I will try to make a userspace test application available when the patches
> will be pushed to the linux-omap-camera tree.

That would be really nice. :)

Thanks and Regards,
Sergio

> 
> --
> Regards,
> 
> Laurent Pinchart
--
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