Cannot install 64MP Hawk Eye camera driver on Raspberry Pi 4 32-bit OS - kernel incompatible

Trying to get the Arducam 64MP Hawk Eye camera set up on a Raspberry Pi 4, and I’m stuck at step 5-E of the Quick Start Guide. When I run:

./install_pivariety_pkgs.sh -p 64mp_pi_hawk_eye_kernel_driver

the install fails with an error saying the kernel version is not compatible. The strange part is that libcamera-hello works and shows a preview, so the camera itself seems to be detected. Has anyone run into this kernel version incompatibility error on the 64MP Hawk Eye driver?

Thanks for the report. That error usually comes from the installer script not finding a prebuilt driver that matches your kernel. To narrow this down, can you share a few environment details?

  • Which Pi model exactly
  • OS version (32-bit or 64-bit) and what it’s installed on (SD card or SSD)
  • The output of uname -a
  • Roughly when you created the OS image

Sure, details below:

  • Raspberry Pi 4
  • 32-bit Raspberry Pi OS, written to an SSD
  • uname -a gives: Linux raspberrypi 6.1.19-v8+ #1637 SMP PREEMPT Tue Mar 14 11:11:47 GMT 2023 aarch64 GNU/Linux
  • The image is the latest Raspberry Pi OS, created March 29th

Thanks. One thing to check before we dig into the driver package — the Hawk Eye 64MP needs its device tree overlay loaded. Try adding it manually:

sudo nano /boot/config.txt

Add this line under the [all] section at the bottom:

dtoverlay=arducam-64mp

Then reboot and run the driver install again.

I tried that. Added dtoverlay=arducam-64mp under [all] in /boot/config.txt, rebooted, and reinstalled the driver. Same ‘kernel version not compatible’ error.

After that I decided to rule out any system weirdness, so I reinstalled 32-bit Raspberry Pi OS from scratch and followed the Quick Start Guide commands exactly:

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

libcamera_dev and libcamera_apps install fine. It still fails at the last step (5-E, 64mp_pi_hawk_eye_kernel_driver) with the same error.

Thanks for confirming all that. I’d like to collect some diagnostic data to see exactly what the installer is detecting about your kernel. Can you:

  1. Reboot the device
  2. Run:
wget -O arducam-camera-bug-report https://github.com/ketai-dhr/arducam-camera-bug-report/releases/download/tools/arducam-camera-bug-report
chmod +x ./arducam-camera-bug-report
./arducam-camera-bug-report

That creates an arducam-bug-report.txt in the current directory. Since it can contain system info, I’ve sent you details on how to get the file to me — please check your private messages.

Done. I rebooted, ran the bug report tool, and it generated arducam-bug-report.txt. I’ve sent the file over to you through private message. I also grabbed a screenshot of the error during the 64mp_pi_hawk_eye_kernel_driver install showing the kernel version not compatible message, plus another screenshot — both attached.

Thanks, I’ve got the bug report and the screenshots. Nothing conclusive yet on the root cause — I’m reviewing the diagnostic output in arducam-bug-report.txt to see what the installer is detecting on your kernel (6.1.19-v8+). There’s no workaround or fix to share at this point. I’ll update this thread once I’ve gone through the report.