Raspi 5 not finding Hawkeye 64MP

I had a similar problem
64MP Hawkeye
Raspberry pi 5 4GB
fresh RPI OS bookworm Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64

install according all to Quick Start - Arducam Wiki

Step 1. Download the bash scripts

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

Step 2. Install libcamera

./install_pivariety_pkgs.sh -p libcamera_dev

Step 3. Install libcamera-apps

./install_pivariety_pkgs.sh -p libcamera_apps

Step 4. Modify .Config file

sudo nano /boot/firmware/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=arducam-64mp
#Save and reboot.

Problem:
libcamera-hello error

[0:00:31.428693980] [1981]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0+246-9fb4698e-dirty (2024-02-27T06:28:07+00:00)
[0:00:31.436967017] [1984]  INFO RPI pisp.cpp:662 libpisp version v1.0.4 6e3a53d137f4 14-02-2024 (14:00:12)
[0:00:31.437900166] [1984]  WARN CameraSensorProperties camera_sensor_properties.cpp:274 No static properties available for 'arducam_64mp'
[0:00:31.437911128] [1984]  WARN CameraSensorProperties camera_sensor_properties.cpp:276 Please consider updating the camera sensor properties database
[0:00:31.443711277] [1984] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'arducam_64mp.json' not found for IPA module 'rpi/pisp'
[0:00:31.459629721] [1984] ERROR RPI pipeline_base.cpp:825 Failed to load a suitable IPA library
[0:00:31.459704277] [1984] ERROR RPI pisp.cpp:890 Failed to register camera arducam_64mp 4-001a: -22

Solution is to manually install package that left after installation:
sudo dpkg -i libcamera-ipa_0.2.0+rpt20240227-1_arm64.deb

Result:
libcamera-hello works:

[0:16:30.002114126] [2233]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0+246-9fb4698e-dirty (2024-02-27T06:28:07+00:00)
[0:16:30.010200866] [2236]  INFO RPI pisp.cpp:662 libpisp version v1.0.4 6e3a53d137f4 14-02-2024 (14:00:12)
[0:16:30.011122099] [2236]  WARN CameraSensorProperties camera_sensor_properties.cpp:274 No static properties available for 'arducam_64mp'
[0:16:30.011132766] [2236]  WARN CameraSensorProperties camera_sensor_properties.cpp:276 Please consider updating the camera sensor properties database
[0:16:30.038240263] [2236]  INFO RPI pisp.cpp:1122 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/arducam_64mp@1a to CFE device /dev/media1 and ISP device /dev/media0 using PiSP variant BCM2712_C0
Made X/EGL preview window
Mode selection for 4096:3074:12:P
    SRGGB10_CSI2P,1280x720/0 - Score: 11507
    SRGGB10_CSI2P,1920x1080/0 - Score: 9506.99
    SRGGB10_CSI2P,2312x1736/0 - Score: 7246.01
    SRGGB10_CSI2P,3840x2160/0 - Score: 3506.99
    SRGGB10_CSI2P,4624x3472/0 - Score: 1233.51
    SRGGB10_CSI2P,8000x6000/0 - Score: 2707.83
    SRGGB10_CSI2P,9152x6944/0 - Score: 3274.98
Stream configuration adjusted
[0:16:30.425931073] [2233]  INFO Camera camera.cpp:1183 configuring streams: (0) 4096x3074-YUV420 (1) 4624x3472-RGGB16_PISP_COMP1
[0:16:30.426047799] [2236]  INFO RPI pisp.cpp:1406 Sensor: /base/axi/pcie@120000/rp1/i2c@80000/arducam_64mp@1a - Selected sensor format: 4624x3472-SRGGB10_1X10 - Selected CFE format: 4624x3472-PC1R
2 Likes

Just got mine a few days ago, its having this exact problem! Please help!! Thanks! (Iā€™m surprised that there is not better app support for cameras yet, I have been doing linux since the 90s with slackware and its still just as horrible. Plug and pray has never been fully fixed with itā€¦ sadlyā€¦)

Hi,
We have updated the installation script. Please run the commands below to install the software again to solve the problem:

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

1 Like

Hi, I have a big problem with a Arducam Hawk-eye.
Installed on the slot cam0 of a Raspberry Pi 5 (silver contacts pointing towards the ethernet port on the board, facing up on the cam).
Downloaded the script:
wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh

