- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.3k
Open
Description
root@debian:~# gst-launch-1.0 v4l2src device=/dev/video21 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! videoconvert ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3187): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason error (-5)
Execution ended after 0:00:00.198977580
Setting pipeline to NULL ...
Freeing pipeline ...
root@debian:~#
root@debian:~# [ 1432.650501] rkisp_hw 27c00000.isp: set isp clk = 594000000Hz
[ 1432.655526] rkisp rkisp-vir0: first params buf queue
[ 1432.655828] rkisp rkisp-vir0: no bay3d buffer available
[ 1432.655893] rkcif-mipi-lvds: stream[0] start streaming
[ 1432.656256] rockchip-mipi-csi2 mipi0-csi2: stream on, src_sd: 00000000815c020f, sd_name:rockchip-csi2-dphy0
[ 1432.656278] rockchip-mipi-csi2 mipi0-csi2: stream ON
[ 1432.656320] rockchip-csi2-dphy0: dphy0, data_rate_mbps 892
[ 1432.656599] rockchip-csi2-dphy csi2-dcphy0: csi2_dphy_s_stream stream on:1, dphy0, ret 0
[ 1432.656616] imx415 1-001a: s_stream: 1. 3864x2192, hdr: 0, bpp: 10
[ 1432.731875] (0x27c80000)MIPI_CSI2 ERR2:0xf0000
[ 1432.764372] rkcif-mipi-lvds: Warning: vblank need >= 1000us if isp work in online, cur 859 us
[ 1432.797576] rkcif-mipi-lvds: Warning: vblank need >= 1000us if isp work in online, cur 859 us
[ 1432.832472] rkcif-mipi-lvds: stream[0] start stopping, total mode 0x2, cur 0x2
[ 1432.863792] rockchip-mipi-csi2 mipi0-csi2: stream off, src_sd: 00000000815c020f, sd_name:rockchip-csi2-dphy0
[ 1432.863826] rockchip-mipi-csi2 mipi0-csi2: stream OFF
[ 1432.867489] rockchip-csi2-dphy csi2-dcphy0: csi2_dphy_s_stream_stop stream stop, dphy0
[ 1432.867573] rockchip-csi2-dphy csi2-dcphy0: csi2_dphy_s_stream stream on:0, dphy0, ret 0
[ 1432.867639] imx415 1-001a: s_stream: 0. 3864x2192, hdr: 0, bpp: 10
[ 1432.868253] rkcif-mipi-lvds: stream[0] stopping finished, dma_en 0x0
root@debian:~#
dts
&i2c1 {
	status = "okay";
	pinctrl-0 = <&i2c1m0_xfer>;
	imx415_1: imx415-1@1a {
		compatible = "sony,imx415";
		reg = <0x1a>;
		clocks = <&cru CLK_MIPI_CAMERAOUT_M0>;
		clock-names = "xvclk";
		pinctrl-names = "default";
		pinctrl-0 = <&cam_clk0m0_clk0>, <&camera1_control>;
		power-domains = <&power RK3576_PD_VI>;
		avdd-supply = <&vcc_3v3_s3>;
		power-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
		reset-gpios = <&gpio0 RK_PB0 GPIO_ACTIVE_LOW>;
		rockchip,camera-module-index = <0>;
		rockchip,camera-module-facing = "back";
		rockchip,camera-module-name = "CMK-OT2022-PX1";
		rockchip,camera-module-lens-name = "IR0147-50IRC-8M-F20";
		port {
			imx415_out0: endpoint {
				remote-endpoint = <&mipi_in_ucam0>;
				data-lanes = <1 2 3 4>;
			};
		};
	};
};
&csi2_dcphy0 {
	status = "okay";
	ports {
		#address-cells = <1>;
		#size-cells = <0>;
		port@0 {
			reg = <0>;
			#address-cells = <1>;
			#size-cells = <0>;
			mipi_in_ucam0: endpoint@1 {
				reg = <1>;
				remote-endpoint = <&imx415_out0>; // 该 PHY 的输入来自摄像头 imx415_out0
				data-lanes = <1 2 3 4>; 
			};
		};
			reg = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			csidcphy0_out: endpoint@0 {
				reg = <0>;
				remote-endpoint = <&mipi0_csi2_input>; 
			};
		};
	};
};
&mipi0_csi2 {
	status = "okay";
	ports {
		#address-cells = <1>;
		#size-cells = <0>;
		port@0 { 
			reg = <0>;
			#address-cells = <1>;
			#size-cells = <0>;
			mipi0_csi2_input: endpoint@1 {
				reg = <1>;
				remote-endpoint = <&csidcphy0_out>; 
			};
		};
			reg = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			mipi0_csi2_output: endpoint@0 {
				reg = <0>;
				remote-endpoint = <&cif_mipi0_in>; 
			};
		};
	};
};
&rkcif_mipi_lvds {
	status = "okay";
	port {
		cif_mipi0_in: endpoint { 
			remote-endpoint = <&mipi0_csi2_output>;
		};
	};
};
&rkcif_mipi_lvds_sditf {
	status = "okay";
	port {
		mipi_lvds_sditf: endpoint {
			remote-endpoint = <&isp_vir0>;
		};
	};
};
&rkisp_vir0 {
	status = "okay";
	port {
		#address-cells = <1>;
		#size-cells = <0>;
		isp_vir0: endpoint@0 {
			reg = <0>;
			remote-endpoint = <&mipi_lvds_sditf>;
		};
	};
};
&rkisp_vir0_sditf {
	status = "okay";
};
&rkvpss_vir0 {
	status = "okay";
};
Metadata
Metadata
Assignees
Labels
No labels