Hello All
Camera: 8MP Sony IMX219 Camera Module for Raspberry Pi
Board: NXP i.MX8MP EVK
Interface: Connected directly via MIPI CSI2
I am currently working on enabling the IMX219 camera module on the NXP i.MX8MP EVK board. The camera driver is initializing correctly, and the sensor is being detected. However, I'm unable to get the camera stream to display over HDMI using Wayland.
gst-launch-1.0 v4l2src device=/dev/video3 ! 'video/x-raw,format=NV12,width=640,height=480' ! waylandsink
the process gets stuck during the ISP setup
[ 43.766523] enter isp_mi_stop
[ 44.098470] enter isp_mi_stop
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 46.078055] enter isp_set_stream 1
And below is the configuration output
root@localhost:~# media-ctl -p
Media controller API version 6.6.36
Media device information
------------------------
driver mxc-md
model FSL Capture Media Device
serial
bus info platform:32c00000.bus:camera
hw revision 0x0
driver version 6.6.36
Device topology
- entity 1: mxc-mipi-csi2.0 (8 pads, 1 link)
type Node subtype V4L flags 0
device node name /dev/v4l-subdev0
pad0: Sink
<- "imx219 1-0010":0 [ENABLED,IMMUTABLE]
pad1: Sink
pad2: Sink
pad3: Sink
pad4: Source
pad5: Source
pad6: Source
pad7: Source
- entity 10: imx219 1-0010 (1 pad, 1 link, 0 routes)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev1
pad0: Source
[stream:0 fmt:unknown/0x0]
-> "mxc-mipi-csi2.0":0 [ENABLED,IMMUTABLE]
root@localhost:~# v4l2-ctl --list-device
[ 176.158206] enter isp_mi_stop
():
/dev/v4l-subdev0
/dev/v4l-subdev2
/dev/v4l-subdev3
(csi0):
/dev/v4l-subdev1
FSL Capture Media Device (platform:32c00000.bus:camera):
/dev/media0
mxc-isi-m2m_v1 (platform:32e00000.isi:m2m_devic):
/dev/video2
VIV (platform:viv0):
/dev/video3
viv_media (platform:vvcam-video.0):
/dev/media1
Failed to open /dev/video0: Device or resource busy
root@localhost:~#
Could you please help me identify what might be going wrong?