Hi,
I am encountering a similar issue as was mentioned in this post:
https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/td-p/1234225
I have a CSI camera daughtercard installed and a CSI camera that is not the same model as you have certified as working. I don't know the exact model of camera but it is definitely a rear view automotive camera with a 720p resolution.
If I run:
v4l2-ctl --all
I get this output:
root@imx8qmmek:~# v4l2-ctl --all
]Driver Info:
Driver name : mxc-isi-m2m
Card type : mxc-isi-m2m
Bus info : platform:58100000.isi:m2m_devic
Driver version : 5.10.52
Capabilities : 0x84204000
Video Memory-to-Memory Multiplanar
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04204000
Video Memory-to-Memory Multiplanar
Streaming
Extended Pix Format
Priority: 2
Format Video Capture Multiplanar:
Width/Height : 4096/8192
Pixel Format : 'RGBP' (16-bit RGB 5-6-5)
Field : None
Number of planes : 1
Flags :
Colorspace : sRGB
Transfer Function : sRGB
YCbCr/HSV Encoding: ITU-R 601
Quantization : Full Range
Plane 0 :
Bytes per Line : 8192
Size Image : 67108864
Format Video Output Multiplanar:
Width/Height : 4096/8192
Pixel Format : 'XR24' (32-bit BGRX 8-8-8-8)
Field : None
Number of planes : 1
Flags :
Colorspace : sRGB
Transfer Function : sRGB
YCbCr/HSV Encoding: ITU-R 601
Quantization : Full Range
Plane 0 :
Bytes per Line : 16384
Size Image : 134217728
Crop Capability Video Output:
Bounds : Left 0, Top 0, Width 4096, Height 8192
Default : Left 0, Top 0, Width 4096, Height 8192
Pixel Aspect: 1/1
Selection Video Output: compose, Left 0, Top 0, Width 4096, Height 8192, Flags:
Selection Video Output: compose_default, Left 0, Top 0, Width 4096, Height 8192, Flags:
Selection Video Output: compose_bounds, Left 0, Top 0, Width 4096, Height 8192, Flags:
User Controls
horizontal_flip 0x00980914 (bool) : default=0 value=0
vertical_flip 0x00980915 (bool) : default=0 value=0
min_number_of_capture_buffers 0x00980927 (int) : min=3 max=16 step=1 default=3 value=3 flags=read-only
min_number_of_output_buffers 0x00980928 (int) : min=1 max=16 step=1 default=1 value=1 flags=read-only
alpha_component 0x00980929 (int) : min=0 max=255 step=1 default=0 value=0
I have been having trouble trying to us gst-launch-1.0 or v4l2-ctl to stream frames from this device but I understand from the link above that it is because the wrong driver is mapped to /dev/video0.
When I run this command:
root@imx8qmmek:~# dmesg | grep mxc
[ 2.557244] mxc-mipi-csi2 58227000.csi: lanes: 4, name: mxc-mipi-csi2.0
[ 2.585227] mxc-mipi-csi2 58247000.csi: lanes: 4, name: mxc-mipi-csi2.1
[ 2.595686] mxc-isi 58100000.isi: mxc_isi.0 registered successfully
[ 2.603335] mxc-isi 58110000.isi: mxc_isi.1 registered successfully
[ 2.611838] mxc-isi 58120000.isi: mxc_isi.2 registered successfully
[ 2.621233] mxc-isi 58130000.isi: mxc_isi.3 registered successfully
[ 2.628678] mxc-isi 58140000.isi: mxc_isi.4 registered successfully
[ 2.640060] mxc-isi 58150000.isi: mxc_isi.5 registered successfully
[ 2.657546] mxc-isi 58160000.isi: mxc_isi.6 registered successfully
[ 2.683756] mxc-isi 58170000.isi: mxc_isi.7 registered successfully
[ 2.766624] mxc_emvsim 5a0d0000.sim0: emvsim register success
[ 7.091876] mx8-img-md: Registered mxc_isi.0.capture as /dev/video1
[ 7.101102] mx8-img-md: Registered mxc_isi.1.capture as /dev/video2
[ 7.111547] mx8-img-md: Registered mxc_isi.2.capture as /dev/video3
[ 7.120387] mx8-img-md: Registered mxc_isi.3.capture as /dev/video4
[ 7.127877] mx8-img-md: Registered mxc_isi.4.capture as /dev/video5
[ 7.135147] mx8-img-md: Registered mxc_isi.5.capture as /dev/video6
[ 7.143722] mx8-img-md: Registered mxc_isi.6.capture as /dev/video7
[ 7.150791] mx8-img-md: Registered mxc_isi.7.capture as /dev/video8
[ 7.159124] unregister ISI channel: mxc_isi.0
[ 7.167417] unregister ISI channel: mxc_isi.1
[ 7.172397] unregister ISI channel: mxc_isi.2
[ 7.177143] unregister ISI channel: mxc_isi.3
[ 7.184947] unregister ISI channel: mxc_isi.4
[ 7.195549] unregister ISI channel: mxc_isi.5
[ 7.201231] unregister ISI channel: mxc_isi.6
[ 7.206004] unregister ISI channel: mxc_isi.7
[ 7.255983] mxc-jpeg 58400000.jpegdec: decoder device registered as /dev/video1 (81,3)
[ 7.272373] mxc-jpeg 58450000.jpegenc: encoder device registered as /dev/video2 (81,4)
The driver mxc-mipi-csi2 appears but it doesn't seem to be getting mapped to /dev/video0. I believe that is the driver I need to be active here.
I built an image from a custom recipe but have not tried to modify an video drivers and I hope I don't need to. I am wondering what I can try next to get the correct driver to appear to be able to test that I can stream from the camera with gst-launch-1.0 before trying to write a capture sample app to get frames from the camera.
Appreciate any assistance or tips that would be helpful.