当前位置:网站首页>全志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和固件的命令:
边栏推荐
- 小白创业做电商,选对商城系统很重要!
- Jerry's wif interferes with Bluetooth [chapter]
- 弹性盒子自动换行小Demo
- 证券账户开户哪家的费率低 怎么办理开户最安全
- Scratch travel photo album Electronic Society graphical programming scratch grade examination level 1 true questions and answers analysis June 2022
- . Net hybrid development solution 24 webview2's superior advantages over cefsharp
- 海思35xx实现GT911触摸屏功能「建议收藏」
- Digital twin energy system, creating a "perspective" in the low-carbon era
- align-items 与 align-content 的区别
- 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"?
猜你喜欢
JS class 并不只是简单的语法糖!
JS class is not just a simple syntax sugar!

flex布局中的align-content属性

Digital twin energy system, creating a "perspective" in the low-carbon era

Copying open source for basic software is not advisable. Self reliance is the right way

企业源代码保密方案分享

centos6.5 php+mysql mysql库找不到

Wi-Fi 7 来啦,它到底有多强?

词云的可视化设计教程

Deep understanding of Bayes theorem
随机推荐
【MySQL从入门到精通】【高级篇】(三)MySQL用户的创建_修改_删除以及密码的设置
Performance test-01-introduction
简历模板百度网盘自取
Why does CAD export PDF have no color
An idea plug-in that automatically generates unit tests, which improves the development efficiency by more than 70%!
Jerry's wif interferes with Bluetooth [chapter]
Unity releases webgl and wakes up keyboard input on the mobile terminal inputfield
一文抄 10 篇!韩国发表的顶级会议论文被曝抄袭,第一作者是“原罪”?
Wi-Fi 7 来啦,它到底有多强?
align-items 与 align-content 的区别
嵌入式开发:估算电池寿命的7个技巧
How to install SSL certificates in Microsoft Exchange 2010
数据分析-启动子进化分析
[MySQL from introduction to mastery] [advanced part] (III) creation of MySQL users_ Modification_ Delete and password settings
UDP RTP packet frame loss
Jerry's SPI1 plug-in flash recording modification [part]
centos6.5 php+mysql mysql库找不到
小白创业做电商,选对商城系统很重要!
IPETRONIK数据采集设备携手Softing Q-Vision软件致力于ADAS测试方案
FineReport安装教程