跳至内容
文档中心
用户工具
Login with Keycloak
站点工具
搜索
工具
显示页面
修订记录
反向链接
最近更改
媒体管理器
网站地图
Login with Keycloak
>
最近更改
媒体管理器
网站地图
您在这里:
index
»
jaysnote
»
v4l2_driver_framework_code_review
jaysnote:v4l2_driver_framework_code_review
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
<markdown> # v4l2 drier framework code review ## 术语解释 | 术语 | 解释 | | ---- | ------------------------ | | vfe | video front end driver | | cci | camera control interface | | csi | camera serial interface | ## 启动流程 ```bash $dmesg -T |egrep -i 'vfe|ov5640|v4l|csi|cci' ```  如上启动顺序 * csi、cci、mipi 等外设初始化; * vfe控制 v4l2 启动; vfe在初始化 v4l2-device启动的时候已经同sub-device ov5640 通信,但是此时ov5640 启动还没有加载,这部分需要详细走读下代码; * sub-device camera sensor ov5640 加载; ## 驱动框架  ### kernel space 1. vfe模块加载,加载csi、mipi、isp、cci模块,同时从sys_config读出sensor的配置; 2. 创建v4l2-device; 3. ov5640 通过cci/i2c 向上注册sub-device(先前行为),此时vfe通过已经注册接口测试sensor是否激活。 4. 创建video 设备节点 ; ### userspace * libv4l2 源码可以通过`sudo apt-get source libv4l2rds0` 下载。 ```bash $ cat /etc/apt/sources.list deb http://mirrors.tuna.tsinghua.edu.cn/debian/ jessie main non-free contrib deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ jessie main non-free contrib ``` > **注意**:如上,确定已经添加source 源。 </markdown>
jaysnote/v4l2_driver_framework_code_review.txt
· 最后更改: 2021/06/22 23:14 (外部编辑)
页面工具
显示页面
修订记录
反向链接
回到顶部
LECONIOT
Toggle navigation
文档
博客