About mipi cam ,OS08A10

Which Khadas SBC do you use?

VIM3

Which system do you use? Android, Ubuntu, OOWOW or others?

ubuntu desktop

Which version of system do you use? Khadas official images, self built images, or others?

2004

Please describe your issue below:

mipi cam cant use

Post a console log of your issue below:

这是dmesg完整信息。兴许你们可以看出问题。
我个人觉得这个问题的主要内容为:

[ 1736.441033] get_calibrations_v4l2@acamera_get_calibrations_v4l2.c:31 GENERIC(CRIT) :Request calibration ctx_id:0 sensor_arg:0x2564e28 from soc_iq device ret 0
[ 1736.443337] sbuf_update_calibration_data@sbuf_func.c:506 SBUF(ERR) :+++ sbuf_update_calibration_data
[ 1736.443348] sbuf_calibration_init@sbuf_func.c:452 SBUF(ERR) :sbuf_calibration_init.
[ 1736.443358] sbuf_update_calibration_data@sbuf_func.c:516 SBUF(ERR) :--- sbuf_update_calibration_data
[ 1736.452492] isp_v4l2_stream_set_format@isp-v4l2-stream.c:1488 GENERIC(CRIT) :[Stream#0]   - New fmt - width: 3840, height: 2160, format: 0x59455247, type:     9. 
[ 1736.477700] fw_intf_stream_start@fw-interface.c:286 GENERIC(ERR) :Starting stream type 0
[ 1736.479757] AM_MIPI: am_mipi_phy_init:Settle:0x00000018
[ 1736.479786] AM_MIPI: am_mipi_csi_init:csi version 0x3130322a
[ 1736.479789] AM_MIPI: am_mipi_init:Success mipi init
[ 1736.479791] AM_ADAP: inject_data_flag = 0, dump_data_flag = 0
[ 1736.479801] AM_ADAP: reader : width = 3840, val = 300
[ 1736.479804] AM_ADAP: frontend : width = 3840, val = 300
[ 1736.479955] system_i2c_write:failed to write reg data: rc -6, saddr 0x36
[ 1736.486428] i2c_io_write_sample@acamera_sbus_i2c.c:70 GENERIC(ERR) :I2C not ok
[ 1748.541557] isp_v4l2_stream_try_format@isp-v4l2-stream.c:1314 GENERIC(ERR) :[Stream#1] pixel format for meta port must be 0x4154454d, not 0x00000000. Correct it!![ 1748.541602] fw_intf_stream_stop@fw-interface.c:331 GENERIC(CRIT) :Stream off 4

[ 1748.651245] system_i2c_write:failed to write reg data: rc -6, saddr 0x36
[ 1748.652510] i2c_io_write_sample@acamera_sbus_i2c.c:70 GENERIC(ERR) :I2C not ok
[ 1748.652519] AM_MIPI: am_mipi_deinit:Success mipi deinit
[ 1748.652529] fw_intf_stream_stop@fw-interface.c:331 GENERIC(CRIT) :Stream off 0

[ 1748.652547] isp_v4l2_notify_event@isp-v4l2.c:868 GENERIC(ERR) :Error, no fh_ptr exists for stream id 0 (event_type = 134227730)
[ 1818.582683] isp_v4l2_stream_try_format@isp-v4l2-stream.c:1326 GENERIC(CRIT) :[Stream#0] format 0x00000000 is not supported, setting default format 0x34424752.

[ 1818.582814] fw_intf_stream_stop@fw-interface.c:331 GENERIC(CRIT) :Stream off 4

@numbqq,这个问题还是蛮紧急的。突发状况。

@ivan.li ,可以帮忙看下这个问题嘛,最近尝试了一下之前可以正常使用摄像头的系统镜像也是不可以的。

既然之前可以用的系统现在都无法使用,那么可能与硬件有关了。确定下硬件链接是否接触好了。同时对于摄像头有没有接错过?

问题出现在能读到这个节点但是打不开这个节点,用opencv的情况下我感觉也是硬件出现了问题。

We had several OS08A10 cameras die after working for a while - we think that the cable gets micro-fractures when it is flexed even though I can’t see the damage. I recommend you test with a new/working camera.