I am working on a camera driver,which is a 14MP sensor connected to csi 0 parallel port . And it only support 8 bit RAW output.
I glanced at the many discussions on the community,and modify some source files,but it still not work.
When I used mxc_v4l2_capture.out ,a error told me:
ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0.
This problem is same on the discussion:
imx6 support for 8-bit RAW camera
Can someone help me?
thanks a lot.
***********************************************************************************
The lists that I changed:
..\drivers\media\video\mxc\capture\ipu_csi_enc.c
..\drivers\media\video\mxc\capture\mxc_v4l2_capture.c
..\drivers\mxc\ipu3\ipu_capture.c
..\drivers\mxc\ipu3\ipu_common.c
..\drivers\mxc\ipu3\ipu_param_mem.h
In mxc_v4l2_Capture.c, add another case at mxc_v4l2_s_fmt() as blew:
case V4L2_PIX_FMT_YUV422P:
log_msg(LOG_DEBUG,"set format V4L2_PIX_FMT_YUV422P\n");
break;
+ case V4L2_PIX_FMT_SGRBG8:
+ log_msg(LOG_DEBUG,"set format V4L2_PIX_FMT_SGRBG8\n");
+ break;
and other files which need this format.