ダウンロード


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に追記してください。

インストール手順概略(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.)


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

tachicame.pdf


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