Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7521

Camera board • Re: How to develop drivers for the unsupported camera IMX415 for Raspberry Pi 5b

$
0
0
No need. There was an imx415 driver added to the mainline Linux kernel in 6.3.
Waveshare are now making a module based on it, and I tinkered over Christmas with one to add proper handling for the number of data lanes, clock frequencies, link frequencies, and frame rate control.

Support in the 6.6 kernel - https://github.com/raspberrypi/linux/pull/6582
Support in the 6.12 kernel - https://github.com/raspberrypi/linux/pull/6583
Sent to mainline - https://lore.kernel.org/linux-media/202 ... rrypi.com/
libcamera support - https://lists.libcamera.org/pipermail/l ... 47971.html

On a fully up to date Pi5 running Bookworm, you should be able to just add "dtoverlay=imx415,4lane" to /boot/firmware/config.txt assuming that you've connected to CAM/DISP1 and your module has a 24MHz oscillator. Add ",cam0" if connected to CAM/DISP0.
There are a couple of oscillator frequencies and link frequency options that can be chosen, but there are dependencies.

Please note that it still falls under category 2 in "Third Party Camera Support" - it's all in mainline kernels/libcamera, and we'll do our best not to break it, but they are not routinely tested.

Statistics: Posted by 6by9 — Thu Feb 13, 2025 11:50 am



Viewing all articles
Browse latest Browse all 7521

Trending Articles