Interfacing IMX219 with IMX8MM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Interfacing IMX219 with IMX8MM

1,555件の閲覧回数
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,520件の閲覧回数
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,514件の閲覧回数
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,535件の閲覧回数
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 件の賞賛
返信