Made the script executable:
chmod +x install_pivariety_pkgs.sh

lauched to install libcamera_dev and apps:

./install_pivariety_pkgs.sh -p libcamera_dev
./install_pivariety_pkgs.sh -p libcamera_apps

Changed the file /boot/firmware/config.txt
dtoverlay=arducam-64mp
or
dtoverlay=arducam-64mp,cam0

rebooted, and this is the result of the command libcamera-still -t 5000:

INFO Camera camera_manager.cpp:284 libcamera v0.2.0+46-075b54d5
Made X/EGL preview window
ERROR: *** no cameras available ***

When I invoked the command dmesg | grep arducam I receive:

[    3.034800] rp1-cfe 1f00110000.csi: found subdevice /axi/pcie@120000/rp1/i2c@88000/arducam_64mp@1a
[    3.047528] arducam_64mp 6-001a: failed to read chip id 4136, with error -5
[    3.050662] arducam_64mp: probe of 6-001a failed with error -5

Can you help me, please?

Hi
Ohh, sorry for the inconvience :frowning:
But do not worry, we will try our best to sort it out.
Could you post pictures of the hardware connection? Besides, paste the output of the command below here:

cat /boot/config.txt
cat /boot/firmware/config.txt

i got the same problem :
./install_pivariety_pkgs.sh -p libcamera_dev

when i run above command i got the error:
pi@raspberrypi:~ $ ./install_pivariety_pkgs.sh -p libcamera_dev
dpkg-query: no packages found matching raspberrypi-kernel
dpkg: error: --compare-versions takes three arguments:

Type dpkg --help for help about installing and deinstalling packages [*];
Use ā€˜aptā€™ or ā€˜aptitudeā€™ for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through ā€˜lessā€™ or ā€˜moreā€™ !

Hardware Revision: d04170
Kernel Version: 6.1.0-rpi7-rpi-2712
OS Codename: bookworm
ARCH: aarch64

Set i2c
kernel:6.1.0-rpi7-rpi-2712
kernel version is: 6.1.63
ā€“2024-04-24 06:22:56-- https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/libcamera_bookworm_links.txt
Resolving github.com (github.com)ā€¦ 20.207.73.82
Connecting to github.com (github.com)|20.207.73.82|:443ā€¦ connected.
HTTP request sent, awaiting responseā€¦ 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/353945933/ddac8037-4419-4f23-bfa7-34322b918084?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240424%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240424T052256Z&X-Amz-Expires=300&X-Amz-Signature=5300cfe207c806283e2a73eb36d717c9b86bf649295d0ef6f36e828db8c348dc&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=353945933&response-content-disposition=attachment%3B%20filename%3Dlibcamera_bookworm_links.txt&response-content-type=application%2Foctet-stream [following]
ā€“2024-04-24 06:22:56-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/353945933/ddac8037-4419-4f23-bfa7-34322b918084?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240424%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240424T052256Z&X-Amz-Expires=300&X-Amz-Signature=5300cfe207c806283e2a73eb36d717c9b86bf649295d0ef6f36e828db8c348dc&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=353945933&response-content-disposition=attachment%3B%20filename%3Dlibcamera_bookworm_links.txt&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)ā€¦ 185.199.108.133, 185.199.109.133, 185.199.110.133, ā€¦
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443ā€¦ connected.
HTTP request sent, awaiting responseā€¦ 200 OK
Length: 3061 (3.0K) [application/octet-stream]
Saving to: Ć¢ā‚¬Ėœlibcamera_bookworm_links.txtĆ¢ā‚¬ā„¢

libcamera_bookworm_link 100%[============================>] 2.99K --.-KB/s in 0s

2024-04-24 06:22:58 (13.9 MB/s) - Ć¢ā‚¬Ėœlibcamera_bookworm_links.txtĆ¢ā‚¬ā„¢ saved [3061/3061]

