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

CameraStatusSensor name for overlays.conf
Camera Module v1 (OV5647)Testedov5647
Camera Module v2 (IMX219)Testedimx219
Camera Module 3 and Arducam B031 (IMX708)Testedimx708
HQ Camera (IMX477)Testedimx477
Arducam IMX519 (16MP, B0371)Testedimx519
Arducam IMX415 (8MP, B0569)Testedimx415 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 nameCamera ports
Orange Pi 5orangepi-5port1, port2, port3
Orange Pi 5Borangepi-5bport1, port2, port3
Orange Pi 5 Plusorangepi-5-plusport1
Orange Pi 5 Proorangepi-5-proport1, port2
Orange Pi 5 Maxorangepi-5-maxport0, port1, port2
Radxa ROCK 5Arock-5aport0
Radxa ROCK 5Brock-5bport0
Radxa ROCK 5B+rock-5b-plusport0, port1
Radxa ROCK 5Crock-5cport0
Radxa ROCK 5 ITXrock-5-itxport0, 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. isp0 or isp1 picks 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 needs link-frequency=364000000.
  • link-frequency=<Hz> — sensor and CSI link frequency, for faster modes. For example imx708,port0,link-frequency=447000000. The OV5647’s 640×480 mode needs link-frequency=145833300 to match it.
  • addr=<0x..> — sensor I2C address, when it isn’t the default. Raspberry Pi style IMX415 modules such as the Arducam B0569 use addr=0x37.
  • rotation=<degrees> and orientation=<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 with isp0/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 #NameTypeDescriptionVoltage Level
1GNDGroundPower Ground
2CAM_D0-OutputPixel Data Lane0 Negative
3CAM_D0+OutputPixel Data Lane0 Positive
4GNDGroundPower Ground
5CAM_D1-OutputPixel Data Lane1 Negative
6CAM_D1+OutputPixel Data Lane1 Positive
7GNDGroundPower Ground
8CAM_CLK-OutputPixel Clock Output From Sensor Negative
9CAM_CLK+OutputPixel Clock Output From Sensor Positive
10GNDGroundPower Ground
11CAM_D2-OutputPixel Data Lane2 Negative
12CAM_D2+OutputPixel Data Lane2 Positive
13GNDGroundPower Ground
14CAM_D3-OutputPixel Data Lane3 Negative
15CAM_D3+OutputPixel Data Lane3 Positive
16GNDGroundPower Ground
17POWER_ENInputPower Enable/Reset3.3V
18LEDI/OLED Enable/XCLK3.3V
19GNDGroundPower Ground
20CAM_SCLInputSCCB serial interface clock input3.3V
21CAM_SDAI/OSCCB serial interface data I/O3.3V
223.3VPower3.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.