Hi,
I'm trying to run mv-mipi-imx287m on rpi zero 2w, following this guide: https://wiki.veye.cc/index.php/V4L2_mode_for_Raspberry_Pi
My actions:
#!/bin/bash
set -ex
cd ~/
rm -rf raspberry*
wget https://github.com/veyeimaging/raspberrypi_v4l2/releases/latest/download/raspberrypi_v4l2.tgz
tar xzf raspberrypi_v4l2.tgz
# build driver
cd ~/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y
make
# build dtbo
cd ~/raspberrypi_v4l2/driver_source/dts/rpi-6.6.y
./build_dtbo.sh
cd ~/raspberrypi_v4l2/release
# create bin dir for current kernel
mkdir -p driver_bin/$(uname -r)
cp ~/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/*.ko driver_bin/$(uname -r)/
cp ~/raspberrypi_v4l2/driver_source/dts/rpi-6.6.y/*.dtbo driver_bin/$(uname -r)/
ls -l driver_bin/$(uname -r)/*.{ko,dtbo}
cd ~/raspberrypi_v4l2/release
chmod +x *.sh
yes no | ./uninstall_driver.sh veye_mvcam
sed -i 's/\/boot\/cmdline\.txt/\/boot\/firmware\/cmdline\.txt/g' install_driver.sh
yes | ./install_driver.sh veye_mvcam
Result:
user@rpizero:~ $ dmesg | tail -n 10
[ 10.013388] Bluetooth: hci0: BCM43436 37.4MHz Class 1.5 RaspBerry Pi Zero2 [Version: 1017.1042]
[ 10.013428] Bluetooth: hci0: BCM43430A1 (001.002.009) build 1042
[ 10.014738] Bluetooth: hci0: BCM: Using default device address (43:43:a1:12:1f:ac)
[ 10.152275] 8021q: 802.1Q VLAN Support v1.8
[ 10.595384] veye_mvcam: loading out-of-tree module taints kernel.
[ 10.596516] mvcam 10-003b: veye mv series camera driver version: 01.01.06
[ 10.944723] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 11.165153] mvcam: mvcam_read: Reading register 0x04 failed
[ 11.165219] mvcam 10-003b: failed to read chip id
[ 16.219244] systemd[647]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
user@rpizero:~ $ ls -l /dev/video0
ls: cannot access '/dev/video0': No such file or directory
user@rpizero:~ $ uname -a
Linux rpizero 6.6.74+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 GNU/Linux
user@rpizero:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
Did anyone try to setup this camera module on rpi zero 2w?