ā€“2024-04-24 06:22:58-- https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/libcamera-v0.0.5/libcamera0.2_0.2.0+rpt20240227-1_arm64.deb
Resolving github.com (github.com)ā€¦ 20.207.73.82
Connecting to github.com (github.com)|20.207.73.82|:443ā€¦ connected.
HTTP request sent, awaiting responseā€¦ 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/353945933/53934834-1ed7-41ae-a120-e9f66a88e11f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240424%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240424T052258Z&X-Amz-Expires=300&X-Amz-Signature=2381419184e1e24c01ddf029d31eb8a8b94af06a44d8ceea6ee746df1c50c47c&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=353945933&response-content-disposition=attachment%3B%20filename%3Dlibcamera0.2_0.2.0%2Brpt20240227-1_arm64.deb&response-content-type=application%2Foctet-stream [following]
ā€“2024-04-24 06:22:58-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/353945933/53934834-1ed7-41ae-a120-e9f66a88e11f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240424%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240424T052258Z&X-Amz-Expires=300&X-Amz-Signature=2381419184e1e24c01ddf029d31eb8a8b94af06a44d8ceea6ee746df1c50c47c&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=353945933&response-content-disposition=attachment%3B%20filename%3Dlibcamera0.2_0.2.0%2Brpt20240227-1_arm64.deb&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)ā€¦ 185.199.111.133, 185.199.108.133, 185.199.109.133, ā€¦
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443ā€¦ connected.
HTTP request sent, awaiting responseā€¦ 200 OK
Length: 510536 (499K) [application/octet-stream]
Saving to: Ć¢ā‚¬Ėœlibcamera0.2_0.2.0+rpt20240227-1_arm64.debĆ¢ā‚¬ā„¢

libcamera0.2_0.2.0+rpt2 100%[============================>] 498.57K --.-KB/s in 0.1s

2024-04-24 06:22:59 (4.27 MB/s) - Ć¢ā‚¬Ėœlibcamera0.2_0.2.0+rpt20240227-1_arm64.debĆ¢ā‚¬ā„¢ saved [510536/510536]

Hit:1 Index of /debian bookworm InRelease
Hit:2 Index of /debian-security bookworm-security InRelease
Hit:3 Index of /debian bookworm-updates InRelease
Hit:4 Index of /debian bookworm InRelease
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
8 packages can be upgraded. Run ā€˜apt list --upgradableā€™ to see them.
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
Package ā€˜libpisp0.0.1ā€™ is not installed, so not removed
The following packages were automatically installed and are no longer required:
libcamera0.1 libssl1.1
Use ā€˜sudo apt autoremoveā€™ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
libpisp-dev is already the newest version (1.0.5-1).
The following packages were automatically installed and are no longer required:
libcamera0.1 libssl1.1
Use ā€˜sudo apt autoremoveā€™ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
Note, selecting ā€˜libcamera0.2ā€™ instead of ā€˜./libcamera0.2_0.2.0+rpt20240227-1_arm64.debā€™
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libcamera0.2 : Depends: libcamera-ipa but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ā€“2024-04-24 06:23:06-- https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/libcamera-v0.0.5/libcamera-dev_0.2.0+rpt20240227-1_arm64.deb
Resolving github.com (github.com)ā€¦ 20.207.73.82
Connecting to github.com (github.com)|20.207.73.82|:443ā€¦ connected.
HTTP request sent, awaiting responseā€¦ 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/353945933/469a37a4-208c-405d-a209-23c95e81ebe8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240424%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240424T052307Z&X-Amz-Expires=300&X-Amz-Signature=f4e4fd1a9363169073ea82c2759cf7cce1104807a22798334ae807b5d0a34e2b&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=353945933&response-content-disposition=attachment%3B%20filename%3Dlibcamera-dev_0.2.0%2Brpt20240227-1_arm64.deb&response-content-type=application%2Foctet-stream [following]
ā€“2024-04-24 06:23:07-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/353945933/469a37a4-208c-405d-a209-23c95e81ebe8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240424%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240424T052307Z&X-Amz-Expires=300&X-Amz-Signature=f4e4fd1a9363169073ea82c2759cf7cce1104807a22798334ae807b5d0a34e2b&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=353945933&response-content-disposition=attachment%3B%20filename%3Dlibcamera-dev_0.2.0%2Brpt20240227-1_arm64.deb&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)ā€¦ 185.199.110.133, 185.199.111.133, 185.199.108.133, ā€¦
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443ā€¦ connected.
HTTP request sent, awaiting responseā€¦ 200 OK
Length: 32404 (32K) [application/octet-stream]
Saving to: Ć¢ā‚¬Ėœlibcamera-dev_0.2.0+rpt20240227-1_arm64.debĆ¢ā‚¬ā„¢

