Dear Community,
Since yesterday, I’ve had 4 x 64MP ArduCams with the MultiArray Hat UC-512. Unfortunately, I can’t get the cameras to work on a Raspberry PI5.
I started by performing a fresh installation of Bookworm. Then, following the instructions at:
It was basically following steps:
wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh
chmod +x install_pivariety_pkgs.sh
./install_pivariety_pkgs.sh -p libcamera_dev
./install_pivariety_pkgs.sh -p libcamera_apps
./install_pivariety_pkgs.sh -p 64mp_pi_hawk_eye_kernel_driver
My config.txt looks like this.
# 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=0
# 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,cma-512
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
[cm5]
dtoverlay=dwc2,dr_mode=host
[all]
dtoverlay=arducam-64mp,cam0
rpicam-still --list-cameras show one found camera. So far so good I guess:
user@raspberrypi:~ $ rpicam-still --list-cameras
Available cameras
-----------------
0 : arducam_64mp [9248x6944 10-bit RGGB] (/base/axi/pcie@1000120000/rp1/i2c@88000/arducam_64mp@1a)
Modes: 'SRGGB10_CSI2P' : 1280x720 [120.09 fps - (2064, 2032)/5120x2880 crop]
1920x1080 [60.04 fps - (784, 1312)/7680x4320 crop]
2312x1736 [30.00 fps - (0, 0)/9248x6944 crop]
3840x2160 [20.00 fps - (784, 1312)/7680x4320 crop]
4624x3472 [10.00 fps - (0, 0)/9248x6944 crop]
8000x6000 [3.00 fps - (624, 472)/9248x6944 crop]
9152x6944 [2.70 fps - (0, 0)/9248x6944 crop]
But when I try to capture an image I get following error:
user@raspberrypi:~ $ rpicam-still -o test.jpg --timeout 5000
[0:06:07.532915005] [852] INFO Camera camera_manager.cpp:330 libcamera v0.5.2+125-69c6546d-dirty (2025-09-12T07:28:55BST)
[0:06:07.544090634] [855] INFO RPI pisp.cpp:720 libpisp version v1.2.1 981977ff21f3 29-04-2025 (14:13:50)
[0:06:07.552517888] [855] INFO IPAProxy ipa_proxy.cpp:180 Using tuning file /usr/share/libcamera/ipa/rpi/pisp/arducam_64mp.json
[0:06:07.562947113] [855] INFO Camera camera_manager.cpp:220 Adding camera '/base/axi/pcie@1000120000/rp1/i2c@88000/arducam_64mp@1a' for pipeline handler rpi/pisp
[0:06:07.562991132] [855] INFO RPI pisp.cpp:1180 Registered camera /base/axi/pcie@1000120000/rp1/i2c@88000/arducam_64mp@1a to CFE device /dev/media2 and ISP device /dev/media0 using PiSP variant BCM2712_C0
WARNING: Capture will not make use of temporal denoise
Consider using the --zsl option for best results, for example:
rpicam-still --zsl -o test.jpg
Made DRM preview window
Preview window unavailable
Mode selection for 4624:3472:12:P
SRGGB10_CSI2P,1280x720/0 - Score: 13359.2
SRGGB10_CSI2P,1920x1080/0 - Score: 11359.2
SRGGB10_CSI2P,2312x1736/0 - Score: 9096
SRGGB10_CSI2P,3840x2160/0 - Score: 5359.24
SRGGB10_CSI2P,4624x3472/0 - Score: 1000
SRGGB10_CSI2P,8000x6000/0 - Score: 2476.58
SRGGB10_CSI2P,9152x6944/0 - Score: 3041.47
Stream configuration adjusted
[0:06:07.571927216] [852] INFO Camera camera.cpp:1215 configuring streams: (0) 4624x3472-YUV420/sYCC (1) 4624x3472-RGGB_PISP_COMP1/RAW
[0:06:07.572060901] [855] INFO RPI pisp.cpp:1484 Sensor: /base/axi/pcie@1000120000/rp1/i2c@88000/arducam_64mp@1a - Selected sensor format: 4624x3472-SRGGB10_1X10/RAW - Selected CFE format: 4624x3472-PC1R/RAW
[0:06:09.012697408] [855] WARN V4L2 v4l2_videodevice.cpp:2155 /dev/video4[14:cap]: Dequeue timer of 1000000.00us has expired!
[0:06:09.012767093] [855] ERROR RPI pipeline_base.cpp:1408 Camera frontend has timed out!
[0:06:09.012782185] [855] ERROR RPI pipeline_base.cpp:1409 Please check that your camera sensor connector is attached securely.
[0:06:09.012796556] [855] ERROR RPI pipeline_base.cpp:1410 Alternatively, try another cable and/or sensor.
ERROR: Device timeout detected, attempting a restart!!!
I tried around using some AI tool, but it seems not to work. I would really appreciate it if someone could help me.
AI wanted to take a look to the multiplexer of the UC-512 and to the Kernel messages, so I will share it to you, too:
user@raspberrypi:~ $ dmesg | grep -iE "arducam|csi|cfe|ov64|overlay"
[ 1.090358] /axi/pcie@1000120000/rp1/i2c@88000/arducam_64mp@1a: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@110000
[ 1.102175] /axi/pcie@1000120000/rp1/csi@110000: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/i2c@88000/arducam_64mp@1a
[ 1.114082] /axi/pcie@1000120000/rp1/i2c@88000/arducam_64mp@1a: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@110000
[ 1.125897] /axi/pcie@1000120000/rp1/csi@110000: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/i2c@88000/arducam_64mp@1a
[ 1.168367] SCSI subsystem initialized
[ 1.562391] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.729390] Loading iSCSI transport class v2.0-870.
[ 2.345405] /axi/pcie@1000120000/rp1/i2c@88000/arducam_64mp@1a: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@110000
[ 2.357531] /axi/pcie@1000120000/rp1/i2c@88000/arducam_64mp@1a: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@110000
[ 2.369336] /axi/pcie@1000120000/rp1/csi@110000: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/i2c@88000/arducam_64mp@1a
[ 2.879400] /axi/pcie@1000120000/rp1/csi@110000: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/i2c@88000/arducam_64mp@1a
[ 2.892916] /axi/pcie@1000120000/rp1/i2c@88000/arducam_64mp@1a: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@110000
[ 4.742444] rp1-cfe 1f00110000.csi: bcm2712_iommu_of_xlate: MMU 1000005280.iommu
[ 4.742451] rp1-cfe 1f00110000.csi: bcm2712_iommu_probe_device: MMU 1000005280.iommu
[ 4.742456] rp1-cfe 1f00110000.csi: bcm2712_iommu_device_group: MMU 1000005280.iommu
[ 4.742460] rp1-cfe 1f00110000.csi: Adding to iommu group 2
[ 4.742464] rp1-cfe 1f00110000.csi: bcm2712_iommu_attach_dev: MMU 1000005280.iommu
[ 4.750495] rp1-cfe 1f00110000.csi: DW dphy Host HW v1.20
[ 4.750525] rp1-cfe 1f00110000.csi: PiSP FE HW v0.1
[ 4.750728] rp1-cfe 1f00110000.csi: found subdevice /axi/pcie@1000120000/rp1/i2c@88000/arducam_64mp@1a
[ 4.808517] arducam_64mp 10-001a: Device found Arducam 64MP.
[ 4.828630] rp1-cfe 1f00110000.csi: Using sensor arducam_64mp 10-001a for capture
[ 4.829065] rp1-cfe 1f00110000.csi: Registered [rp1-cfe-csi2_ch0] node id 0 successfully as /dev/video0
[ 4.831504] rp1-cfe 1f00110000.csi: Registered [rp1-cfe-embedded] node id 1 successfully as /dev/video1
[ 4.831695] rp1-cfe 1f00110000.csi: Registered [rp1-cfe-csi2_ch2] node id 2 successfully as /dev/video2
[ 4.831750] rp1-cfe 1f00110000.csi: Registered [rp1-cfe-csi2_ch3] node id 3 successfully as /dev/video3
[ 4.840516] rp1-cfe 1f00110000.csi: Registered [rp1-cfe-fe_image0] node id 4 successfully as /dev/video4
[ 4.840560] rp1-cfe 1f00110000.csi: Registered [rp1-cfe-fe_image1] node id 5 successfully as /dev/video5
[ 4.840597] rp1-cfe 1f00110000.csi: Registered [rp1-cfe-fe_stats] node id 6 successfully as /dev/video6
[ 4.840738] rp1-cfe 1f00110000.csi: Registered [rp1-cfe-fe_config] node id 7 successfully as /dev/video7
[ 368.160251] rp1-cfe 1f00110000.csi: Using a link rate of 912 Mbps
[ 369.487774] rp1-cfe 1f00110000.csi: Using a link rate of 912 Mbps
[ 378.948797] rp1-cfe 1f00110000.csi: Using a link rate of 912 Mbps
[ 380.276522] rp1-cfe 1f00110000.csi: Using a link rate of 912 Mbps
[ 381.604630] rp1-cfe 1f00110000.csi: Using a link rate of 912 Mbps
user@raspberrypi:~ $ i2cdetect -y 10
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- UU -- -- --
10: -- -- -- -- -- -- -- -- -- -- UU -- -- -- -- --
20: -- -- -- -- 24 -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
user@raspberrypi:~ $ i2cdump -y 10 0x24 b
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 22 00 00 00 00 17 0a 17 00 00 00 00 00 00 00 00 "....???........
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Grettings
Christian Wendt