Interfacing IMX219 with IMX8MM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Interfacing IMX219 with IMX8MM

1,544 次查看
AMBh
Contributor I

I do want to interface the IMX219 with IMX8MM-MINI controller but i could not able to run Gstreamer pipeline as shown in below image.

AMBh_0-1704191873447.png

I have used IMX219 driver code available from 5.7 version of linux.

I am working on 5.4.70 version in my board.

I do concern about following kernel log: 

[ 322.626279] mxc_mipi-csi 32e30000.mipi_csi: format not match

 

DTS Entry:

imx219_mipi: imx219_mipi@10 {
compatible = "sony,imx219";
reg = <0x10>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_csi_pwn>, <&pinctrl_csi_rst>;
clocks = <&clk IMX8MM_CLK_CLKO1>;
clock-names = "xclk";
assigned-clocks = <&clk IMX8MM_CLK_CLKO1>;
assigned-clock-parents = <&clk IMX8MM_CLK_24M>;
assigned-clock-rates = <24000000>;
csi-id = <0>;
reset-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
pwn-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
clock-frequency = <24000000>;
mclk_source = <0>;
port {
imx219_mipi1_ep: endpoint {
remote-endpoint = <&mipi1_sensor_ep>;
clock-lanes = <0>;
data-lanes = <1 2>;
clock-noncontinuous;
link-frequencies = /bits/ 64 <456000000>;
};
};

&mipi_csi_1 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
port {
mipi1_sensor_ep: endpoint@1 {
remote-endpoint = <&imx219_mipi1_ep>;
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <480000000>;
csis-hs-settle = <13>;
csis-clk-settle = <2>;
csis-wclk;
};

csi1_mipi_ep: endpoint@2 {
remote-endpoint = <&csi1_ep>;
};
};
};

Can you support on this?

标签 (1)
0 项奖励
回复
3 回复数

1,509 次查看
AMBh
Contributor I

Hi,

I do not get format issue now. Change format from RAW10 to RAW8 from IMX219 driver code. 

But the Gstreamer pipeline is getting stucked. Camera is not opening.

0 项奖励
回复

1,503 次查看
joanxie
NXP TechSupport
NXP TechSupport

yes, current mipi csi only support raw8, if you need raw10, you need add this format in the driver, you can refer to this link as below

https://community.nxp.com/t5/i-MX-Graphics/gst-launch-1-0-returns-Internal-data-stream-error/td-p/15...

0 项奖励
回复

1,524 次查看
joanxie
NXP TechSupport
NXP TechSupport

what format do you use? refer to the logfile, current mipi csi doesn't support the format you set, do you use RAW10 or RAW12?

0 项奖励
回复