How to Use Raspberry Pi Cameras on Orange Pi 5 and Radxa ROCK 5 Boards
Buy the Orange Pi 5 Camera Adapter ($15) · Buy the Radxa Camera Adapter ($15)
This guide gets a Raspberry Pi camera running on an Orange Pi 5 or Radxa ROCK 5 board with a Tachyn Labs adapter and our Tachyn Labs Ubuntu image. The image already includes the camera drivers, overlays and libcamera, so you only flash it, pick your camera in one config file and reboot.
Before you start: connect the adapter
Connect the camera and adapter first. Each adapter has its own short connection guide covering the connector, cable orientation and which port name to use below:
Both adapters need a camera FPC that you supply: 22-pin to 22-pin, or 22-pin to 15-pin for 15-pin cameras (official Pi Camera v1, v2 and Camera Module 3). The box includes the Camera Adapter Board and the board-side FPC cable.
Supported cameras
| Camera | Status | Sensor name for overlays.conf |
|---|---|---|
| Camera Module v1 (OV5647) | Tested | ov5647 |
| Camera Module v2 (IMX219) | Tested | imx219 |
| Camera Module 3 and Arducam B031 (IMX708) | Tested | imx708 |
| HQ Camera (IMX477) | Tested | imx477 |
| Arducam IMX519 (16MP, B0371) | Tested | imx519 |
| Arducam IMX415 (8MP, B0569) | Tested | imx415 with addr=0x37 |
Maximum resolution and frame rate for each camera are on the Compatibility page.
Step 1: Download the image for your board
Go to Downloads and pick your board. Each board has a Desktop and a Server image, built on Ubuntu 26.10 (Stonking Stingray, kernel 7.3). Ubuntu 26.04 LTS (Resolute Raccoon) images are targeted for February 2027.
The files are named ubuntu-stonking-preinstalled-desktop-arm64-<board>.img.xz (or -server-):
| Board | <board> in the file name | Camera ports |
|---|---|---|
| Orange Pi 5 | orangepi-5 | port1, port2, port3 |
| Orange Pi 5B | orangepi-5b | port1, port2, port3 |
| Orange Pi 5 Plus | orangepi-5-plus | port1 |
| Orange Pi 5 Pro | orangepi-5-pro | port1, port2 |
| Orange Pi 5 Max | orangepi-5-max | port0, port1, port2 |
| Radxa ROCK 5A | rock-5a | port0 |
| Radxa ROCK 5B | rock-5b | port0 |
| Radxa ROCK 5B+ | rock-5b-plus | port0, port1 |
| Radxa ROCK 5C | rock-5c | port0 |
| Radxa ROCK 5 ITX | rock-5-itx | port0, port1 |
Coming soon: images for the ROCK 5T, ROCK 5 ITX+ and Dragon Q6A. Tachyn Labs Ubuntu image support for Cubie, Rock 4D, NIO and CM IO boards is coming later.
Each image has a SHA256 checksum next to its Download button. To check the download, compare the checksum shown by:
sha256sum ubuntu-stonking-preinstalled-desktop-arm64-orangepi-5.img.xz
with the one in the matching .sha256 file. Use your own file name.
Step 2: Flash the image and first boot
Write the image to a microSD card or eMMC with balenaEtcher, which reads the .img.xz file directly. On Linux you can use dd instead; replace /dev/sdX with your card, and double-check it, because everything on that device is overwritten:
xzcat ubuntu-stonking-preinstalled-desktop-arm64-orangepi-5.img.xz | sudo dd of=/dev/sdX bs=4M status=progress
Put the card in the board and boot it. There is no default login: like any fresh Ubuntu install, you create your user account on first boot, on both the Desktop and Server images. The root partition also grows to fill the card on first boot.
The camera packages (rk3588-camera-dkms, rk3588-camera-overlays and libcamera0.8) are already installed. No camera is enabled until you pick one in Step 3.
Step 3: Enable the camera
Cameras are set in /etc/rk3588-camera/overlays.conf with one line, RK3588_CAMERA_OVERLAYS: the sensor name, then the port it is plugged into. The port number is the CAM number printed next to the connector on the board (see the table in Step 1). For example, a Camera Module 3 (IMX708) on CAM1:
sudo sed -i 's/^RK3588_CAMERA_OVERLAYS=.*/RK3588_CAMERA_OVERLAYS="imx708,port1"/' \
/etc/rk3588-camera/overlays.conf
sudo /usr/lib/rk3588-camera/apply-overlays.sh
sudo reboot
You can also open /etc/rk3588-camera/overlays.conf in a text editor and change the line yourself, then run apply-overlays.sh and reboot as above.
Examples
RK3588_CAMERA_OVERLAYS="imx708,port0" RK3588_CAMERA_OVERLAYS="imx219,port1" RK3588_CAMERA_OVERLAYS="imx415,port0,addr=0x37" RK3588_CAMERA_OVERLAYS="imx708,port1 imx708,port2"
Options
Options go after the port, separated by commas:
portN— required. Which connector (the CAM number).- Two cameras — separate them with a space. The first camera uses ISP 0 and the second uses ISP 1.
isp0orisp1picks one yourself; two cameras can’t share an ISP. 4lane— four CSI data lanes instead of two, for four-lane modules. The IMX219 on four lanes also needslink-frequency=364000000.link-frequency=<Hz>— sensor and CSI link frequency, for faster modes. For exampleimx708,port0,link-frequency=447000000. The OV5647’s 640×480 mode needslink-frequency=145833300to match it.addr=<0x..>— sensor I2C address, when it isn’t the default. Raspberry Pi style IMX415 modules such as the Arducam B0569 useaddr=0x37.rotation=<degrees>andorientation=<0|1|2>(0 front, 1 rear, 2 external, the default).unite— one camera uses both ISPs, for streams too big for one. It can’t be combined with a second camera or withisp0/isp1, and it runs at the sensor’s full size only, with no scaling.
IMX415 at about 94 fps (advanced): the 3864×2192 at about 94 fps mode uses unite. On a 24 MHz module such as the Arducam B0569 this is outside Sony’s data sheet, so the driver needs an opt-in:
RK3588_CAMERA_OVERLAYS="imx415,port0,addr=0x37,link-frequency=1188000000,unite"
Then add options imx415 allow_24mhz_2376=1 to /etc/modprobe.d/imx415.conf, run sudo /usr/lib/rk3588-camera/apply-overlays.sh and sudo update-initramfs -u, and reboot.
Changing or turning off cameras: overlays.conf is the full camera list. Edit it, run sudo /usr/lib/rk3588-camera/apply-overlays.sh again and reboot. To turn the cameras off, set RK3588_CAMERA_OVERLAYS="" and do the same.
Step 4: Reboot and test the camera
After the reboot, check that the image signal processor (ISP) is on. This should print okay:
cat /proc/device-tree/isp@fdcb0000/status
With unite, check cat /proc/device-tree/isp-unite@fdcb0000/status instead.
List the cameras libcamera can see:
cam --list
Capture a few frames from the first camera. This example uses the IMX708’s 2304×1296 mode:
cam -c1 -s role=viewfinder,width=2304,height=1296 --capture=30
To see which sizes your sensor offers, run cam -c1 -I. The image also includes libcamera’s GStreamer plugin and Python bindings for your own apps.
Step 5: Keep it up to date
The Tachyn Labs apt repository is already set up on our images, so the camera drivers, overlays and libcamera update with the rest of the system:
sudo apt update sudo apt upgrade
Running your own Ubuntu 26.10 install instead? See Install camera packages from apt on the Downloads page.
Camera not showing up? See Troubleshooting.
Camera connector pinout (both adapters)
The 22-pin camera connector is the same on the Orange Pi 5 and Radxa adapters, and matches the Raspberry Pi 22-pin camera connector pinout. Pin 1 is on the top-right of the adapter, pin 22 on the top-left. The adapter level-shifts I2C from the board’s 1.8V to the camera’s 3.3V.
| Pin # | Name | Type | Description | Voltage Level |
|---|---|---|---|---|
| 1 | GND | Ground | Power Ground | |
| 2 | CAM_D0- | Output | Pixel Data Lane0 Negative | |
| 3 | CAM_D0+ | Output | Pixel Data Lane0 Positive | |
| 4 | GND | Ground | Power Ground | |
| 5 | CAM_D1- | Output | Pixel Data Lane1 Negative | |
| 6 | CAM_D1+ | Output | Pixel Data Lane1 Positive | |
| 7 | GND | Ground | Power Ground | |
| 8 | CAM_CLK- | Output | Pixel Clock Output From Sensor Negative | |
| 9 | CAM_CLK+ | Output | Pixel Clock Output From Sensor Positive | |
| 10 | GND | Ground | Power Ground | |
| 11 | CAM_D2- | Output | Pixel Data Lane2 Negative | |
| 12 | CAM_D2+ | Output | Pixel Data Lane2 Positive | |
| 13 | GND | Ground | Power Ground | |
| 14 | CAM_D3- | Output | Pixel Data Lane3 Negative | |
| 15 | CAM_D3+ | Output | Pixel Data Lane3 Positive | |
| 16 | GND | Ground | Power Ground | |
| 17 | POWER_EN | Input | Power Enable/Reset | 3.3V |
| 18 | LED | I/O | LED Enable/XCLK | 3.3V |
| 19 | GND | Ground | Power Ground | |
| 20 | CAM_SCL | Input | SCCB serial interface clock input | 3.3V |
| 21 | CAM_SDA | I/O | SCCB serial interface data I/O | 3.3V |
| 22 | 3.3V | Power | 3.3V Power Supply |
Use at your own risk
This is a hobbyist and experimental setup. Always verify connections before powering on — a misaligned FPC cable can short power rails or data lanes.
Get the Orange Pi 5 Camera Adapter — $15 · Get the Radxa Camera Adapter — $15
For a quick sensor and connector decision, see the Orange Pi 5 camera options comparison before choosing a native module or Raspberry Pi camera adapter.
