we have developed soc camera based driver for ov sensor. we are using standard v4l2 application to capture image from sensor. we are able to test using mmap method but not using user pointer method (V4L2_MEMORY_USERPTR) method.
we are using L4t 21.4 release.
has anyone been able to use V4L2_MEMORY_USERPTR on tegra k1 ?
Hi PratikPatel,
Currently we don’t support V4L2_MEMORY_USERPTR as this is to allocate buffer in user space.
Although we have plan to support that, it’s still not started yet.
after using memalign function, now user pointer feature works. but there is another issue. after DQBUF ioctl when i copy data from user pointer buffer to local pointer then some times memcmp fails between user pointer and local pointer. code snippet i have updated in our link.