Skip to content

Commit 085740a

Browse files
authored
Update MIPI camera driver installation
Added instructions for manually installing MIPI camera driver modules in the Tina SDK documentation.
1 parent 0dc4e91 commit 085740a

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

docs/V851S/part3/03-7_TinaSDK_SupportMIPICamera.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ sidebar_position: 7
33
---
44
# 支持MIPI摄像头
55

6+
67
使用Tina-SDK生成的镜像已经默认装载了GC2053的MIPI摄像头驱动,可以通过如下命令查看
78

89
```
@@ -19,7 +20,17 @@ xradio_wlan 598 0
1920
xradio_core 430533 1 xradio_wlan
2021
xradio_mac 221572 1 xradio_core
2122
```
22-
23+
假如系统没有自动安装摄像头驱动模块则需要手动安装摄像头驱动模块,注意,需要严格按照如下顺序进行安装。
24+
``` bash
25+
root@TinaLinux:/# cd /lib/modules/4.9.191
26+
root@TinaLinux:/lib/modules/4.9.191# insmod videobuf2-core.ko
27+
root@TinaLinux:/lib/modules/4.9.191# insmod videobuf2-memops.ko
28+
root@TinaLinux:/lib/modules/4.9.191# insmod videobuf2-dma-contig.ko
29+
root@TinaLinux:/lib/modules/4.9.191# insmod videobuf2-v4l2.ko
30+
root@TinaLinux:/lib/modules/4.9.191# insmod vin_io.ko
31+
root@TinaLinux:/lib/modules/4.9.191# insmod gc2053_mipi.ko
32+
root@TinaLinux:/lib/modules/4.9.191# insmod vin_v4l2.ko
33+
```
2334

2435

2536
**断电**后,如下图所示将GC2053的MIPI摄像头连接到开发板上。注意一定需要断电后才能连接,否则会将摄像头烧坏。

0 commit comments

Comments
 (0)