Hello guys,
I’m updating my ov13850 driver from R23 to R24.2. The whole system including the hardware and the driver just works normally while in R23.
However, I’m troubled in R24.2 since there’s an error prompt “video4linux video0: MW_ACK_DONE syncpoint time out!0”.
After modifying the device tree and the ov13850 driver, I can see the sysfs entry in “/dev/video0”. But when I try to capture one frame of image by yavta with the following command, the error prompt “video4linux video0: MW_ACK_DONE syncpoint time out!0” occurs.
./yavta /dev/video0 –c1
The modification of the device tree arch/arm64/boot/dts/tegra210-platform/ tegra210-camera-e3326-a00.dtsi is as follows since the hardware topology of the sensor is CSI port A, 4 lanes and I2C bus 6, address 0x10
/ {
host1x {
vi {
num-channels = <1>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 { /* CSI A */
status = "okay";
reg = <0>;
e3326_vi_in0: endpoint {
csi-port = <0>;
bus-width = <4>;
remote-endpoint = <&e3326_ov13850_out0>;
};
};
};
};
i2c@546c0000 { /* adapter 6 */
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
ov13850_a@10 {
compatible = "nvidia,ov13850";
reg = <0x10>;
sensor_model ="ov13850";
avdd-reg = "vana";
iovdd-reg = "vif";
devnode="video0";
/* post_crop_frame_drop = "0"; */
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
e3326_ov13850_out0: endpoint {
csi-port = <0>;
bus-width = <4>;
remote-endpoint = <&e3326_vi_in0>;
};
};
};
};
};
};
};
As for the ov13850 driver, I modified the driver referring to ov5693 driver in driver/media/i2c/ov5693.c
The error prompt is as follows
http://7xqm99.com1.z0.glb.clouddn.com/1.png
Besides, I tried to capture consecutive 10 frames by yavta, and I got the printing
http://7xqm99.com1.z0.glb.clouddn.com/2.png
I got the file ov.raw and transformed the image format from raw to bmp. The content of the bmp file is as follows
http://7xqm99.com1.z0.glb.clouddn.com/3.png
Furthermore, I tried to upgrade the kernel of the TX1 reference board to R24.2. I used the default device tree (arch/arm64/boot/dts/tegra210-platform/ tegra210-camera-e3326-a00.dtsi) and sensor driver (drivers/media/i2c/ov5693.c). I tested with yavta and got the same error prompt.
So what’s the problem and I would appreciate it if anyone could share some ideas on that.