Radxa Camera 8M 219
Radxa Dragon Q6A's onboard MIPI CSI interface can be used to connect the Radxa Camera 8M 219 for image capture.

Interface specifications
Camera interface
The Radxa Camera 8M 219 interface has the following specifications:
- Connector type: 15-pin 1.0 mm pitch SMD Horizontal FPC connector
- Connection type: Flip type, bottom contact
Board MIPI CSI interface
The Radxa Dragon Q6A MIPI CSI interface has the following specifications:
- Connector type: 15-pin 1.0 mm pitch SMD Horizontal FPC connector
- Connection type: Flip type, bottom contact
Camera FPC cable
Use a 15-Pin 1.0 mm pitch to 15-Pin 1.0mm pitch opposite sides FPC cable.
Hardware connection
Insert the 15-pin metal contacts of the FPC cable into the camera connector, and insert the 15-Pin metal contacts of the FPC cable into the board MIPI CSI connector.
- Make sure the edges of the FPC cable are aligned with the edges of the connector, with no skew and no exposed contacts.
- Ensure the cable has no creases, is not loose, and the connector latch is fully closed.
Software enablement
Use the Rsetup tool provided by the Radxa system to enable the Radxa Camera 8M 219.
- Select option: the corresponding option will be highlighted.
- Confirm selection: press
Enter. - Cancel selection: press
ESC. - Navigate options: use
Up,Down,Left, andRightkeys. - Multi-select screen: press
Spaceto toggle options, thenEnterto confirm. When a feature is enabled, a*appears in the corresponding option box.
Run the rsetup command in the terminal to start the Rsetup tool:
rsetup
In Rsetup, go to Overlays -> Manage overlays.
- Use the arrow keys to find the [ ] Enable Radxa Camera 8M 219 option.
- Press
Spaceso it changes to [*] Enable Radxa Camera 8M 219, indicating that the feature is enabled. - Press
Enterto confirm and save the settings to enable the camera. - Reboot the system to make the configuration take effect.
If the board has multiple MIPI CSI interfaces, Rsetup may show options such as [ ] Enable Radxa Camera 8M 219 on CAM *. Select the option corresponding to the MIPI CSI interface you are using.
Using the camera
Use GStreamer or the libcamera qcam tool to preview or record the camera image. Run the following preview commands in the system desktop terminal.
System update
Go to Rsetup -> System -> System Update to update the system.
Using GStreamer
Install dependencies
sudo apt install -y \
gstreamer1.0-tools \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad
Preview the camera
gst-launch-1.0 libcamerasrc ! video/x-raw,width=1920,height=1080,framerate=30/1 ! queue ! videoconvert ! queue ! autovideosink
Record video
Software encoding (x264enc) - 1080p:
gst-launch-1.0 -e libcamerasrc \
! videoconvert ! video/x-raw,format=I420,width=1920,height=1080,framerate=30/1 \
! x264enc bitrate=8000 speed-preset=fast \
! mp4mux ! filesink location=/tmp/camera-x264.mp4
Hardware encoding H264 (Venus) - 1080p:
gst-launch-1.0 -e libcamerasrc \
! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 \
! v4l2h264enc ! h264parse ! mp4mux \
! filesink location=/tmp/camera-h264.mp4
Hardware encoding H265 (Venus) - 1080p:
gst-launch-1.0 -e libcamerasrc \
! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 \
! v4l2h265enc ! h265parse ! mp4mux \
! filesink location=/tmp/camera-h265.mp4
Using libcamera
Install dependencies
sudo apt install -y libcamera-tools gstreamer1.0-libcamera libcamera-ipa
Preview the camera
qcam --stream pixelformat=YUYV,width=1920,height=1080
Troubleshooting
Check if the camera is recognized
Use the following command to check if the camera is recognized by the system:
sudo dmesg | grep imx
If the terminal outputs the following information, the camera is recognized properly:
[ 5.949209] imx219 18-0010: supply VANA not found, using dummy regulator
[ 5.951349] imx219 18-0010: supply VDIG not found, using dummy regulator
[ 5.951506] imx219 18-0010: supply VDDL not found, using dummy regulator
If the terminal outputs the following information, the camera is not recognized by the system, and you need to check if the camera cable is properly installed:
[ 5.949209] imx219 18-0010: supply VANA not found, using dummy regulator
[ 5.951349] imx219 18-0010: supply VDIG not found, using dummy regulator
[ 5.951506] imx219 18-0010: supply VDDL not found, using dummy regulator
[ 5.958515] imx219 18-0010: Error reading reg 0x0000: -6
[ 5.958522] imx219 18-0010: error -ENXIO: failed to read chip id 219