Difference between revisions of "Linbian Usage Guide"
(→Camera Module) |
(→Camera Module) |
||
Line 18: | Line 18: | ||
== Camera Module == | == Camera Module == | ||
− | + | '''Sys_config.fex config''' | |
− | |||
See the 13 chapter page 37 to page 52 [http://files.lindeni.org/lindenis-v5/documents/guide/sys_config.fex%E4%BD%BF%E7%94%A8%E9%85%8D%E7%BD%AE%E8%AF%B4%E6%98%8E.pdf sys_config guide] | See the 13 chapter page 37 to page 52 [http://files.lindeni.org/lindenis-v5/documents/guide/sys_config.fex%E4%BD%BF%E7%94%A8%E9%85%8D%E7%BD%AE%E8%AF%B4%E6%98%8E.pdf sys_config guide] | ||
− | + | '''Kernel menuconfig''' | |
− | |||
Device Drivers ---> | Device Drivers ---> | ||
Line 40: | Line 38: | ||
if you want to support a new sensor, you can add the driver code in this path, and modify the Makefile and Kconfig like imx317. Of course you should config the sys_config.fex first. | if you want to support a new sensor, you can add the driver code in this path, and modify the Makefile and Kconfig like imx317. Of course you should config the sys_config.fex first. | ||
− | + | '''Insmod the sensor module''' | |
− | |||
1.cp the driver ko to debian/target/lib/modules/4.4.55+/ | 1.cp the driver ko to debian/target/lib/modules/4.4.55+/ | ||
Line 51: | Line 48: | ||
3.build the sdk | 3.build the sdk | ||
+ | '''User Interfaces''' | ||
− | |||
1.Use the MPP interfaces. see the [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf MPP Interface Usage] page 20-53, | 1.Use the MPP interfaces. see the [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf MPP Interface Usage] page 20-53, | ||
Revision as of 08:35, 24 October 2018
Contents
Terminal
MPP
Allwinner official documents
- MPP Application Development Reference Manual, Chinese version.
- ISP Module User Guide, Chinese version, English version.
- EVE Application Development Reference Manual, Chinese version, English version.
- Human Counting Application Development Reference Manual, Chinese version
- Motion Detection Application Development Reference Manual, Chinese version
- Binocular depth of field (DOF) Application Development Reference Manual, Chinese version
Samples
Please refer to Demo programs.
Camera Module
Sys_config.fex config
See the 13 chapter page 37 to page 52 sys_config guide
Kernel menuconfig
Device Drivers ---> <*> Multimedia support ---> [*] V4L platform devices ---> [*] imx317 platform select ---> --- imx317 platform select [*] select IPC platform config otherwise SDV platform <M> imx317_mipi sensor driver
the imx317 sensor driver code
kernel/drivers/media/platform/sunxi-vin/modules/sensor/imx317_mipi.c
if you want to support a new sensor, you can add the driver code in this path, and modify the Makefile and Kconfig like imx317. Of course you should config the sys_config.fex first.
Insmod the sensor module
1.cp the driver ko to debian/target/lib/modules/4.4.55+/
2.replace the imx317_mipi with the new sensor ko's name in this file
device/eagle/rootfs/etc/modules-load.d/mpp.conf
3.build the sdk
User Interfaces
1.Use the MPP interfaces. see the MPP Interface Usage page 20-53,
The demo code is here sample_virvi2vo
2.Use the /dev/videoX directly, you can see the demo in Camera Driver Guide