Difference between revisions of "GX Camera on Radxa Boards"

From wiki_veye
Jump to navigation Jump to search
(Created page with "查看中文 ===Overview=== The MV series and RAW series cameras are cameras designed for AI applications in the industrial field. They use t...")
 
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[MV Camera on Radxa Boards/zh|查看中文]]
+
[[GX Camera on Radxa Boards/zh|查看中文]]
  
 
===Overview===
 
===Overview===
The MV series and RAW series cameras are cameras designed for AI applications in the industrial field. They use the MIPI CSI-2 interface and are particularly suitable for use with embedded computing platforms. They have rich data formats and triggering features, extremely low latency, high bandwidth, and reliable stability.
+
The GX series cameras are cameras designed for AI applications in the industrial field. They use the MIPI CSI-2 interface and are particularly suitable for use with embedded computing platforms. They have rich data formats and triggering features, extremely low latency, high bandwidth, and reliable stability.
  
This article takes Radxa's ZERO 3W/3E board as an example to introduce how to connect MV and RAW series cameras to the RK3566/3K3568 system.
+
This article takes Radxa's ZERO 3W/3E board as an example to introduce how to connect GX series cameras to the RK3566/3K3568 system.
  
 
We provide drivers for the Linux operating system (using Radxa OS Debainas an example).
 
We provide drivers for the Linux operating system (using Radxa OS Debainas an example).
Line 13: Line 13:
 
!Status
 
!Status
 
|-
 
|-
|MV series
+
|GX series
|MV-MIPI-IMX178M
+
|GX-MIPI-IMX662
|Done
 
|-
 
|MV series
 
|MV-MIPI-SC130M
 
|Done
 
|-
 
|MV series
 
|MV-MIPI-IMX296M
 
|Done
 
|-
 
|MV series
 
|MV-MIPI-IMX287M
 
|Done
 
|-
 
|MV series
 
|MV-MIPI-IMX265M
 
|Done
 
|-
 
|MV series
 
|MV-MIPI-IMX264M
 
|Done
 
|-
 
|RAW series
 
|RAW-MIPI-SC132M
 
|Done
 
|-
 
|RAW series
 
|RAW-MIPI-IMX462M
 
|Done
 
|-
 
|RAW series
 
|RAW-MIPI-AR0234M
 
|Done
 
|-
 
|RAW series
 
|RAW-MIPI-SC535M
 
 
|Done
 
|Done
 
|}
 
|}
 
===Hardware Setup===
 
===Hardware Setup===
====Connection of MV series camera and Radxa ZERO 3W/3E====
+
====Connection of  other GX series camera and Radxa ZERO 3W/3E====
The MV series cameras require the ADP-MV1 adapter board in order to connect to the Radxa ZERO 3W/3E board.
+
The two are connected using 0.5 mm pitch*22pin FFC cable with opposite-side contacts. The cable must be inserted with the silver contacts facing outside.
 
