|
A10 CSI0接的“gc0307 ” CSI1接的“ov7670”
linux 加载了驱动 /dev/video0,/dev/video1 均已经产生
用源码自带的csi 测试程序测试 位置/sun4i/sunxi-bsp/linux-sunxi/drivers/media/video/sun4i_csi/test
其中 测试ov7670 过程中 图像正常 LCD上有显示 打印信息如下
********************************************************************Read stream test start,capture 1000 frames,press to continue
<6>[CSI]sensor initial success when csi open!
[ 1588.150000] [CSI]sensor initial success when csi open!
**************************************************************
resolution got from sensor = 640*480
**************************<6>[CSI]buffer_setup, buffer count=5, size=460800
[ 1588.260000] [CSI]buffer_setup, buffer count=5, size=460800
************************************
<3>disp: process 137 (app_test_vedio1) has skipped the version handshake.
[ 1588.270000] disp: process 137 (app_test_vedio1) has skipped the version handshake.
<4>[DISP] layer allocated: 0,101
[ 1588.290000] [DISP] layer allocated: 0,101
video layer hdl:101
fb_layer hdl: 100<6>[CSI_ERR]stream has been already on
[ 1588.350000] [CSI_ERR]stream has been already on
VIDIOC_STREAMON ok
VIDIOC_STREAMON ok
VIDIOC_STREAMOFF ok<6>[CSI_ERR]stream has been already off
[ 1618.000000] [CSI_ERR]stream has been already off
VIDIOC_STREAMOFF ok
<4>[DISP] layer released: 0,101
[ 1619.040000] [DISP] layer released: 0,101
********************************************************************test done,press to end
但是测试gc0307 的 过程中 出现了错误 报错如下
********************************************************************Read stream test start,capture 1000 frames,press to continue
<6>[CSI]sensor initial success when csi open!
[ 259.270000] [CSI]sensor initial success when csi open!
********************************<6>[CSI_ERR]v4l2 sub device s_parm error!
[ 259.500000] [CSI_ERR]v4l2 sub device s_parm error!
******************************
<6>[CSI]buffer_setup, buffer count=5, size=460800
[ 259.510000] [CSI]buffer_setup, buffer count=5, size=460800
resolution got from sensor = 640*480
**************************<3>disp: process 129 (app_test_vedio0) has skipped the version handshake.
[ 259.530000] disp: process 129 (app_test_vedio0) has skipped the version handshake.
********************************<4>[DISP] layer allocated: 0,101
[ 259.540000] [DISP] layer allocated: 0,101
****
adc
VIDIOC_S_PARM error
video layer hdl:101
fb_layer hdl: 100<6>[CSI_ERR]stream has been already on
[ 259.610000] [CSI_ERR]stream has been already on
VIDIOC_STREAMON ok
VIDIOC_STREAMON ok
select timeout
<4>[DISP] layer allocated at close: 0,101
[ 262.110000] [DISP] layer allocated at close: 0,101
那位大哥帮忙看下
|
|