将OV5640接到开发板测试:
加载模块:
root@ELF1:~# insmod ov5640_camera.ko
1-003c supply DOVDD not found, using dummy regulator
1-003c supply DVDD not found, using dummy regulator
1-003c supply AVDD not found, using dummy regulator
CSI: Registered sensor subdevice: ov5640 1-003c
查看可用的视频设备:
root@ELF1:~# v4l2-ctl -d /dev/video0 --all
测试摄像头:
root@ELF1:~# gst-launch-1.0 -v v4l2src device=/dev/video0 ! "video/x-raw, format=(st\ring)YUY2, width=(int)640, height=(int)480, framerate=(fraction)15/1" ! videoconvert ! f\bdevsink