1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
debian系统目前支持U*** camera是没有问题,走UVC功能接口。那么mipi 接口camera和并口接口的camera,在Debian系统怎么设置呢,其实原理一样,也走uvc接口封装函数.
下面给大家简单说明,更多详看 bbs.videostrong.com 首先在dts文件定义Mipi camera接口的定义: camera0: camera-module@60 { status = "okay"; compatible = "ovti,ov13850-v4l2-i2c-subdev"; reg = < 0x60 >; device_type = "v4l2-i2c-subdev"; clocks = ; clock-names = "clk_cif_out"; pinctrl-names = "rockchip,camera_default", "rockchip,camera_sleep"; pinctrl-0 = ; pinctrl-1 = ; rockchip,pwr-gpio = ; rockchip,camera-module-mclk-name = "clk_cif_out"; rockchip,camera-module-facing = "back"; rockchip,camera-module-name = "cmk-cb0695-fv1"; rockchip,camera-module-len-name = "lg9569a2"; rockchip,camera-module-fov-h = "133.0"; rockchip,camera-module-fov-v = "100.1"; rockchip,camera-module-orientation = <0>; rockchip,camera-module-iq-flip = <0>; rockchip,camera-module-iq-mirror = <0>; rockchip,camera-module-flip = <0>; rockchip,camera-module-mirror = <0>; rockchip,camera-module-defrect0 = <640 480 0 0 640 480>; rockchip,camera-module-defrect1 = <640 480 0 0 640 480>; rockchip,camera-module-defrect2 = <640 480 0 0 640 480>; rockchip,camera-module-defrect3 = <640 480 0 0 640 480>; rockchip,camera-module-flash-support = <0>; rockchip,camera-module-mipi-dphy-index = <0>; }; cif_isp0: cif_isp@ff910000 { compatible = "rockchip,rk3399-cif-isp"; rockchip,grf = ; reg = <0x0 0xff910000 0x0 0x4000>, <0x0 0xff968000 0x0 0x8000>; reg-names = "register", "dsihost-register"; clocks = , , , , , , , , ; clock-names = "aclk_isp0_noc", "aclk_isp0_wrapper", "hclk_isp0_noc", "hclk_isp0_wrapper", "clk_isp0", "pclk_dphyrx", "clk_cif_out", "clk_cif_pll", "pclk_dphy_ref"; interrupts = ; interrupt-names = "cif_isp10_irq"; power-domains = ; rockchip,isp,iommu-enable = <1>; iommus = ; status = "disabled"; }; 通过上面的配置后,打开驱动,驱动加载成功了。通过应用就可以切换摄像头,图像就可以出来了 export DISPLAY=:0.0 su linaro -c " gst-launch-1.0 v4l2src device=/dev/video2 io-mode=4 ! videoconvert ! video/x-raw,format=NV12,width=640,height=480 ! rkximagesink " |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
基于米尔瑞芯微RK3576核心板/开发板的人脸疲劳检测应用方案
498 浏览 0 评论
768 浏览 1 评论
667 浏览 1 评论
1893 浏览 1 评论
3138 浏览 1 评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 00:53 , Processed in 0.645808 second(s), Total 70, Slave 54 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号