Difference between revisions of "GX Camera on Radxa Boards"

From wiki_veye
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 48: 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====

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.