Re: dma buffers for camera

2011-08-25 Thread Jan Pohanka
Hi Guennadi, The mx2_camera driver is allocating one discard buffer of the same size, as regular buffers for cases, when the user is not fast enough to queue new buffers for the running capture. Arguably, this could be aliminated and the last submitted buffer could be re-used until either

dma buffers for camera

2011-08-24 Thread Jan Pohanka
Hello, could please anyone explain me a bit situation about using memory buffers for dma for video input devices? Unfortunately I don't understand it at all. I want to capture images 1600x1200 from 2 mpix sensor on i.mx27 board. I gave 8MB to mx2_camera device with

image capturing on i.mx27 with gstreamer

2011-08-19 Thread Jan Pohanka
Hi all, I'm playing with i.mx27 processor by Freescale, namely with ipcam reference design. There is unfortunately no support available for this hw this time so I have adapted a kernel from Pengutronix Oselas distribution (available here

Re: mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-08-05 Thread Jan Pohanka
for 640x480 YUV image... regards Jan 2011/8/4 Uwe Kleine-König u.kleine-koe...@pengutronix.de: Hello Jan, On Thu, Aug 04, 2011 at 03:11:11PM +0200, Jan Pohanka wrote: Dear Uwe, could you please give me some advice once more? It seems I'm not able to make mx2_camera working by myself. I have tried

Re: mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-08-04 Thread Jan Pohanka
); } } return pdev; } Dne Fri, 29 Jul 2011 13:57:32 +0200 Uwe Kleine-König u.kleine-koe...@pengutronix.de napsal(a): Hello Jan, On Fri, Jul 29, 2011 at 12:14:09PM +0200, Jan Pohanka wrote: which repository should I search 90026c8c823bff54172eab33a5e7fcecfd3df635 in? I

Re: mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-08-01 Thread Jan Pohanka
-König u.kleine-koe...@pengutronix.de napsal(a): Hello Jan, On Fri, Jul 29, 2011 at 12:14:09PM +0200, Jan Pohanka wrote: which repository should I search 90026c8c823bff54172eab33a5e7fcecfd3df635 in? I have not found it in git.pengutronix.de/git/imx/linux-2.6.git nor in vanilla sources. Seems

mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-07-29 Thread Jan Pohanka
Dear all, I'm playing with imx27ipcam reference design and I would like to use more recent (or actual) kernel than the one in BSP (2.6.19). I had no problems with running 2.6.39 version from mainline, and now I want to get some signal from CMOS chip. As there is no driver for mt9d131 yet I

Re: mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-07-29 Thread Jan Pohanka
+0200 Uwe Kleine-König u.kleine-koe...@pengutronix.de napsal(a): Hello, On Fri, Jul 29, 2011 at 09:31:28AM +0200, Jan Pohanka wrote: I'm playing with imx27ipcam reference design and I would like to use more recent (or actual) kernel than the one in BSP (2.6.19). I had no problems

Re: mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-07-29 Thread Jan Pohanka
Jan, On Fri, Jul 29, 2011 at 10:59:55AM +0200, Jan Pohanka wrote: thank you for answer. You are right I give no memory to camera device in mach-imx27ipcam.c. I have tried to do it in same way as it is in mach-pcm037.c but no success. Here is my init function static int __init

at91sam9g20 - image sensor interface - mt9v011 image sensor

2011-06-17 Thread Jan Pohanka
Hello, I'm trying to get working the combination from mail subject. Unfortunately there is no driver for atmel isi interface in current kernel (2.6.39.1), but I discovered a recent patch from Josh Wu, which is adding the support for the similar atmel interface (ISI v2) as my chip has. I