Hello all. What I try to do is, we have a camera that outputs LVDS (Tamron MP1010M-VC), and we convert it to CSI-2 MIPI with an FPGA-Bridge. And we also configure the camera with this FPGA.
So we have such a block diagram. CAMERA --(LVDS)–> FPGA —(CSI)—> Jetson TX1
Since this camera doesn’t have an included driver with the Jetpack3.3, we try to modify the ov5693 driver accordingly. (We are using L4T-28.2.1)
Since we won’t configure the Camera with i2c, and with an external FPGA, we don’t need the i2c driven. But since people here said that I need an i2c, even if “dummy” I tried to create one that always return 0 with ov5693_write_reg and ov5693_read_reg, basically and’ed with 0 the returns.
The problem is that we’re unable to get video, nor register the /dev/video0.
/dev/video0 will be sufficient enough for us.
I’m also missing the /dev/video/ file, is that because there is no Camera CSI connected, or should I have had it available from the beginning, therefore I made a mistake in my driver/devicetree?
Thank you all for your replies and support.
Have a nice day! :)
Edit: I’m trying now the probe source code Dalt has suggested here; https://devtalk.nvidia.com/default/topic/1025863/jetson-tx2/how-to-grab-pre-configured-csi-video-stream-without-i2c-/post/5218418/#5218418
Will write back here. (He couldn’t get /dev/video0 with this one as well)
Edit2: Dalt’s suggestion didnt even compile… Had to change
common_data->i2c_client = client; ... err = camera_common_parse_ports(client, common_data);
common_data->dev = &client->dev; ... err = camera_common_parse_ports(&client->dev, common_data);
Still getting the same errors;