Linbian Usage Guide
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