Hi,
I am porting an image sensor driver that works on another platfrom to DragonBoard.
Image sensor produces raw Bayer 10bit data in four lane mode.
Here is the yavta command that I use for testing:
yavta -Bcapture-mplane -c100 -n 10 --requeue-last -fSRGGB10P -s692x520 /dev/video0
It starts stream and initializes buffers, but never receives any frams. It is just stuck and I have to exit with Ctrl-C
.
Configuration commands I use:
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 '"imx412 4-001a":0[fmt:SRGGB10_1X10/692x520 field:none],"msm_csiphy0":0[fmt:SRGGB10_1X10/692x520 field:none],"msm_csid0":0[fmt:SRGGB10_1X10/692x520 field:none],"msm_ispif0":0[fmt:SRGGB10_1X10/692x520 field:none],"msm_vfe0_rdi0":0[fmt:SRGGB10_1X10/692x520 field:none]'
Here is what I know so far:
- Sensor outputs images (measured with an osciloscope)
- lots of
csiphy_isr
interrupts - no
csid_isr
interrupts (only one at the start of the stream) - some
ispif_isr
interrupts, followed byvfe_isr
interrupts that callvfe_isr_sof
function
Any hints for further steps would be greatly appreciated.