解决了,是因为没走I2C。需要在kernel_menuconfig里把sunxi platform devices下将select cci or cci to twi选项换为twi。
S
shb3014 发布的最佳帖子
-
回复: 有没有哪位大神在D1S上跑过ov5640或者其他sensor的,走DVP-CSI
shb3014 发布的最新帖子
-
回复: 有没有哪位大神在D1S上跑过ov5640或者其他sensor的,走DVP-CSI
解决了,是因为没走I2C。需要在kernel_menuconfig里把sunxi platform devices下将select cci or cci to twi选项换为twi。
-
回复: 有没有哪位大神在D1S上跑过ov5640或者其他sensor的,走DVP-CSI
@honey130602 您好,想请教一下,我也在D1S上适配OV5640,但有如下报错:
root@TinaLinux:/# insmod /lib/modules/5.4.61/vin_v4l2.ko vin_csi 5801000.csi: Adding to iommu group 0 sunxi-vin-core 5809000.vinc: Adding to iommu group 0 sunxi-vin-core 5809200.vinc: Adding to iommu group 0 sun8iw20-pinctrl 2000000.pinctrl: pin PE8 already requested by 5801000.csi; cannot claim for 2000000.pinctrl:136 sun8iw20-pinctrl 2000000.pinctrl: pin-136 (2000000.pinctrl:136) status -22 sun8iw20-pinctrl 2000000.pinctrl: pin PE9 already requested by 5801000.csi; cannot claim for 2000000.pinctrl:137 sun8iw20-pinctrl 2000000.pinctrl: pin-137 (2000000.pinctrl:137) status -22 sun8iw20-pinctrl 2000000.pinctrl: pin PE6 already requested by 5801000.csi; cannot claim for 2000000.pinctrl:134 sun8iw20-pinctrl 2000000.pinctrl: pin-134 (2000000.pinctrl:134) status -22 sun8iw20-pinctrl 2000000.pinctrl: pin PE7 already requested by 5801000.csi; cannot claim for 2000000.pinctrl:135 sun8iw20-pinctrl 2000000.pinctrl: pin-135 (2000000.pinctrl:135) status -22 [VIN_WARN]get csi isp clk fail [VIN_WARN]get csi isp src clk fail [VIN_WARN]get csi mipi clk fail [VIN_WARN]get csi mipi src clk fail [VIN_WARN]get csi isp clk fail [VIN_WARN]Get isp reset control fail [ov5640]PWR_ON! [VIN_ERR]cci is NULL! [VIN_DEV_CCI]ov5640 sensor read retry = 2 [VIN_DEV_CCI]ov5640 sensor read retry = 2 [ov5640]V4L2_IDENT_SENSOR = 4b [VIN_DEV_CCI]ov5640 sensor read retry = 2 [VIN_DEV_CCI]ov5640 sensor read retry = 2 [ov5640]retry = 0, V4L2_IDENT_SENSOR = 44b [VIN_DEV_CCI]ov5640 sensor read retry = 2 [VIN_DEV_CCI]ov5640 sensor read retry = 2 [ov5640]retry = 1, V4L2_IDENT_SENSOR = 44b [VIN_DEV_CCI]ov5640 sensor read retry = 2 [VIN_DEV_CCI]ov5640 sensor read retry = 2 [ov5640]retry = 2, V4L2_IDENT_SENSOR = 44b [VIN_DEV_CCI]ov5640 sensor read retry = 2 [VIN_DEV_CCI]ov5640 sensor read retry = 2 [ov5640]retry = 3, V4L2_IDENT_SENSOR = 44b [VIN_DEV_CCI]ov5640 sensor read retry = 2 [VIN_DEV_CCI]ov5640 sensor read retry = 2 [ov5640]retry = 4, V4L2_IDENT_SENSOR = 44b [ov5640] error, chip found is not an target chip. [ov5640]PWR_OFF! [VIN_ERR]cci is NULL! [VIN_ERR]registering ov5647, No such device!
我看这里V4L2_IDENT_SENSOR是44b,这个意思是有检测到设备但不匹配吗?我这边看摄像头确实是ov5640。
另外这里面的几个VIN_WARN和提示的pin脚冲突时可以忽略的吗?
感谢。