Setup IMX519 with any Raspberry Pi OS

Hey Edward, will this camera have ever a normal driver on Raspberry OS so one won’t need all this process just to use it?

@surak

Sure, you need latest bulleye system Operating system images – Raspberry Pi
and then you need install driver and then reboot.

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 imx519_kernel_driver_low_speed

a simple example
libcamera-still -t 0

more use
IMX519 自动对焦相机和树莓派 libcamera 指南 - Arducam

UPDATE

This simplifies everything.

The libcamerify from libcamera-dev solves the opencv compatibility issue, and cab be twice as fast as the gstreamer method.

So, if you have a python code which uses openCV, simply call libcamerify python YOUR-CODE.py and it will run. No need for v4l2loopback or gstreamer or compiling anything.

So, how do make it work on a Raspberry Pi 5 with the latest Bookworm and Kernel 6.1.0?

The install_pivariety_pkgs.sh fails at the beginning, and all it does is to say that the driver is already there and does not need to be installed.

The git repo for the pivariety in GitHub - ArduCAM/Arducam-Pivariety-V4L2-Driver: This driver is used for Arducam mipi camera with Pivariety board points to GitHub - ArduCAM/IMX519_AK7375, but this fails completely to compile.

Could one show how to make this camera work on a clean install of Bookworm on a Pi 5?

Thanks!

Hi
First of all, you need to add “dtoverlay=imx519” on the config file.
Then you need to install the libcaemra from arducam.

./install_pivariety_pkgs.sh -m libcamera
./install_pivariety_pkgs.sh -m libcamera_apps

Please give it a try.

1 Like

That is there. Sorry to mislead you. In fact, the install_pivariety already does that. There’s another thread which says support for bookworm isn’t there yet.

Have you tried on a pi5 with bookworm and a 6.x series kernel?

Hi
On Raspberry Pi 5, the imx519 can work on it but the pdaf is not compatible.