嵌入式学习小组
直播中

王秀珍

7年用户 1451经验值
私信 关注

OKM6UL-C无法测试OV9650摄像头是什么原因?


     我的开发板是OKM6UL-C,7寸电阻屏,核心板工业级NAND 256M,2018.10.23控制台镜像。摄像头模块飞凌OV9650.     

用串口助手发命令如下


root@freescale /forlinx$ ln -s libjpeg.so.62.0.0 libjpeg.so.62

ln: libjpeg.so.62: File exists

root@freescale /forlinx$

root@freescale /forlinx$ insmod /lib/modules/$(uname -r)/kernel/drivers/media

insmod: can't insert '/lib/modules/3.14.38-6UL_ga-00063-g138ff78/kernel/drivers/media/platform/mxc/subdev/mx6s_capture.ko': File exists

root@freescale /forlinx$

root@freescale /forlinx$ insmod /lib/modules/$(uname -r)/kernel/drivers/media

insmod: can't insert '/lib/modules/3.14.38-6UL_ga-00063-g138ff78/kernel/drivers/media/platform/mxc/subdev/ov9650_camera.ko': File exists

root@freescale /forlinx$

root@freescale /forlinx$ cat /sys/class/video4linux/video1/name

mx6s-csi

root@freescale /forlinx$

root@freescale /forlinx$ LD_LIBRARY_PATH=. ./ov9650 -c

capability driver mx6s-csi card i.MX6S_CSI businfo platform:21c4000.csi

cam set fmt: No such device

root@freescale /forlinx$

root@freescale /forlinx$ LD_LIBRARY_PATH=. ./ov9650 -p

capability driver mx6s-csi card i.MX6S_CSI businfo platform:21c4000.csi

cam set fmt: No such device

root@freescale /forlinx$

root@freescale /forlinx$

---------------使用Linux/Test/9650APP测试-------------------------------------------------------

root@freescale /usr/src/OV9650APP/ov9650_app$ ./ov9650 -c

capability driver mx6s-csi card i.MX6S_CSI businfo platform:21c4000.csi

cam set fmt: No such device

root@freescale /usr/src/OV9650APP/ov9650_app$

root@freescale /usr/src/OV9650APP/ov9650_app$

root@freescale /usr/src/OV9650APP/ov9650_app$

root@freescale /usr/src/OV9650APP/ov9650_app$ ./ov9650 -p

capability driver mx6s-csi card i.MX6S_CSI businfo platform:21c4000.csi

cam set fmt: No such device

root@freescale /usr/src/OV9650APP/ov9650_app$

root@freescale /usr/src/OV9650APP/ov9650_app$

root@freescale /usr/src/OV9650APP/ov9650_app$

root@freescale /usr/src/OV9650APP/ov9650_app$

----------------查看一下模块已经加载--------------------------------------------------------

root@freescale /usr/src/OV9650APP/ov9650_app$ lsmod

8723bu 1280657 0 - Live 0x7f013000

ov9650_camera 12297 0 - Live 0x7f00c000

evbug 1854 0 - Live 0x7f008000

mx6s_capture 13987 0 - Live 0x7f000000

root@freescale /usr/src/OV9650APP/ov9650_app$

root@freescale /usr/src/OV9650APP/ov9650_app$

root@freescale /usr/src/OV9650APP/ov9650_app$

root@freescale /usr/src/OV9650APP/ov9650_app$

root@freescale /usr/src/OV9650APP/ov9650_app$

root@freescale /usr/src/OV9650APP/ov9650_app$

屏幕一直显示LOGO,并没有显示摄像头拍摄的照片。请问这是什么原因?谢谢!












回帖(1)

卢家辉

2022-11-25 10:25:48
您在ov9650 测试之前, kill 掉进程/matrix_gui –qws 和进程/lighttpd -f ../config/lighttpd.conf了吗
举报

更多回帖

×
20
完善资料,
赚取积分