libcamera-dev_0.2.0+rpt 100%[============================>] 31.64K --.-KB/s in 0.008s

2024-04-24 06:23:08 (3.87 MB/s) - Ć¢ā‚¬Ėœlibcamera-dev_0.2.0+rpt20240227-1_arm64.debĆ¢ā‚¬ā„¢ saved [32404/32404]

ā€“2024-04-24 06:23:08-- https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/libcamera-v0.0.5/libcamera-ipa_0.2.0+rpt20240227-1_arm64.deb
Resolving github.com (github.com)ā€¦ 20.207.73.82
Connecting to github.com (github.com)|20.207.73.82|:443ā€¦ connected.
HTTP request sent, awaiting responseā€¦ 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/353945933/23564faa-8e91-4e80-bc42-fe869b7f499a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240424%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240424T052308Z&X-Amz-Expires=300&X-Amz-Signature=51ea215444c981c9b1f1887c52a353b155824987d7530ecd95171fb9beb96414&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=353945933&response-content-disposition=attachment%3B%20filename%3Dlibcamera-ipa_0.2.0%2Brpt20240227-1_arm64.deb&response-content-type=application%2Foctet-stream [following]
ā€“2024-04-24 06:23:09-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/353945933/23564faa-8e91-4e80-bc42-fe869b7f499a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240424%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240424T052308Z&X-Amz-Expires=300&X-Amz-Signature=51ea215444c981c9b1f1887c52a353b155824987d7530ecd95171fb9beb96414&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=353945933&response-content-disposition=attachment%3B%20filename%3Dlibcamera-ipa_0.2.0%2Brpt20240227-1_arm64.deb&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)ā€¦ 185.199.109.133, 185.199.110.133, 185.199.111.133, ā€¦
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443ā€¦ connected.
HTTP request sent, awaiting responseā€¦ 200 OK
Length: 536188 (524K) [application/octet-stream]
Saving to: Ć¢ā‚¬Ėœlibcamera-ipa_0.2.0+rpt20240227-1_arm64.debĆ¢ā‚¬ā„¢

libcamera-ipa_0.2.0+rpt 100%[============================>] 523.62K 2.12MB/s in 0.2s

2024-04-24 06:23:09 (2.12 MB/s) - Ć¢ā‚¬Ėœlibcamera-ipa_0.2.0+rpt20240227-1_arm64.debĆ¢ā‚¬ā„¢ saved [536188/536188]

Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
Note, selecting ā€˜libcamera-devā€™ instead of ā€˜./libcamera-dev_0.2.0+rpt20240227-1_arm64.debā€™
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libcamera-dev : Depends: libcamera0.2 (= 0.2.0+rpt20240227-1) but 0.2.0+rpt20240418-1 is to be installed
E: Unable to correct problems, you have held broken packages.
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
Note, selecting ā€˜libcamera-ipaā€™ instead of ā€˜./libcamera-ipa_0.2.0+rpt20240227-1_arm64.debā€™
The following packages were automatically installed and are no longer required:
libcamera0.1 libssl1.1
Use ā€˜sudo apt autoremoveā€™ to remove them.
The following packages will be DOWNGRADED:
libcamera-ipa
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 8 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
python3-libcamera is already the newest version (0.2.0+rpt20240418-1).
The following packages were automatically installed and are no longer required:
libcamera0.1 libssl1.1
Use ā€˜sudo apt autoremoveā€™ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
python3-picamera2 is already the newest version (0.3.18-1).
The following packages were automatically installed and are no longer required:
libcamera0.1 libssl1.1
Use ā€˜sudo apt autoremoveā€™ to remove them.
The following packages will be upgraded:
mesa-vdpau-drivers
1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Need to get 3,224 kB of archives.
After this operation, 0 B of additional disk space will be used.
Err:1 Index of /debian bookworm/main arm64 mesa-vdpau-drivers arm64 23.2.1-1~bpo12+rpt3
403 Forbidden [IP: 46.235.230.122 80]
E: Failed to fetch http://archive.raspberrypi.com/debian/pool/main/m/mesa/mesa-vdpau-drivers_23.2.1-1~bpo12%2Brpt3_arm64.deb 403 Forbidden [IP: 46.235.230.122 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

