Raspi 5 not finding Hawkeye 64MP

  1. Where did you get the camera module(s)?

pihut

  1. Model number of the product(s)?

64MP Hawkeye

  1. What hardware/platform were you working on?

Raspberry pi 5 8GB, Debian Bookworm 64bit Lite

  1. Instructions you have followed. (link/manual/etc.)

Here is what I tried:
As soon as I flashed the OS, and I open the pi (for the first time) this is the first command I use:

sudo apt -y update && sudo apt -y upgrade

I notice that once I do that, the config.txt path moves from boot/config.txt to boot/firmware/config.txt

I still open the config.txt file and under [all] I add the following:

dtoverlay=vc4-kms-v3d,cma-512
dtoverlay=arducam-64mp

next up I reboot, and run the following:

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. Problems you were having?

trying the command:

libcamera-still

leads to the error:

ERROR: *** no cameras available ***

The camera itself is not broken, its entirely a software issue (and I can use it fine with my raspi zero 2W), however I need the raspi5 to maximize its resolution.

  1. The dmesg log from your hardware?

savvas@raspberrypi:~ $ dmesg | grep arducam
[ 4.870467] rp1-cfe 1f00110000.csi: found subdevice /axi/pcie@120000/rp1/i2c@88000/arducam_64mp@1a
[ 5.011498] arducam_64mp 6-001a: Device found Arducam 64MP.
[ 5.011648] rp1-cfe 1f00110000.csi: Using sensor arducam_64mp 6-001a for capture

  1. Troubleshooting attempts you’ve made?

I tried a lot of online solutions but none seem to be working.
One of the things I tried myself is to edit the install_pivariety_pkgs.sh and change the path of the config file to boot/firmware/config.txt , which was previously boot/config.txt. The change is the following (line 87):


initAutodetect() {
    array=()
    arr_subscript=0
    InstallName=
    SenorId=
    OpenCameraName=
    BOOTCONFIG="/boot/firmware/config.txt"
    BIT=`getconf LONG_BIT`
    # PWD_GET=`pwd`
    PrintCamera=
}


By making that change I now get a longer error message (looks more promising than the previous one):

[0:25:14.428814998] [1101] INFO Camera camera_manager.cpp:284 libcamera v0.1.0+147-057299d0-dirty (2024-01-24T08:51:15+00:00)
[0:25:14.437638169] [1104] INFO RPI pisp.cpp:653 libpisp version v1.0.4 6e3a53d137f4 14-02-2024 (14:00:12)
[0:25:14.438623871] [1104] WARN CameraSensorProperties camera_sensor_properties.cpp:265 No static properties available for β€˜arducam_64mp’
[0:25:14.438659759] [1104] WARN CameraSensorProperties camera_sensor_properties.cpp:267 Please consider updating the camera sensor properties database
[0:25:14.444058713] [1104] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file β€˜arducam_64mp.json’ not found for IPA module β€˜rpi/pisp’
[0:25:14.455494602] [1104] ERROR RPI pipeline_base.cpp:823 Failed to load a suitable IPA library
[0:25:14.455516454] [1104] ERROR RPI pisp.cpp:881 Failed to register camera arducam_64mp 6-001a: -22
X11 connection rejected because of wrong authentication.
Made DRM preview window
ERROR: *** no cameras available ***

Given the error: β€˜arducam_64mp.json’ not found for IPA module β€˜rpi/pisp’, I tried to locate that directory (rpi/pisp), and saw the following json files:

@raspberrypi://usr/share/libcamera/ipa/rpi/pisp $ ls
imx219.json imx477_scientific.json ov5647_noir.json
imx219_noir.json imx519.json ov64a40.json
imx296.json imx708.json ov9281_mono.json
imx296_mono.json imx708_noir.json se327m12.json
imx378.json imx708_wide.json uncalibrated.json
imx477.json imx708_wide_noir.json
imx477_noir.json ov5647.json

