@veye_xumm 大佬帮忙看下,谢谢
Latest posts made by curry
-
rk3588 mipi罗姆摄像头报错:mipi4-csi2-hw ERR1:0x1000000 (crc,vc: 0)
如上在调试mipi摄像头利用v4l2-ctl采图时出现以上,求助大佬
dts配置
/*- Copyright (c) 2023 Farben
*/
&csi2_dphy1_hw {
status = "okay";
};&csi2_dphy3 {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
mipi_dphy1_in: endpoint@1 {
reg = <1>;
remote-endpoint = <&bu18rm41_out0>;
data-lanes = <1 2 3 4>;
};
};
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
csidphy1_out: endpoint@0 {
reg = <0>;
remote-endpoint = <&mipi02_csi2_input>;
};
};
};
};&i2c3 {
status = "okay";
pinctrl-0 = <&i2c3m0_xfer>;
clock-frequency = <100000>;bu18rm41: bu18rm41@60 { compatible = "bu18rm41"; reg = <0x60>; clocks = <&cru CLK_MIPI_CAMARAOUT_M3>; clock-names = "xvclk"; power-domains = <&power RK3588_PD_VI>; rockchip,camera-module-index = <0>; rockchip,camera-module-facing = "back"; rockchip,camera-module-name = "bu18rm41"; rockchip,camera-module-lens-name = "bu18rm41_len"; // for -5 property, need config to 105 bu18rm41-sensor-addr-offset = <105>; port { bu18rm41_out0: endpoint { remote-endpoint = <&mipi_dphy1_in>; data-lanes = <1 2 3 4>; }; }; };
};
&mipi4_csi2 {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
mipi02_csi2_input: endpoint@1 {
reg = <1>;
remote-endpoint = <&csidphy1_out>;
};
};
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
mipi02_csi2_output: endpoint@0 {
reg = <0>;
remote-endpoint = <&cif_mipi_in02>;
};
};
};
};&rkcif {
status = "okay";
rockchip,android-usb-camerahal-enable;
};&rkcif_mipi_lvds4 {
status = "okay";
/* parameters for do cif reset detecting:
* index0: monitor mode,
0 for idle,
1 for continue,
2 for trigger,
3 for hotplug (for nextchip)
* index1: the frame id to start timer,
min is 2
* index2: frame num of monitoring cycle
* index3: err time for keep monitoring
after finding out err (ms)
* index4: csi2 err reference val for resetting
*/
rockchip,cif-monitor = 2 1 1000 5>;port { cif_mipi_in02: endpoint { remote-endpoint = <&mipi02_csi2_output>; }; };
};
&rkcif_mmu {
status = "okay";
};