Genio 510/700-EVK

Important

All the bash commands shown here are based on Genio 700-EVK. For Genio 510-EVK, users can follow the same step to do the whole setup with changing the naming term from 700 to 510.

The end user can operate the camera through the V4L2 devices exposed. For the usage, please check the following sections.

MediaTek Imagsensor Architecture

The following figure shows the MediaTek Imgsensor architecture with the camera ISP and both RAW and YUV sensor.

../../../../_images/sw_yocto_app-dev_raw_camera_arch.svg

MediaTek Imgsensor - RAW sensor

../../../../_images/sw_yocto_app-dev_yuv_camera_arch.svg

MediaTek Imgsensor - YUV sensor

The Camera ISP feature includes 4 major components:

Camera ISP Feature Components

Item

Description

Repo Path

Sensor OOT Driver

The sensor drivers under MediaTek proprietary imgsensor framework. It’s maintained in the out-of-tree repository.

mtk-camisp-driver/drivers/misc/mediatek/imgsensor

Camera ISP OOT Driver

The drivers, camsys and imgsys, for MediaTek proprietary camera ISP hardware. It’s maintained in the out-of-tree repository.

mtk-camisp-driver/drivers/media/platform/mtk-isp

Camera ISP Middleware

The binary-released userspace library controlling the whole ISP devices, managing buffers and streams, and exporting MediaTek proprietary user interface.

mtk-camisp-prebuilts (Require NDA)

V4L2 Adapter

The V4L2 Adapter contains the binary-released userspace executable and source-released kernel driver.

The executable, camd, is a service daemon. It uses the middleware library to control the camera and transfers image buffers to the adapter driver.

The driver, mtk-camera, provides the V4L2 interface which can be used by OSS tools, such as v4l2-utils, GStreamer, OpenCV, etc.

mtk-camisp-prebuilts (Require NDA)

mtk-camisp-driver/drivers/media/platform/mtk-camera

V4L2 Sensor Architecture

The following figure shows the standard V4L2 sensor architecture with the YUV sensor. The sensor driver and the camsys driver follow the V4L2 framework. The user can access the video device node created by the camsys driver to get the pipeline stream on.

../../../../_images/sw_yocto_app-dev_v4l2_yuv_camera_arch.svg

V4L2 Sensor - YUV sensor

Camera Pin Definition

The following tables show the pins used for camera (CSI socket) on Genio 510/700-EVK.

Pin definitions of CSI0 socket on Genio 510/700-EVK

CSI0

Pin #

Function

GPIO #

Pin #

Function

GPIO #

B1

GND

A1

GND

B2

CSI0B_L2N_T1C

A2

SCL6

67

B3

CSI0B_L2P_T1B

A3

SDA6

68

B4

CSI0B_L1N_T1A

A4

CAM0_AVDD_EN

80

B5

CSI0B_L1P_T0C

A5

CAM1_DVDD_EN

82

B6

CSI0B_L0N_T0B

A6

CAM1_AVDD_EN

81

B7

CSI0B_L0P_T0A

A7

CAM0_DVDD_EN

79

B8

GND

A8

CMMRST0

19

B9

CSI0A_L2N_T1C

A9

GND

B10

CSI0A_L2P_T1B

A10

CMMCLK0

22

B11

CSI0A_L1N_T1A

A11

GND

B12

CSI0A_L1P_T0C

A12

CMMPDN0

18

B13

CSI0A_L0N_T0B

A13

N/C

B14

CSI0A_L0P_T0A

A14

N/C

B15

GND

A15

N/C

B16

SCL5

65

A16

N/C

B17

SDA5

66

A17

VDD_3.3V

EN(91)

B18

VDD_5V

A18

VDD_3.3V

EN(91)

Pin definitions of CSI1 socket on Genio 510/700-EVK

CSI1

Pin #

Function

GPIO #

Pin #

Function

GPIO #

B1

GND

A1

GND

B2

N/C

A2

N/C

B3

N/C

A3

N/C

B4

CSI1B_L1N_T1A

A4

CAM0_AVDD_EN

80

B5

CSI1B_L1P_T0C

A5

CAM1_DVDD_EN

82

B6

CSI1B_L0N_T0B

A6

CAM1_AVDD_EN

81

B7

CSI1B_L0P_T0A

A7

CAM0_DVDD_EN

79

B8

GND

A8

CMMRST1

21

B9

CSI1A_L2P_T1B

A9

GND

B10

CSI1A_L2N_T1C

A10

CMMCLK1

23

B11

CSI1A_L1N_T1A

A11

GND

B12

CSI1A_L1P_T0C

A12

CMMPDN1

20

B13

CSI1A_L0N_T0B

A13

N/C

B14

CSI1A_L0P_T0A

A14

N/C

B15

GND

A15

N/C

B16

SCL3

61

A16

N/C

B17

SDA3

62

A17

VDD_3.3V

EN(91)

B18

VDD_5V

A18

VDD_3.3V

EN(91)