Hello,
I want to stream video from the camera using the ISL79987 Video Decoder IC on the i.MX8M Mini platform.
Yocto Version: Mickledore
Kernel Version: 6.1.36
I added the ISL79987 IC to my device tree as follows.
isl7998x_mipi@44 {
compatible = "isil,isl79987";
reg = <0x44>;
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
ov5640_mipi1_ep: endpoint {
remote-endpoint = <&mipi1_sensor_ep>;
data-lanes = <1>;
};
};
port@1 {
reg = <1>;
endpoint {
};
};
};
};
&mipi_csi_1 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
port {
mipi1_sensor_ep: endpoint@1 {
remote-endpoint = <&ov5640_mipi1_ep>;
data-lanes = <1>;
csis-hs-settle = <13>;
csis-clk-settle = <0>;
csis-wclk;
};
csi1_mipi_ep: endpoint@2 {
remote-endpoint = <&csi1_ep>;
};
};
};
&csi1_bridge {
fsl,mipi-mode;
status = "okay";
port {
csi1_ep: endpoint {
remote-endpoint = <&csi1_mipi_ep>;
};
};
};
However, when I run this command "gst-launch-1.0 v4l2src device=/dev/video0 ! autovideosink" I get the following error. Could you please help me what is the reason for this?
root@imx8mm-var-dart:/dev# gst-launch-1.0 v4l2src device=/dev/video0 ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not nee[ 273.484183] ISL79987 - DEBUG isl7998x_enum_mbus_code: Entering isl7998x_enum_mbus_code function.LINE: 1194
d PREROLL ...
Pipeline is PREROL[ 273.496227] ISL79987 - DEBUG isl7998x_enum_mbus_code: MBus code set to 8198 LINE: 1202
LED ...
Setting pipeline to PLAY[ 273.507006] mxc_mipi-csi 32e30000.mipi_csi: format not match
ING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
/usr/src/debug/gstreamer1.0/1.22.0.imx-r0/libs/gst/base/gstbasesrc.c(3132): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.032001250
Setting pipeline to NULL ...
Freeing pipeline ...
root@imx8mm-var-dart:/dev#
Best regards.