Good morning everyone,
I’m not used to post in such forums and I’m kind of new to it. I apologize in advance if this post might look inappropriate or at the wrong place.
I am trying to develop a kernel driver for the OV4689 sensor based on an existing driver which is the OV5645 sensor, on Linaro 4.9.56.
I have configured my sensor through the device tree (clock lanes, frequency, etc) and I can communicate to the sensor chip through I2C using the Qualcomm CCI driver. In the end, the purpose is to get RAW data through vfe0_rdi0 since the OV4689 sensor sends 10-bit RAW bayer frames.
The media node and the v4l subdevices nodes are set correctly and appear in /dev and I have configured the media pipeline properly like so : csiphy0 → csid1 → ispif0 → vfe0_rdi0. When trying to get the data with GStreamer 1.0, I’m getting a “broken pipe” error that I don’t understand, the ouput log is available here : Using mplane plugin for capture Pipeline is live and does not need PREROLL ... - Pastebin.com
The driver C code is available here : https://gist.github.com/MajorSquirrelTVS/6f14409363482aaa6785591de793523a
From what I understand, I can power up and power down the sensor as well as reading and writing registers to the chip, but I can’t manage to launch the streaming mode.
Does anyone have some hints for me ?
Thank you for your time,
Regards