Hi,
need help on this.
im trying to up ov5645 on db820c 4.11 kernel.
probe is succeeded and entity is created
- entity 158: ov5645 3-003b (1 pad, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev15
pad0: Source
[fmt:UYVY8_2X8/1920x1080 field:none colorspace:srgb
crop:(0,0)/1920x1080]
→ “msm_csiphy0”:0 [ENABLED,IMMUTABLE]
then configured pipeline as below
sudo media-ctl -d /dev/media0 -l ‘“msm_csiphy0”:1->“msm_csid0”:0[1],“msm_csid0”:1->“msm_ispif0”:0[1],“msm_ispif0”:1->“msm_vfe0_rdi0”:0[1]’
sudo media-ctl -d /dev/media0 -V ‘“ov5645 3-003b”:0[fmt:UYVY8_2X8/1920x1080 field:none],“msm_csiphy0”:0[fmt:UYVY8_2X8/1920x1080 field:none],“msm_csid0”:0[fmt:UYVY8_2X8/1920x1080 field:none],“msm_ispif0”:0[fmt:UYVY8_2X8/1920x1080 field:none],“msm_vfe0_rdi0”:0[fmt:UYVY8_2X8/1920x1080 field:none]’
then tried to get preview with below command but it got failed.
gst-launch-1.0 v4l2src ! ‘video/x-raw,format=UYVY,width=1920,height=1080’ ! glimagesink
error logs:
Setting pipeline to PAUSED …
ERROR: Pipeline doesn’t want to pause.
Got context from element ‘sink’: gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"(GstGLDisplayX11)\ gldisplayx11-0";
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not open device ‘/dev/video0’ for reading and writing.
Additional debug info:
v4l2_calls.c(626): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Input/output error
Setting pipeline to NULL …
Freeing pipeline …
and also
root@linaro-alip:~# [ 1111.946486]i2c-qcom-cci a0c000.qcom,cci: MASTER_0 error 0x08000000
[ 1111.946536] i2c-qcom-cci a0c000.qcom,cci: master 0 queue 0 error -5
[ 1111.951580] i2c-qcom-cci a0c000.qcom,cci: cci i2c xfer error -5
[ 1111.957872] ov5645 4-003b: ov5645_write_reg_to: write reg error -5 on addr 0x3c: reg=0x3100, val=0x76
[ 1111.963740] ov5645 4-003b: could not change i2c address
[ 1111.973169] qcom-camss a34000.camss: Failed to power up pipeline: -5
[ 1111.978657] qcom-camss a34000.camss: VFE HW Version = 0x70020000
[ 1111.985276] qcom-camss a34000.camss: VFE HW Version = 0x70020000
[ 1111.991214] qcom-camss a34000.camss: VFE HW Version = 0x70020000
Thanks,
Laxman