Hi everyone, I’m having trouble with an Arducam Pivariety 16MP IMX298 color camera module on a Raspberry Pi 4B running Bullseye. Every time I run libcamera-still -t 5000 it just segfaults. The camera has never worked for me, not even once. I followed the quick start guide at Quick Start Guide - Arducam Wiki step by step, but no luck. I also posted more detail over at the Arducam forum: Arducam IMX298 on CM4 bullseye, segmentation fault on libcamera-still -t 5000. Has anyone run into this before?
Sorry you’re hitting this. Before we dig into the camera issue itself, could you run our camera bug report tool and attach the output here? It gives us a snapshot of your setup which makes troubleshooting a lot faster. Steps: 1) reboot your device, 2) download the tool with:
wget -O arducam-camera-bug-report https://github.com/ketai-dhr/arducam-camera-bug-report/releases/download/tools/arducam-camera-bug-report
- make it executable:
chmod +x ./arducam-camera-bug-report
- run it:
./arducam-camera-bug-report
That produces an arducam-bug-report.txt file in the current directory. Attach that file and I’ll take a look.
Thanks, I ran the tool after a reboot. Here’s the generated report: arducam-bug-report.txt. Hopefully it shows what’s going on.
Thanks, I reviewed the report. It looks like the IMX298 module needs a firmware update — specifically the imx298_lanes2_firmware package. The procedure is a little unusual, so follow it carefully:
- Power off the Raspberry Pi and short the camera board with a jumper wire (see the picture below).
- Power the Pi back on, and while it’s restarting, remove the jumper wire from the camera board.
- I’ve sent the firmware package through private message — please check your messages. Pick the 32-bit or 64-bit file according to your kernel version.
- After extracting,
cdinto theimx298_lanes2_firmwaredirectory and run the update command. If you seeFirmware update successful, please reboot, it worked and you must reboot the Pi for it to take effect. If you see the red hint, the update failed — re-plug the camera and start over from the beginning.

Quick question before I attempt this — when you say to use the jumper wire, which part of the Raspberry Pi 4B am I supposed to connect it to? The picture isn’t very clear to me. Is it a specific GPIO pair on the Pi?
Ah, sorry for the confusion — you don’t short anything on the Raspberry Pi itself. The jumper wire goes on the camera board, across the points shown in the picture. So the sequence is: Pi powered off → short the camera board with the jumper → power the Pi on → remove the jumper during restart.
Just to recap where we are: the bug report pointed to a firmware issue on the IMX298, so the current step is updating it with imx298_lanes2_firmware. The firmware package is in your private messages — use the 32-bit or 64-bit file depending on your kernel version, extract it, enter the imx298_lanes2_firmware folder, and run the update command. If you get Firmware update successful, please reboot, reboot and then test the camera again. Let me know if you still can’t make out the pads on the camera board in the image.