Unable to get RAW10 format for ov5630 sensor with imx8mm mini

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to get RAW10 format for ov5630 sensor with imx8mm mini

350 Views
udhayamoorthi
Contributor II

Hello all,

I am working on ov5640 camera sensor with imx8mm mini. The issue is whenever I use RAW8 it's working fine but RAW10 isn't working.

Bellow is my kernel log  for RAW10 format :

/GstPipeline:pipeline0/GstAutoVideoConvert:autovideoconvert0.GstGhostPad:sink: caps = video/x-raw, format=(string)RGBA, width=(int)1920, height=(int)1080, framerate=(fraction)30/1
/GstPipeline:pipeline0/bayer2rgbneon:bay[   64.145778] fmt: 0x3007, 1920 x 1080; CONFIG:0x8b0
[   64.151832]  mipi_csis_set_params before CONFIG:0x10b0
[   64.156990]  mipi_csis_set_params after CONFIG:0x10b0
[   64.162059] ov5640_mipi 2-003c: s_stream: 1

I have done the changes in the ov5640_mipi_v2 and mx6s_capture code accordingly for RAW10 format 

Following are the changes in the code :

mx6s_capture.c

{
        .name        = "RAWRGB10 (SRGGB10)",
        .fourcc        = V4L2_PIX_FMT_SRGGB10,
        .pixelformat    = V4L2_PIX_FMT_SRGGB10,
        .mbus_code    = MEDIA_BUS_FMT_SRGGB10_1X10,
        .bpp        = 1,
    }

case V4L2_PIX_FMT_SRGGB10:
            cr18 |= BIT_MIPI_DATA_FORMAT_RAW10;
            break;

Can anyone tell me what else I need to add for RAW 10?

0 Kudos
2 Replies

337 Views
joanxie
NXP TechSupport
NXP TechSupport

I have sent the patch to you, pls check the mail box

0 Kudos

87 Views
HAKANAYDN
Contributor II
Hi joanxie,

I have same problem. How can I add RAW10 to imx8mm mini.



0 Kudos