Cannot install ArduCam IMX519 kernel driver on Raspberry Pi 6.1.21-v7+ – unsupported kernel version error

Hi everyone, I’m stuck trying to install the ArduCam IMX519 kernel driver on my Raspberry Pi. The install keeps failing with an “unsupported kernel version” error.

My setup:

  • Hardware Revision: a02082
  • Kernel Version: 6.1.21-v7+
  • Package: imx519_kernel_driver – bullseye-v5

I’m using the official SD card image from Raspberry Pi and I have not run rpi-update. Has anyone run into this?

Can you share the full error output from the script, plus the exact commands you’ve run so far? That will help narrow down whether the script is picking the wrong package for your kernel.

Sure. I followed the install guide steps 1-7. Here’s exactly what I did:

Download the shell script:

wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh

Make it executable:

chmod +x install_pivariety_pkgs.sh

Update the Pi:

sudo apt update

Install Arducam libcamera-dev:

./install_pivariety_pkgs.sh -p libcamera_dev

Install Arducam libcamera-apps:

./install_pivariety_pkgs.sh -p libcamera_apps

Then the camera kernel driver:

./install_pivariety_pkgs.sh -p imx519_kernel_driver

That last step fails with:

Cannot find the corresponding package, please send the following information to [email protected]
Hardware Revision: a02082
Kernel Version: 6.1.21-v7+
Package: imx519_kernel_driver -- bullseye-v5
You are using an unsupported kernel version, please install the official SD Card image(do not execute rpi-update):
https://www.raspberrypi.com/software/operating-systems/

I also cloned the manual focus application repo as step 7:

git clone https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver.git

Everything else installed fine. It’s only the imx519_kernel_driver step that fails.

Thanks for the full log. That “unsupported kernel version” message means the script can’t find a matching package for kernel 6.1.21-v7+ under the bullseye-v5 package set. The 6.1.21-v7+ kernel isn’t supported by the imx519_kernel_driver bullseye-v5 package, so the package lookup fails.

The printed manual may be out of date. I’d suggest following the current guide on the ArduCam docs site instead:
https://docs.arducam.com/Raspberry-Pi-Camera/Native-camera/Quick-Start-Guide/#software-guide_1

Also make sure you’re on the official Raspberry Pi SD card image without rpi-update. That matches what you described, but it’s worth double-checking.

I checked that docs page and followed the software guide there, but I still get exactly the same result when I run the imx519_kernel_driver install.

One thing to try before reinstalling: refresh the installation package itself. Run:

./install_pivariety_pkgs.sh -l

Then run the imx519_kernel_driver install again and see if the error changes.

I already tried that. I ran the -l flag to update the package and then reinstalled, and it still fails with the same unsupported kernel version error.

Got it. So refreshing the install package doesn’t change the outcome, which points back to the kernel being the blocker. The imx519_kernel_driver bullseye-v5 package doesn’t have a build for 6.1.21-v7+.

At this point the current recommendation is to use a supported kernel / official Raspberry Pi SD image (without running rpi-update) and follow the latest instructions on the ArduCam docs site:
https://docs.arducam.com/Raspberry-Pi-Camera/Native-camera/Quick-Start-Guide/#software-guide_1

Even though you’re on the official image as reported, the kernel version you’re running still isn’t matched by that driver package, so that’s the part that needs to be resolved.