and the output of this:
cat /boot/firmware/config.txt

Hi,
How about the output of the command dpkg -l | grep libcamera?

this is the output:

Hi, thank you for your reply!
Here the pictures:

And the content of the file:

/boot/config.txt

DO NOT EDIT THIS FILE

The file you are looking for has moved to /boot/firmware/config.txt

/boot/firmware/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
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]

dtoverlay=arducam-64mp,cam0

Thanks again for your help!

Hi,
Please reverse the cable I pointed out in the screenshot below:

Hi Dion,
I already tried, with no luck.
Anyway, I tried again, and the situation didnā€™t change:

libcamera-hello 
[0:01:51.434645479] [2020]  INFO Camera camera_manager.cpp:284 libcamera v0.2.0+120-eb00c13d
Made X/EGL preview window
ERROR: *** no cameras available ***

paolo@raspberrypi:~ $ dmesg | grep arducam
[    2.768197] rp1-cfe 1f00128000.csi: found subdevice /axi/pcie@120000/rp1/i2c@80000/arducam_64mp@1a
[    2.833111] arducam_64mp 4-001a: failed to read chip id 4136, with error -5
[    2.853439] arducam_64mp: probe of 4-001a failed with error -5

Quick update: I managed to make it work on a Raspberry 3!
Just mounted it using the amber ribbon cable, installed libcamera_dev, libcamera_apps and the kernel drivers, and successfully launched libcamera-hello!
The output of dmesg | grep arducam:

dmesg | grep ardu
[    0.057271] platform 3f801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/arducam_64mp@1a
[   11.104478] arducam_64mp: loading out-of-tree module taints kernel.
[   11.125413] arducam_64mp 10-001a: Device found Arducam 64MP.
[   11.161136] arducam_64mp 10-001a: Consider updating driver arducam_64mp to match on endpoints

Now we know that the camera is functional, so there are two possibilities:
1 - the white ribbon is somehow defective
2 - it is a software issue related to the kernel on the RPi 5

Any guess?

Despite @Edward saying it should work on CAM0, it only worked on CAM1 for me. That fixed it. switch the physical connector to CAM1

ā€¦and you are totally righty, @sky-t!
Mounted the camera on cam1, fresh installed RaspberryOS, followed the quick start guide, andā€¦ worked like a charm!
Thanks to everybody for helping me so much!
I have two comments/suggestions for the Arducam guys:

1 - please carefully check this connection bug (camera on cam0 NOT WORKING, camera on cam1 WORKING)
2 - I STRONGLY recommend to change the picture on the connection instruction leaflet: showing the contacts pointing face up to the camera objective, it is absolutely misleading!

Cheers

2 Likes

Hi @pappice
Thank you for your invaluable feedback. We appreciate it.

I will check it today. We upgraded the camera board of the 64mp module to 22 pin CSI connector. TBO, I have not tested the new version on Pi 5 so far.

Sorry for the inconvenience :frowning: We are gonna change the hardware connection diagrams in the leaflet ASAP.

Follow-up:
The 64mp Hawkeye camera module works on the cam 0 port of Raspberry Pi 5.
As you can see, the cam 1 port on my Pi 5 is broken. Hence, I have no choice but cam 0 port.


Here are my config.txt file and system log:

And it truly works!

Hi @Dion,
thank you for checking the cam0 slot. Thatā€™s interesting!
Could you comment the purpose of each dtoverlay line in your config file?
If you post it as text I will check it on my board.
Thanks!

Hi @pappice
Please check the whole config.txt file. There are various dtoverlay sentences cause I have to test different camera modules every day. You can find all the dtoverlay sentences are commented but the entry ** dtoverlay=arducam-64mp,cam0** under the line [all], which means that I just enabled the 64mp camera module on the CAM 0 port of my Pi 5.


Little heads up that you can modify the sentence camera_auto_detect=1 to camera_auto_detect=0 in your config.txt file. Thatā€™s the most different part between yours and mine.

try using bookworm lite. the full os with desktop was the problem for me