So im guessing indeed, the arducam64mp json file is missing. I tried locating it myself online to add it manually but not luck. Can anyone who has the json file post it below?

  1. What help do you need?
    I’ve really tried for a long while to fix this issue, but no luck. Almost giving up on it :(. Can someone help me out?
    or if you dont know what is wrong, but is working for you can you locate the file arducam_64mp.json and post it below?

PS: here is my i2c detect output:

@raspberrypi:~ $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –

@raspberrypi:~ $ sudo i2cdetect -y 6
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – UU – – –
10: – – – – – – – – – – UU – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –

(Note that I also have a dual fan heatsink connected, however the two fans are connected in the same port)

2 Likes

I am having the same set of problems with a new Pi5 and the 64mp camera. I have tried the same stuff with /boot/firmware/config.txt as well.

I have created a thread and documented my steps and results: https://forum.arducam.com/t/re-new-raspberry-pi-os-bookworm-and-64mp-arducam/6452/1

hey thanks for replying,

I think the link is wrong.

Did you read my attempt to solving the issue?

@robtow are you also missing the arducam_64mp.json file?

Hi. The link works when I click on it.
Yes, I did. I am having similar issues.
I also tried not doing the update, and just staying with the initial OS; that avoids the problem with /boot/config.txt versus /boot/firmware/config.txt - but it still fails to recognize the camera.

Weird, I get the error Oops! That page doesn’t exist or is private.

I also tried not using sudo apt update and upgrade, but don’t think that would work either way.

From the error message, I believe the main issue we have is due to the json file for the arducam64mp missing. Can you check if you have the same json files in that directory as me?

I posted them in the initial post.

I am seeing this in dmesg:

4.798147] arducam_64mp 4-001a: chip id mismatch: 4136!=7b8c
[ 4.798640] arducam_64mp: probe of 4-001a failed with error -5

[ 4.798147] arducam_64mp 4-001a: chip id mismatch: 4136!=7b8c

Oh ok, I am not sure if we have the same problem then.

Can you try: ls //usr/share/libcamera/ipa/rpi/pisp

and post the json files you have there?

rob@raspberrypi:/usr/share/libcamera/ipa/rpi/pisp $ ls
arducam_64mp.json imx296.json imx477.json imx708.json ov5647_af.json ov9281_mono.json
imx219_af.json imx296_mono.json imx477_noir.json imx708_noir.json ov5647.json se327m12.json
imx219.json imx378.json imx477_scientific.json imx708_wide.json ov5647_noir.json uncalibrated.json
imx219_noir.json imx477_af.json imx519.json

oooh you have it. Can you post the contents of the arducam_64mp.json file?

I will manually add it and see if i then get the same error as you. (not sure if its too long)

It is too big to fit here. I’ll make a pastebin of it, and post the link

amazing thanks, I will try it out and let you know the outcome shortly

What do you get from:

dmesg | grep arducam

I get:

  [    4.623832] rp1-cfe 1f00128000.csi: found subdevice /axi/pcie@120000/rp1/i2c@80000/arducam_64mp@1a
  [    4.798147] arducam_64mp 4-001a: chip id mismatch: 4136!=7b8c
  [    4.798640] arducam_64mp: probe of 4-001a failed with error -5

I get the following

savvas@raspberrypi:~ $ dmesg | grep arducam
[ 4.870467] rp1-cfe 1f00110000.csi: found subdevice /axi/pcie@120000/rp1/i2c@88000/arducam_64mp@1a
[ 5.011498] arducam_64mp 6-001a: Device found Arducam 64MP.
[ 5.011648] rp1-cfe 1f00110000.csi: Using sensor arducam_64mp 6-001a for capture

So for me its definatelly a libcamera software issue.

I added the json file, now the error message changed:

[0:21:07.384481624] [1211] INFO Camera camera_manager.cpp:284 libcamera v0.1.0+ 147-057299d0-dirty (2024-01-24T08:51:15+00:00)
[0:21:07.393412179] [1214] INFO RPI pisp.cpp:653 libpisp version v1.0.4 6e3a53d 137f4 14-02-2024 (14:00:12)
[0:21:07.394386467] [1214] WARN CameraSensorProperties camera_sensor_properties .cpp:265 No static properties available for β€˜arducam_64mp’
[0:21:07.394407874] [1214] WARN CameraSensorProperties camera_sensor_properties .cpp:267 Please consider updating the camera sensor properties database
[0:21:07.411107828] [1214] ERROR RPI pipeline_base.cpp:823 Failed to load a suit able IPA library
[0:21:07.411147364] [1214] ERROR RPI pisp.cpp:881 Failed to register camera ardu cam_64mp 6-001a: -22
X11 connection rejected because of wrong authentication.
Made DRM preview window
ERROR: *** no cameras available ***

having the same issue. i keep getting ERROR: no cameras available.

when you are using libcamera apps commands from command line the OS is trying to use the ones that came with OS installation not the ones that are installed with the python scripts u got with wget. thats why u were missing the json file. now if u manually set that json file i think it could be wrong json file and thats why u are getting new error.
try from the beginning and install the libcamera stuff before you do sudo apt -y update && sudo apt -y upgrade.
then see if cameras are found with libcamera-still --list-cameras

I did try that multiple times. And it doesn’t find it.

try using bookworm lite, that fixed the issue for me