ダウンロード


IMX585/IMX662/IMX678 STARVIS2 image sensor driver DKMS script for all the Raspberrypi boards

Raspberrypi Bookworm OSで動作するDKMSスクリプトを用意しました。$ tar zxvfで解凍し、実行してください。参照サイト:https://github.com/will127534/imx585-v4l2-driver/tree/main

IMX585

IMX662

IMX678

2025年5月5日現在のIMX585のカメラドライバーおよびlibcamera関連コードは下記に公開されています。

Please download the latest codes as of 25 June, 2025 from the following sites.

v4l2 driver:

https://github.com/will127534/imx585-v4l2-driver/tree/main

libcamera:

https://github.com/will127534/libcamera

https://github.com/will127534/libcamera/blob/master/src/ipa/rpi/cam_helper/cam_helper_imx585.cpp

https://github.com/will127534/libcamera/tree/master/src/ipa/rpi/pisp/data

https://github.com/will127534/libcamera/tree/master/src/ipa/rpi/vc4/data

cam_helper_imx585.cpp, それぞれの.jsonファイルの追加およびmeson.buildファイルへの追記を行ってください。cam_helper_imxXYZ.cppはIMX585からコピー、編集、meson.buidに追記してください。We added cam_helper_imx585.cpp, the corresponding .json files, and updated the meson.build file accordingly.
The cam_helper_imxXYZ.cpp file was created by copying and editing the one for IMX585, and it has also been added to meson.build.

インストール手順概略(How to Install)

(1)Raspberry Pi ImagerなどでSDカードにBookworm 64 bit OSを書き込みます。Raspi Zero W用には32bit Lite OSを使用します。(Prepare the fresh SD card of Bookworm 64bit OS. 32bit Lite OS is used for Raspi Zero W.)

(2)本サイトより上記のDKMSスクリプトをdownloadし、Raspiのホームディレクトリにコピー、解凍します。(Download “DKMS scripts” above , copy to /home/pi directory and execute “tar zxvf” command .)

(3)imx585-v4l2-driver_*** directoryに移動し、$./setup.shを実行します。( execute “$ cd imx585-v4l2-driver_***”, “$ ./setup.sh” .)

$ ls -ltr /boot/firmware/overaysでimx585.dtboが生成されていることを確認する。(Check wether imx585.dtbo is generated in /boot/firmware/overlays by “$ ls -ltr /boot/firmware/overlays” .)

(4)下記のように/boot/firmware/config.txtを変更してください。(modify /boot/firmware/config.txt as below.)

camera_auto_detect=0

dtoverlay=imx585(Rpi4: dtoverlay=imx585,2lane)

(5)https://www.raspberrypi.com/documentation/computers/camera_software.html#build-libcamera-and-rpicam-appshttps://github.com/will127534/libcameraを参考にlibcamera, rpicam-appsに新しいセンサーを追加、再コンパイルとロードを実行します。(Re-build and load “libcamera and rpicam-apps” according to above links for the operation.)

(6)再起動してカメラ動作を確認 (Reboot the Raspi and verify the camera works.)


弊社で使用しているlibcameraのcam_helper_imxXYZ.cppとチューニング用のjsonファイルをまとめました(IMX585, IMX662, IMX678)。We’ve compiled the cam_helper_imxXYZ.cpp file and the corresponding tuning .json file used in our libcamera setup.

libcamera_src-json

STAVISセンサーは大きなゲインをかけることができますので、それに対応したjsonファイルを作成しました。As STARVIS sensors allow for high-gain operation, we created a tuning .json file optimized for such use cases.

~RPi4(vc4)

Rpi5(pisp)


タチカメマニュアル/Tachicame manual

tachicame.pdf


過去のダウンロードはこちらに移動しました。