当前位置:网站首页>全志V853芯片 如何在Tina V85x平台切换sensor?
全志V853芯片 如何在Tina V85x平台切换sensor?
2022-06-28 12:58:00 【51CTO】
目的
V85x某方案目前默认Sensor是GC2053。实际使用时若需要用到GC4663(比如wdr功能)和SC530AI(支持500W),可按如下步骤完成切换。
步骤
下面以GC4663为例,SC530AI按相应方式适配。
- Step1 检查Sensor驱动是否被编译成.ko文件
GC4663 Sensor驱动文件gc4663_mipi.c和配置Sensor驱动编译的Makefile文件路径的路径:
tina\lichee\linux-4.9\drivers\media\platform\sunxi-vin\modules\sensor
修改配置Sensor驱动编译的Makefile文件:
添加后,重新mkernel即可编译出GC4663驱动的ko文件。
- Step2 检查ISP效果文件是否已适配
效果文件gc4663_mipi_wdr_default_v853.h路径:
tina\external\eyesee-mpp\middleware\sun8iw21\media\LIBRARY\libisp\isp_cfg\SENSOR_H\gc4663
效果文件解析文件isp_ini_parse.c路径:
tina\external\eyesee-mpp\middleware\sun8iw21\media\LIBRARY\libisp\isp_cfg
详细路径参考: https://bbs.aw-ol.com/topic/1666/
若没有sensor对应的效果文件,则需要先添加和适配。
适配后,通过make menuconfig修改sensor为gc4663。
- Step3 检查board.dts是否已适配
板级配置文件board.dts的路径:
tina\device\config\chips\v853\configs\perf1
其中,I2C地址可以从GC4663 Sensor驱动中找到。
tina\lichee\linux-4.9\drivers\media\platform\sunxi-vin\modules\sensor\gc4663_mipi.c
驱动路径参考: https://bbs.aw-ol.com/topic/1666/
- Step4 修改ko自动加载脚本
先将ko拷贝到/lib/modules/下,然后加载ko。
(1)拷贝ko
modules.mk的路径:
tina\target\allwinner\v853-perf1
(2)加载ko
S00mpp的路径:
tina\target\allwinner\v853-perf1\busybox-init-base-files\etc\init.d
- Step5 重新编译mpp和固件
重新编译mpp和固件的命令:
边栏推荐
- Validateur async. Vérificateur de données JS
- The Research Report of Analysys' 2022 China Banking privacy computing platform supplier strength matrix analysis' was officially launched
- 中二青年付杰的逆袭故事:从二本生到 ICLR 杰出论文奖,我用了20年
- Evaluation of IP location query interface I
- 如何在熊市中寻找机会?
- go template with... End traversal usage
- Vs2012 VC creates a new blank window application
- 易观分析《2022年中国银行业隐私计算平台供应商实力矩阵分析》研究报告正式启动
- 认识启动函数,找到用户入口
- Summary of 2022 China Merchants fintech competition
猜你喜欢

Copy 10 for one article! The top conference papers published in South Korea were exposed to be plagiarized, and the first author was "original sin"?

IPETRONIK数据采集设备携手Softing Q-Vision软件致力于ADAS测试方案

基于SSM实现水果蔬菜商城管理系统

Xiaobai's e-commerce business is very important to choose the right mall system!

VS2012 VC新建一个空白窗口应用

易观分析《2022年中国银行业隐私计算平台供应商实力矩阵分析》研究报告正式启动

百度APP 基于Pipeline as Code的持续集成实践
![[MySQL from introduction to mastery] [advanced part] (III) creation of MySQL users_ Modification_ Delete and password settings](/img/9c/2a0eb8f5ec03aebbe231dbdb388eca.png)
[MySQL from introduction to mastery] [advanced part] (III) creation of MySQL users_ Modification_ Delete and password settings

高考失利進哈工大,畢業卻留校要當“探索者”,丁效:科研就是厚積薄發

pytorch基础
随机推荐
Customize MySQL connection pool
align-items 与 align-content 的区别
Evaluation of IP location query interface I
Online JSON to plaintext tool
UDP RTP packet frame loss
华泰证券手机app下载 怎么办理开户最安全
An idea plug-in that automatically generates unit tests, which improves the development efficiency by more than 70%!
I ² C. SMBus, pmbus relationships
Unity releases webgl and wakes up keyboard input on the mobile terminal inputfield
Deep understanding of Bayes theorem
Go语学习笔记 - gorm使用 - 数据库配置、表新增 | Web框架Gin(七)
Validateur async. Vérificateur de données JS
List集合转数组
ASP. NET CORE Study09
Flink流处理API大合集:掌握所有flink流处理技术,看这一篇就够了
弹性盒子自动换行小Demo
Finereport installation tutorial
##测试bug常用“Redmine”
JS duration and asynchronous function promise
Watermaker of the Flink core