+
[[File:Gx to radxa resize.png|center|thumb|800x800px|Radxa Zero 3W/3E connect to GX series camera]]
The ADP-MV1 and Zero 3W/3E are connected to each other using a 15 to 22P FFC cable, taking care that the silver  contacts are facing outwards.
+
<br />
{| class="wikitable"
 
!TOP
 
!BOTTOM
 
|-
 
|[[File:Radxa Zero 3W connect to MV camera.jpg|link=https://wiki.veye.cc/index.php/File:Radxa%20Zero%203W%20connect%20to%20MV%20camera.jpg|alt=|center|thumb|600x600px|Radxa Zero 3W/3E connect to MV camera]]
 
|[[File:Radxa Zero 3W connect to MV camera 2.jpg|link=https://wiki.veye.cc/index.php/File:Radxa%20Zero%203W%20connect%20to%20MV%20camera%202.jpg|alt=|center|thumb|600x600px|Radxa Zero 3W/3E connect to MV camera 2]]
 
|}
 
=====Connection of RAW-MIPI-SC132M and ADP-MV2=====
 
The two are connected to each other using a 15 to 22P FFC cable, taking care that the silver  contacts are facing outwards.
 
{| class="wikitable"
 
!TOP
 
!BOTTOM
 
|-
 
|[[File:Radxa Zero 3W connect to RAW-MIPI-SC132M.jpg|link=https://wiki.veye.cc/index.php/File:Radxa%20Zero%203W%20connect%20to%20RAW-MIPI-SC132M.jpg|alt=|center|thumb|600x600px|Radxa Zero 3W/3E connect to RAW-MIPI-SC132M]]
 
|[[File:Radxa Zero 3W connect to RAW-MIPI-SC132M 2.jpg|link=https://wiki.veye.cc/index.php/File:Radxa%20Zero%203W%20connect%20to%20RAW-MIPI-SC132M%202.jpg|alt=|center|thumb|600x600px|Radxa Zero 3W/3E connect to RAW-MIPI-SC132M 2]]
 
|}
 
====Connection of  other RAW series camera and Radxa ZERO 3W/3E====
 
The two are connected using 0.5 mm pitch*pin FFC cable with opposite-side contacts. The cable must be inserted with the silver contacts facing outside.
 
{| class="wikitable"
 
!TOP
 
!BOTTOM
 
|-
 
|[[File:Radxa Zero 3W connect to RAW series camera.jpg|link=https://wiki.veye.cc/index.php/File:Radxa%20Zero%203W%20connect%20to%20RAW%20series%20camera.jpg|alt=|center|thumb|600x600px|Radxa Zero 3W/3E connect to RAW series camera]]
 
|[[File:Radxa Zero 3W connect to RAW series camera 2.jpg|link=https://wiki.veye.cc/index.php/File:Radxa%20Zero%203W%20connect%20to%20RAW%20series%20camera%202.jpg|alt=ADP-MV2 to RAW series camera No.2|center|thumb|600x600px|Radxa Zero 3W/3E connect to RAW series camera 2]]
 
|}
 
 
===Introduction to github repositories===
 
===Introduction to github repositories===
https://github.com/veyeimaging/rk35xx_veye_bsp
 
  
 
https://github.com/veyeimaging/rk35xx_radxa
 
https://github.com/veyeimaging/rk35xx_radxa
Line 94: Line 32:
 
*application demo
 
*application demo
  
In addition, a compiled linux kernel installation package and Android image is provided in the [https://github.com/veyeimaging/rk356x_radxa/releases releases].
+
In addition, a compiled linux kernel installation package and Android image is provided in the [https://github.com/veyeimaging/rk35xx_radxa/releases releases].
 +
 
 
===Upgrade Radxa Debain system===
 
===Upgrade Radxa Debain system===
 
====Overview====
 
====Overview====
Line 109: Line 48:
 
On the RK35xx board,
 
On the RK35xx board,
  
Download the latest rk356x_radxa_zero3w.tar.gz or rk356x_radxa_zero3e.tar.gz from https://github.com/veyeimaging/rk35xx_radxa/releases/ .
+
Download the latest rk356x_radxa_zero3w_gxmcam.tar.gz from [https://github.com/veyeimaging/rk35xx_radxa/releases/ releases].
  
<code>tar -xavf rk356x_radxa_zero3w.tar.gz</code>
+
<code>tar -xavf rk356x_radxa_zero3w_gxmcam.tar.gz</code>
  
<code>cd rk356x_radxa_zero3w/released_images/mvcam</code>
+
<code>cd rk356x_radxa_zero3w_gxmcam</code>
  
<code>sudo dpkg -i linux-headers-5.10.160-36-rk356x_5.10.160-36_arm64_mvcam.deb</code>
+
<code>sudo dpkg -i linux-headers-5.10.160-39-rk356x_5.10.160-39_arm64-gxcam.deb</code>
  
<code>sudo dpkg -i linux-image-5.10.160-36-rk356x_5.10.160-36_arm64_mvcam.deb</code>
+
<code>sudo dpkg -i linux-image-5.10.160-39-rk356x_5.10.160-39_arm64-gxcam.deb</code>
  
 
<code>sudo reboot</code>
 
<code>sudo reboot</code>
  
 
If the version does not match, it needs to be compiled from the source code.
 
If the version does not match, it needs to be compiled from the source code.
 +
 
===Check system status===
 
===Check system status===
 
====Whether the camera is correctly recognized====
 
====Whether the camera is correctly recognized====
Line 128: Line 68:
 
Execute the following command on the main board to check if the camera is properly connected.
 
Execute the following command on the main board to check if the camera is properly connected.
  
<code>dmesg | grep mvcam</code>
+
<code>dmesg | grep gxcam</code>
  
 
You can see the camera model and the camera version number probed.
 
You can see the camera model and the camera version number probed.
  
A prompt as below indicates that the MV-MIPI-IMX296M camera is detected on the i2c-2 bus.
+
A prompt as below indicates that the GX-MIPI-IMX662 camera is detected on the i2c-2 bus.
  
<code>mvcam 2-003b: camera is:MV-MIPI-IMX296M</code>
+
<code>gxcam 2-003b: camera is:GX-MIPI-IMX662</code>
  
<code>mvcam 2-003b: firmware version: 0x1290133</code>
+
<code>gxcam 2-003b: firmware version: 0x1290133</code>
  
 
For Radxa Zero 3W/3E, the camera is connected to i2c-2.
 
For Radxa Zero 3W/3E, the camera is connected to i2c-2.
Line 151: Line 91:
  
 
===Camera Application Development Guide===
 
===Camera Application Development Guide===
[[MV Camera Application Development Guide on Rochchip|Application Development Guide]]
+
[[GX Camera Application Development Guide|Application Development Guide]]
  
 
===Compile drivers and dtb from source code===
 
===Compile drivers and dtb from source code===
Line 158: Line 98:
  
 
https://github.com/veyeimaging/rk35xx_radxa/tree/main/linux/drivers/rk356x
 
https://github.com/veyeimaging/rk35xx_radxa/tree/main/linux/drivers/rk356x
===i2c script for parameter configuration===
 
Because of the high degree of freedom of our camera parameters, we do not use V4L2 parameters to control, but use scripts to configure parameters.
 
 
https://github.com/veyeimaging/rk35xx_radxa/tree/main/i2c_cmd
 
 
using -b option to identify which bus you want to use.
 
 
*VEYE series
 
 
Video Control Toolkits Manual :[[VEYE-MIPI-290/327 i2c/|VEYE-MIPI-327 I2C]]
 
 
===References===
 
===References===
  

Latest revision as of 14:42, 23 January 2026

查看中文

1 Overview

The GX series cameras are cameras designed for AI applications in the industrial field. They use the MIPI CSI-2 interface and are particularly suitable for use with embedded computing platforms. They have rich data formats and triggering features, extremely low latency, high bandwidth, and reliable stability.

This article takes Radxa's ZERO 3W/3E board as an example to introduce how to connect GX series cameras to the RK3566/3K3568 system.

We provide drivers for the Linux operating system (using Radxa OS Debainas an example).

1.1 Camera Module List

Series Model Status
GX series GX-MIPI-IMX662 Done

2 Hardware Setup

2.1 Connection of other GX series camera and Radxa ZERO 3W/3E

The two are connected using 0.5 mm pitch*22pin FFC cable with opposite-side contacts. The cable must be inserted with the silver contacts facing outside.

Radxa Zero 3W/3E connect to GX series camera


3 Introduction to github repositories

https://github.com/veyeimaging/rk35xx_radxa

includes:

  • driver source code
  • i2c toolkits
  • application demo

In addition, a compiled linux kernel installation package and Android image is provided in the releases.

4 Upgrade Radxa Debain system

4.1 Overview

This section describes how to update the RK35xx system to support our camera modules.

We provide a deb installation package that can be installed directly.

4.2 Burn Radxa standard system

Refer to the Radxa documentation to burn in a standard system.

The installation package we are currently releasing is based on this image version.

4.3 Using prebuilt Image and dtb file

Using the compiled debain installation package

On the RK35xx board,

Download the latest rk356x_radxa_zero3w_gxmcam.tar.gz from releases.

tar -xavf rk356x_radxa_zero3w_gxmcam.tar.gz

cd rk356x_radxa_zero3w_gxmcam

sudo dpkg -i linux-headers-5.10.160-39-rk356x_5.10.160-39_arm64-gxcam.deb

sudo dpkg -i linux-image-5.10.160-39-rk356x_5.10.160-39_arm64-gxcam.deb

sudo reboot

If the version does not match, it needs to be compiled from the source code.

5 Check system status

5.1 Whether the camera is correctly recognized

After system update, reboot the main board.

Execute the following command on the main board to check if the camera is properly connected.

dmesg | grep gxcam

You can see the camera model and the camera version number probed.

A prompt as below indicates that the GX-MIPI-IMX662 camera is detected on the i2c-2 bus.

gxcam 2-003b: camera is:GX-MIPI-IMX662

gxcam 2-003b: firmware version: 0x1290133

For Radxa Zero 3W/3E, the camera is connected to i2c-2.

  • Check the video0 device node:

ls /dev/video0

You should see:

video0

After successfully identifying the camera, the camera will be recognized as /dev/video0.

6 Camera Application Development Guide

Application Development Guide

7 Compile drivers and dtb from source code

  • RK356x

https://github.com/veyeimaging/rk35xx_radxa/tree/main/linux/drivers/rk356x

8 References

  • Radxa Zero 3W/3E Manual

https://docs.radxa.com/zero/zero3

  • BSP toolkit

https://radxa-repo.github.io/bsp/

9 Document History

  • 2025-12-29

Release 1st version.