Ov5640 bringup with DB820C

Hi @Loic ,
I’m working with Debian image in DB820c. Ov5640 camera is connected to cci-1 line.
I have added the dts and enabled the module in the defconfig.

pipeline setting

sudo media-ctl -d /dev/media0 -l ‘“msm_csiphy1”:1->“msm_csid1”:0[1],“msm_csid1”:1->“msm_ispif1”:0[1],“msm_ispif1”:1->“msm_vfe0_rdi1”:0[1]’

sudo media-ctl -d /dev/media0 -V ‘“ov5640 7-003c”:0[fmt:UYVY8_2X8/1920x1080 field:none],“msm_csiphy1”:0[fmt:UYVY8_2X8/1920x1080 field:none],“msm_csid1”:0[fmt:UYVY8_2X8/1920x1080 field:none],“msm_ispif1”:0[fmt:UYVY8_2X8/1920x1080 field:none],“msm_vfe0_rdi1”:0[fmt:UYVY8_2X8/1920x1080 field:none]’

gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1 ! ‘video/x-raw,format=UYVY,width=1920,height=1080,framerate=30/1’ ! jpegenc ! filesink location=image01.jpg

below errors are obtained

[ +0.104230] i2c-qcom-cci a0c000.cci: master 1 queue 0 timeout
[ +0.000154] i2c-qcom-cci a0c000.cci: cci master 1 reset and init done:
[ +0.004769] i2c-qcom-cci a0c000.cci: master 1 queue 0 error -5
[ +0.006469] i2c-qcom-cci a0c000.cci: cci i2c xfer error -5
[ +0.005897] ov5640 7-003c: ov5640_write_reg: error: reg=3103, val=11

Could someone help me to debug this further.

Regards,
deepika.s

Hi
Could anyone please give some pointers to debug this issue

Regards,
deepika.s

Hi,
Following the below discussion and patches in the discussion, The ov5640 camera works on db820c.

Regards,
deepika.s

1 Like