AnsweredAssumed Answered

How to support  8-bit RAW camera on IMX6Q?

Question asked by Velarn Song on Nov 27, 2016
Latest reply on Dec 7, 2016 by Velarn Song

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:









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");
+   case V4L2_PIX_FMT_SGRBG8:
+   log_msg(LOG_DEBUG,"set format V4L2_PIX_FMT_SGRBG8\n");
+   break;


and other files which need this format.