We are working on the custom IMX6 board. Below are the details.
Processor: iMX6 (Quad)
Interface: MIPI CSI-2
Camera: any MIPI CSI-2 based camera sensor
We are passing the buffer from user program to V4l2 using the userptr
For the Linux iMX6, v4l2 support,
Thanks,
P.Ashok
Hello,
the following may be helpful V4L2_MEMORY_USERPTR example for iMX6
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks for your reply. As per the thread, the userptr is only supported for physically contiguous memory. My question is whether iMX6 supports dis-contiguous userptr as well? Meaning, whether iMX6 can receive the streaming data from camera in memory that is discontiguous? If yes, can you point the relevant section in the iMX6 datasheet?
Hello,
I think - from performance perspective - it would be better to increase continuous
(DMA) space, say, using "cma=" kernel boot parameter.
Regards,
Yuri.