I’ve been struggling to get any video from adv7280a-m (See: https://www.toradex.com/community/questions/59268/verdin-imx8mm-dahlia-mipi-csi-from-adv7280m-with-b.html )
While it appears that my 7280 is correctly configured and sending video to the CSI port and v4l2-ctl sees it as a subdevice with adequate inputs, I can’t actually get any valid frames in userland.
I decided the next thing to try is to connect some other supported camera to the Dahlia’s CSI interface. I built a small adapter for a Raspberry Pi v1.3 OV5647 camera and ordered one from Amazon. I don’t have high hopes for this working though.
It doesn’t appear that I can procure an OV5640 camera from Toradex for the Verdin platform and the one for Apalis or earlier has been discontinued.
So I guess my first question is, has anyone succeeded in actually getting video from a CSI camera on Verdin?
Also, I’m confused about the various drivers (upstream, downstream, mainline, etc).
- drivers/media/i2c seems to be the mainline drivers which create v4l2 subdevices.
- drivers/media/platform/mxc/capture seems to be upstream NXP specific drivers but from what I can tell are to be used with imxv4l2 gstreamer plugins which are not applicable for imx8 (and aren’t even in BSP5.0).
- But imx8mm seems to have a different CSI IP from imx8mq and this suggests I should be using drivers/media/platform/mxc/capture because the mx6s_capture bridge driver is referenced in imx8mm dtsi.
Thus, my next question is: what CSI video drivers should I be using and what gstreamer plugins for Verdin imx8mm on Dahlia?
If I can succeed in getting ANY video streaming from ANY camera sensor, then I can instrument the mx6s driver and figure out whether my issue is on the adv7280a-m side or just in how I’m using the driver(s).
Any help is appreciated.