CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 7793|回复: 1

CSI 测试程序报错

[复制链接]
发表于 2013-12-23 11:23:18 | 显示全部楼层 |阅读模式
     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




那位大哥帮忙看下


回复

使用道具 举报

发表于 2015-6-17 16:12:44 | 显示全部楼层



您好,你加载sun4i_csi0.ko有没有报错,我加载默认的报错了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-11-22 19:12 , Processed in 0.020486 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部