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

RE: OV2640 and iMX25PDK - help needed

Hi again,

>On 2 February 2012 15:01, Fabio Estevam <festevam@xxxxxxxxx> wrote:
>> On 2/1/12, Guennadi Liakhovetski <g.liakhovetski@xxxxxx> wrote:
>>> Hello Gonzalo
>>> On Tue, 31 Jan 2012, Fernandez Gonzalo wrote:
>>>> Hi all,
>>>> I've been working for a while with an iMX25PDK using the BSP
provided by
>>>> Freescale (L2.6.31). The camera driver (V4L2-int) and examples do
>>>> job quite well but I need to move my design to a more recent
>>>> I've been extensively googling but haven't found any info/examples
>>>> how to run the mx2_camera driver in the i.MX25PDK. I'm stuck at
>>>> could someone point me in the right direction? Thank you in
>>> i.MX25PDK is supported in the mainline kernel
>>> (arch/arm/mach-imx/mach-mx25_3ds.c), but it doesn't attach any
>>> Unfortunately, I also don't currently see any i.MX2x platforms in
>>> mainline with cameras, so, you have to begin by looking at
>>> arch/arm/plat-mxc/include/mach/mx2_cam.h, at
>>> arch/arm/plat-mxc/devices/platform-mx2-camera.c for the
>>> imx27_add_mx2_camera() function and maybe some i.MX3x or i.MX1
>> Javier has been doing a lot of work on mx2-camera lately.
>> Javier,
>> Is mach-imx27_visstrim_m10 board connected to a CMOS camera? Do you
>> have patches for adding camera support to mach-imx27_visstrim_m10?
>visstrim_m10 is connected to a tvp5150 but it uses the same interface
>as a CMOS sensor. Let me find some time to send a patch that I have
>pending in my queue. Then it can be used by Gonzalo as a reference.
>Javier Martin
>Vista Silicon S.L.
>CDTUC - FASE C - Oficina S-345
>Avda de los Castros s/n
>39005- Santander. Cantabria. Spain
>+34 942 25 32 60

I've been finally able to attach the ov2640 camera in the i.MX25PDK.
I've had some problems with the clocks, but a quick dirty fix looks to
solve this issue (I'll work on cleaner solution later).

Now I have to send the camera stream to "somewhere". In the example
provided by Freescale based on L2.6.31, "somewhere" is the framebuffer,
and this is done using VIDIOC_S_FBUF and VIDIOC_OVERLAY ioctls. As these
2 ioctls are not currently implemented in soc_camera.c, I was wondefing
if it exist a different preferred method to implement this

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

[Linux Input]     [Video for Linux]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Yosemite Backpacking]

Add to Google Powered by Linux