And how can I get it working with 2021's Linux version 5.10.9-1.0.0+g32513c25d8c7, as is flashed from the LF_v5.10_1.0.0_images_IMX8MMEVK download?
I did use the default .dtb-file - it is documented in this forum that it already incorporates ov5640.
kernel boot snippet:
[ 1.582147] i2c /dev entries driver
[ 1.586398] mx6s-csi 32e20000.csi1_bridge: initialising
[ 1.592314] mxc_mipi-csi 32e30000.mipi_csi: supply mipi-phy not found, using dummy
regulator
[ 1.601053] mxc_mipi-csi 32e30000.mipi_csi: mipi csi v4l2 device registered
[ 1.608041] CSI: Registered sensor subdevice: mxc_mipi-csi.0
[ 1.613728] mxc_mipi-csi 32e30000.mipi_csi: lanes: 2, hs_settle: 13, clk_settle: 2
, wclk: 1, freq: 33300000
And some command line actions:
root@imx8mmevk:~# v4l2-ctl --list-devices
i.MX6S_CSI (platform:32e20000.csi1_bridge):
/dev/video0
root@imx8mmevk:~# gst-launch-1.0 v4l2src device=/dev/video0 ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream
error.
Setting pipeline to PLAYING ...
Additional debug info:
../git/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0
/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Execution ended after 0:00:00.000499292
Setting pipeline to NULL ...
Total showed frames (0), playing for (0:00:00.000552408), fps (0.000).
Freeing pipeline ...
Finally, executing ./autorun-v4l2.sh results in:
autorun-v4l2.sh not supported on current soc
Please advice me!