Web lists-archives.com

Re: soc-camera driver for i.MX27

Dear Derek,

>> We have a driver for the phyCORE-i.MX27 board:
>> http://git.pengutronix.de/?p=phytec/linux-2.6.git;a=blob;f=drivers/media/video/mx27_camera.c;h=9e9f4426c3db890e6fc13130e047c65c073aa0b4;hb=refs/heads/phytec-master

Thank you for the pointer to the patch.

> I have just used this driver to interface to a soc imager (Aptina
> mt9p031) on the phyCORE-i.MX27 board. It works for acquiring a 640x480
> video stream quite reliably. I am currently working on getting it to
> be able to capture a full image frame (5MB) as well as various image
> sizes in between. I am running into out of memory issues with the
> dma_alloc_coherent() and not sure what the solution is yet.

Maybe you are requesting too much contiguous memory. I don't remember
where that could be changed.

Try also preallocating DMA buffer at init function, we have found
similar problems in the past using Freescale's BSP.

> Derek
>> Sascha, can you comment on the status regarding mainline?
>> rsc

Javier Martin
Vista Silicon S.L.
Universidad de Cantabria
CDTUC - FASE C - Oficina S-345
Avda de los Castros s/n
39005- Santander. Cantabria. Spain
+34 942 25 32 60

video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe