Title: Kernel panic when add ov4689 csi camera [Print This Page] Author: AndreyMaslow Time: 7/18/2022 22:03 Title: Kernel panic when add ov4689 csi camera Hello! I am trying to connect ov4689 with RV1126_EVB_V12 using device tree, but have kernel panic error
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0xf00
[ 0.000000] Linux version 4.19.111 (root@4a847271fffe) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #2 SMP PREEMPT Mon Jul 18 12:32
/* isp cma buffer don't fiddle with it, dual camera(1920 * 1080) need 92M buffer */
&isp_reserved {
size = <0x20000000>;
};
&mipi_csi2 {
status = "okay";
ports {
port@0 {
mipi_csi2_input: endpoint@1 {
remote-endpoint = <&csidphy0_out>;
data-lanes = <1 2 3 4>;
};
};
port@1 {
mipi_csi2_output: endpoint@0 {
remote-endpoint = <&cif_mipi_in>;
data-lanes = <1 2 3 4>;
};
};
};
};
&pwm11 {
status = "okay";
pinctrl-names = "active";
pinctrl-0 = <&pwm11m1_pins_pull_down>;
};
&rk809 {
regulators {
vcc_dvdd: LDO_REG6 {
regulator-min-microvolt = <1300000>;
regulator-max-microvolt = <1300000>;
};
vcc_avdd: LDO_REG7 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
};
};
&rkcif_mipi_lvds {
status = "okay";
port {
cif_mipi_in: endpoint {
remote-endpoint = <&mipi_csi2_output>;
data-lanes = <1 2 3 4>;
};
};
};
&rkcif_mipi_lvds_sditf {
status = "okay";
port {
cif_sditf: endpoint {
remote-endpoint = <&isp_in>;
data-lanes = <1 2 3 4>;
};
};
};
&rkisp_vir0 {
status = "okay";
ports {
port@0 {
isp_in: endpoint@0 {
remote-endpoint = <&csi_dphy1_output>;
};
};
};
};
&rkisp_vir1 {
status = "okay";
ports {
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
isp_virt1_in: endpoint@0 {
reg = <0>;
remote-endpoint = <&cif_sditf>;
};
};
};
};
&rkispp_vir1 {
status = "okay";
};
&rkispp {
status = "okay";
/* the max input w h and fps of mulit sensor */
//max-input = <1920 1080 30>;
};
&backlight {
pwms = <&pwm0 0 25000 0>;
};
&pwm0 {
status = "okay";
};
&pwm3 {
status = "disabled";
};
&u2phy0 {
vup-gpios = <&gpio0 RK_PC1 GPIO_ACTIVE_LOW>;
};
Copy the code
Please help! Author: Fuzzy1 Time: 8/12/2022 03:53
I 'm using a OV4689 with the the motherboard (MB-JD4-
RV11091126) with this device tree, note that I use two lanes: