Pi 5(Bookworm OS) compatibility with Arducam camera

I have a 12MP IMX708 102 Degree Arducam (B0309) and my Pi 5 doesn’t boot at all when it’s connected. The light stays red, and there’s no boot graphic on the hdmi screen.

It works fine on a Pi 4.

I’ve tried this https://www.amazon.com/gp/product/B01LY05LOE/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 camera on the the Pi 5, and it works with no problems.

I’m using the official Pi 5 27W power supply. I’m using this cable https://www.amazon.com/dp/B09R977LKN?psc=1&ref=ppx_yo2ov_dt_b_product_details, and tried swapping it out.

Is my camera not supported yet, or am I doing something wrong?

Hi,
We now have an experimental version that allows camera-mux+ov5647z to work on the pi5 by replacing the kernel driver, but other cameras will not work properly, so if you just have the ov5647 model, then maybe this is acceptable!

1 Like

Hi
The cable is not correct. I suggest that you can try this cable:
https://www.amazon.com/Arducam-Raspberry-Camera-Interface-Flexible/dp/B0CFPMD1DM?ref_=ast_sto_dp

1 Like

That works, thank you!

Where can I find the correct tuning file (imx708.json) for the Pi 5?

If I try the file I used for the Pi 4, I get:

ERROR RPiAgc agc_channel.cpp:296 AgcMeteringMode: Incorrect number of weights
ERROR IPARPI ipa_base.cpp:146 Failed to load tuning data file imx708.json

1 Like

I’ve been trying to get my new camera working on an RPi5 with Bookworm. The camera is an IMX327 camera, #B0442. I have one of these cameras running on a Pi4 with Bullseye with no problems using “dtoverlay=IMX290” in config.txt.
For the Pi5, I’ve tried both “dtoverlay=IMX327” and “dtoverlay=IMX290” In both cases, I get “ERROR; *** no cameras available ***” when trying to get a picture with libcamera-still and in python using picam2. My old Pi V1 cameras work fine on the Pi5. I assumed that it was supported in on the Pi5 when Arducam support answered an email about what cable I needed for this camera on a Pi5…
Any suggestions?

I’m not sure that this is the proper place for this question so I am moving it to a new thread for the IMX327 camera.

1 Like

Hi,
I don’t think that the camera you are using need extra tuning file. Have you tried the command “libcamera-still -t 0” to preview the camera? You can find the path where the imx708.json places.

1 Like

I’d like to use a tuning file to force the camera to spot meter against a specific part of the screen.

You can find the path where the imx708.json places.

How can I find that?

1 Like

Hi,
You can find the offical tuning file for imx708 on this path:

/usr/share/libcamera/ipa/rpi/pisp/imx708.json
2 Likes

Hi,

is the ov2311 camera module from Arducam (B0381, uctronics) compatible with Pi5 and Bookworm? Libcamera gives me:

ERROR: *** selected camera is not available ***

Here are some commands showing my configuration:

user@pi5:~ $ libcamera-hello -t 0 --camera 1
[0:02:33.860918265] [2660]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0+146-cff216fa-dirty (2023-12-05T10:19:54+00:00)
[0:02:33.880463591] [2663]  INFO RPI pisp.cpp:653 libpisp version v1.0.2 fa44a258644a 22-11-2023 (21:59:22)
[0:02:33.894093329] [2663] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'imx290.json' not found for IPA module 'rpi/pisp'
[0:02:33.894349912] [2663]  WARN RPiController controller.cpp:106 Failed to open tuning file ''
[0:02:33.894372374] [2663] ERROR IPARPI ipa_base.cpp:160 Failed to load tuning data file 
[0:02:33.894389225] [2663] ERROR RPI pipeline_base.cpp:823 Failed to load a suitable IPA library
[0:02:33.894403188] [2663] ERROR RPI pisp.cpp:881 Failed to register camera imx290 6-001a: -22
[0:02:33.894578033] [2663]  INFO RPI pisp.cpp:653 libpisp version v1.0.2 fa44a258644a 22-11-2023 (21:59:22)
[0:02:33.908656050] [2663]  WARN CameraSensorProperties camera_sensor_properties.cpp:265 No static properties available for 'arducam-pivariety'
[0:02:33.908723418] [2663]  WARN CameraSensorProperties camera_sensor_properties.cpp:267 Please consider updating the camera sensor properties database
[0:02:33.909644845] [2663] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'arducam-pivariety_mono.json' not found for IPA module 'rpi/pisp'
[0:02:34.305609327] [2663]  INFO RPI pisp.cpp:1113 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/arducam_pivariety@c to CFE device /dev/media1 and ISP device /dev/media4 using PiSP variant BCM2712_C0
Made X/EGL preview window
ERROR: *** selected camera is not available ***


user@pi5:~ $ dmesg | grep 'ov2311'


user@pi5:~ $ dmesg | grep 'arducam'
[    3.940144] rp1-cfe 1f00128000.csi: found subdevice /axi/pcie@120000/rp1/i2c@80000/arducam_pivariety@c
[    3.940228] arducam-pivariety 4-000c: firmware version: 0x10002
[    4.295657] rp1-cfe 1f00128000.csi: Using sensor arducam-pivariety 4-000c for capture


user@pi5:~ $ ls /dev/video*
/dev/video0  /dev/video10  /dev/video12  /dev/video14  /dev/video19  /dev/video20  /dev/video22  /dev/video24  /dev/video26  /dev/video28  /dev/video3   /dev/video31  /dev/video33  /dev/video35  /dev/video37  /dev/video5  /dev/video7  /dev/video9
/dev/video1  /dev/video11  /dev/video13  /dev/video15  /dev/video2   /dev/video21  /dev/video23  /dev/video25  /dev/video27  /dev/video29  /dev/video30  /dev/video32  /dev/video34  /dev/video36  /dev/video4   /dev/video6  /dev/video8


user@pi5:~ $ uname -a
Linux pi5 6.1.0-rpi7-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux


user@pi5:~ $ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"


user@pi5:~ $ cat /boot/config.txt 
# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Additional overlays and parameters are documented
# /boot/firmware/overlays/README

# Automatically load overlays for detected cameras
camera_auto_detect=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Automatically load initramfs files, if found
auto_initramfs=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
dtoverlay=arducam-pivariety,cam1
max_framebuffers=2

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Run in 64-bit mode
arm_64bit=1

# Disable compensation for displays with overscan
disable_overscan=1

# Run as fast as firmware / board allows
arm_boost=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[all]

Thanks

Hi,
Please create a new thread for your problem. Too many repies will prevent others from seeing updates.

This problem can now be followed here:

1 Like

Hi Dion, ideally we have been trying to to get the Arducam camera-mux-4port multi camera board v2.2 on Pi5 to work with different Arducam cameras, i.e. ov5647, imx708, arducam-64mp, ov9281, ToF, so we can cycle thru each of cameras for different needs under different circumstances. Can you help getting it to work?

Meanwhile, can you provide the experimental version an instructions that allows camera-mux+ov5647s to work on the pi5 by replacing the kernel driver? Thanks.

Hi,
As I said before, the tof camera is not compatible with the camera-mux-4port multi camera board v2.2. Besides, please check the file below which will solve the problem about compatibility between ov5647 and multi camera board on Pi 5.

Is Arducam IMX462 compatible with new Raspberry Pi 5 ?

Hey, you seem very experienced with Pis and cameras. I’m trying to make a motion security camera with my pi 5 and arducam 64 mp hawkeye. I have the camera working using libcamera commands. Any chance I can dm you somewhere or email you? Please let me know, thanks.

Hi,
What exact camera module you want to use? Can you attach the product page?

I think you only have one camera with the IMX462, but I am talking about this one :

Which wire should I use ?

Thanks

Hi,
If you want to use this camera module on Pi 5, you should choose this cable:

And you can follow the link below to configure your Pi to access the camera:
https://docs.arducam.com/Raspberry-Pi-Camera/Pivariety-Camera/Quick-Start-Guide/#pivariety-cameras

Thanks a lot Dion, so it means that except the wire if I put a sd card with bullseyes already installed and configured with a previous arducam IMX462 it will directly works ?