当前位置:网站首页>全志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]
- 一种跳板机的实现思路
- VS2012 VC新建一个空白窗口应用
- 电脑无线网络不显示网络列表应该如何解决
- 专业英语历年题
- Which securities company is the best and safest? How to open an account is the safest
- Jerry's wif interferes with Bluetooth [chapter]
- Hundreds of lines of code to implement a JSON parser
- Jerry's wif interferes with Bluetooth [chapter]
- Here comes Wi Fi 7. How strong is it?
猜你喜欢
随机推荐
认识启动函数,找到用户入口
go template with... End traversal usage
Unity releases webgl and wakes up keyboard input on the mobile terminal inputfield
manjaro easyconnecy报错:libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Flink流处理API大合集:掌握所有flink流处理技术,看这一篇就够了
An idea plug-in that automatically generates unit tests, which improves the development efficiency by more than 70%!
Xiaobai's e-commerce business is very important to choose the right mall system!
华泰证券手机app下载 怎么办理开户最安全
ASP. NET CORE Study03
词云的可视化设计教程
[cloud native] can self-service reports and Bi do so many things?
专业英语历年题
From jsonpath and XPath to spl
基于SSM实现水果蔬菜商城管理系统
List集合转数组
JS class 并不只是简单的语法糖!
UDP RTP packet frame loss
电子元器件分销10亿俱乐部[通俗易懂]
ASP. NET CORE Study04
My NVIDIA developer tour -jetson nano 2GB teaches you how to train models (complete model training routines)






![BUUCTF:[WUSTCTF2020]朴实无华](/img/0f/a7973d3f7593f2464e48609e27d7bd.png)


