【求助】OKM6UL-C无法测试OV9650摄像头
本帖最后由 QiZhimin 于 2018-12-30 22:48 编辑我的开发板是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<smod /lib/modules/$(uname -r)/kernel/drivers/media/ platform/mxc/subdev/mx6s_<-r)/kernel/drivers/media/platform/mxc/subdev/mx6s_c apture.ko
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<smod /lib/modules/$(uname -r)/kernel/drivers/media/ platform/mxc/subdev/ov965<-r)/kernel/drivers/media/platform/mxc/subdev/ov9650 _camera.ko
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,并没有显示摄像头拍摄的照片。请问这是什么原因?谢谢!
您好
您在ov9650 测试之前, kill 掉进程/matrix_gui –qws 和进程/lighttpd -f ../config/lighttpd.conf了吗 使用ps -ef查看进程信息,没有两个进程。
请问怎样查看到,和关闭这两个进程呢?
Copyright (C) 2006-2016 Forlinx Embedded Technology Co., Ltd All Rights Reservedwww.forlinx.com
freescale login: root
root@freescale ~$ ps -ef
PID USER TIME COMMAND
1 root 0:03 init
2 root 0:00
3 root 0:00
4 root 0:00
5 root 0:00
6 root 0:00
7 root 0:00
8 root 0:00
9 root 0:00
10 root 0:00
11 root 0:00
12 root 0:00
13 root 0:00
14 root 0:00
15 root 0:00
16 root 0:00
17 root 0:00
18 root 0:00
19 root 0:00
30 root 0:00
31 root 0:00
32 root 0:00
33 root 0:00
34 root 0:00
35 root 0:00
36 root 0:00
73 root 0:00
74 root 0:00
81 root 0:00
82 root 0:00
83 root 0:00
84 root 0:00
85 root 0:00
86 root 0:00
87 root 0:00
88 root 0:00
89 root 0:00
90 root 0:00
91 root 0:00
92 root 0:00
102 root 0:02 udevd --daemon
409 root 0:00
936 root 0:00 /usr/sbin/inetd
939 root 0:00 /sbin/syslogd
941 root 0:00 /sbin/klogd
984 nobody 0:00 /sbin/boa
990 root 0:00 {rc_mxc.S} /bin/bash /etc/rc.d/rc_mxc.S
992 root 0:00 -sh
993 root 0:00 ps -ef
root@freescale ~$ 本帖最后由 QiZhimin 于 2019-1-18 15:02 编辑
我的开发板是OKM6UL-C,7寸电阻屏,核心板工业级NAND 256M,2018.10.23 QT镜像。摄像头模块飞凌OV9650.
实验OV9650模块仍然没有试验成功。
在ov9650 测试之前, 我已经kill 掉进程/matrix_gui –qws 和进程/lighttpd -f ../config/lighttpd.conf
偶然发现,开发板启动时,提示没找到摄像头。但是我的确已经把OV9650模块插在了开发板上。摄像头模块的蓝色指示灯亮了
[ 16.693388] ov9650_read_reg:write reg error:reg=1c
[ 16.701048] camera ov9650 is not found
freescale login: root
root@freescale ~$
root@freescale ~$ ps -ef
PID USER TIME COMMAND
1 root 0:03 init
2 root 0:00
3 root 0:00
4 root 0:00
5 root 0:00
6 root 0:00
7 root 0:00
8 root 0:00
9 root 0:00
10 root 0:00
11 root 0:00
12 root 0:00
13 root 0:00
14 root 0:00
15 root 0:00
16 root 0:00
17 root 0:00
18 root 0:00
19 root 0:00
30 root 0:00
31 root 0:00
32 root 0:00
33 root 0:00
34 root 0:00
35 root 0:00
36 root 0:00
73 root 0:00
74 root 0:00
81 root 0:00
82 root 0:00
83 root 0:00
84 root 0:00
85 root 0:00
86 root 0:00
87 root 0:00
88 root 0:00
89 root 0:00
90 root 0:00
91 root 0:00
92 root 0:00
102 root 0:02 udevd --daemon
403 root 0:00
936 root 0:00 /usr/sbin/inetd
939 root 0:00 /sbin/syslogd
941 root 0:00 /sbin/klogd
977 nobody 0:00 /sbin/boa
983 root 0:02 ./matrix_gui -qws
985 root 0:00 ./lighttpd -f ../config/lighttpd.conf
986 root 0:00 /forlinx/web/php/bin/php-cgi
988 root 0:00 {rc_mxc.S} /bin/bash /etc/rc.d/rc_mxc.S
990 root 0:00 -sh
991 root 0:00 /forlinx/web/php/bin/php-cgi
997 root 0:00 ps -ef
root@freescale ~$
root@freescale ~$ kill 983
root@freescale ~$
root@freescale ~$ kill 985
root@freescale ~$
root@freescale ~$ ln -s libjpeg.so.62.0.0 libjpeg.so.62
ln: libjpeg.so.62: File exists
root@freescale ~$
root@freescale ~$ ln -s libjpeg.so.62.0.0 libjpeg.so
ln: libjpeg.so: File exists
root@freescale ~$
root@freescale ~$ insmod /lib/modules/ $(uname -r)/kernel/drivers/media/platf<ib/modules/ $(uname -r)/kernel/drivers/media/platfo rm/mxc/subdev/mx6s_captur<rnel/drivers/media/platform/mxc/subdev/mx6s_capture .ko
insmod: short read
root@freescale ~$
root@freescale ~$ insmod /lib/modules/ $(uname -r)/kernel/drivers/media/platf<ib/modules/ $(uname -r)/kernel/drivers/media/platfo rm/mxc/subdev/ov9650_came<rnel/drivers/media/platform/mxc/subdev/ov9650_camer a.ko
insmod: short read
root@freescale ~$
root@freescale ~$ cat /sys/class/video4linux/video1/name
mx6s-csi
root@freescale ~$ cd /forlinx
root@freescale /forlinx$
LD_LIBRARY_PATH=. ./ov9650-640x480 -c
-sh: ./ov9650-640x480: No such file or directory
root@freescale /forlinx$
root@freescale /forlinx$ LD_LIBRARY_PATH=. ./ov9650-640x480 -p
-sh: ./ov9650-640x480: No such file or directory
root@freescale /forlinx$
root@freescale /forlinx$
您好
邮箱,已沟通
页:
[1]