Re: soc-camera driver for i.MX27
- Date: Mon, 10 Aug 2009 08:15:05 -0400
- From: Derek Bouius <dbouius@xxxxxxxxx>
- Subject: Re: soc-camera driver for i.MX27
On Mon, Aug 10, 2009 at 3:25 AM, Sascha Hauer<sha@xxxxxxxxxxxxxx> wrote:
> On Mon, Aug 10, 2009 at 08:59:23AM +0200, javier Martin wrote:
>> 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.
> It's CONSISTENT_DMA_SIZE.
That did the trick.
> Pengutronix e.K. | |
> Industrial Linux Solutions | http://www.pengutronix.de/ |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
video4linux-list mailing list