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 dma_declare_coherent_memor

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 ftp://ftp.phytec.de/pub/Products/phyCORE-iMX27/Linu

Re: mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-08-05 Thread Jan Pohanka
640x480 YUV image... regards Jan 2011/8/4 Uwe Kleine-König : > 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 my

Re: mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-08-04 Thread Jan Pohanka
, sizeof(*pdata)); if (ret) { err: kfree(pdev->dev.dma_mask); platform_device_put(pdev); return ERR_PTR(-ENODEV); } } return pdev; } Dne Fri, 29 Jul 2011 13

Re: mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-07-31 Thread Jan Pohanka
oes not work either. I have found this link http://www.imxdev.org/wiki/index.php?title=Mxuart_patch - it seems that polling routines are still not implemented in current driver. Is that true? with best regards Jan Dne Fri, 29 Jul 2011 13:57:32 +0200 Uwe Kleine-König n

Re: mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-07-29 Thread Jan Pohanka
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 mx27ipcam_camera_init(void) { int dma

Re: mx2_camera driver on mx27ipcam: dma_alloc_coherent size failed

2011-07-29 Thread Jan Pohanka
ay be wrong. regards Jan Dne Fri, 29 Jul 2011 09:51:43 +0200 Uwe Kleine-König 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.

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

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 hav