Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi Zero 2 W Rev 1.0 #6

Open
Belroguim opened this issue Jan 25, 2023 · 1 comment
Open

Raspberry Pi Zero 2 W Rev 1.0 #6

Belroguim opened this issue Jan 25, 2023 · 1 comment

Comments

@Belroguim
Copy link

Hi,

I am using a fresh bullseye lite image and I can not use inno maker driver in pi Zero2. Instead, when I am following your documentation in a pi4 I can use your driver.

In your wiki you say it is compatible with Pi Zero:
https://www.inno-maker.com/product/cam-mipiov9281/
CAM-MIPIOV9281 is an Industrial Camera Module for Raspberry Pi 4/3B+/3B/3A+/CM3/CM3+/Zero/ZeroW;

When I try automated install this message appear:
./autoinstall_driver.sh
------INNO-MAKER cammipi_ov9281 driver install script v1.0------
Enable i2c_vc in /boot/config.txt ...
count = 1
count2 = 3
--- Add dtoverlay=vc_mipi_ov9281 to /boot/config.txt
console=serial0,115200 console=tty1 root=PARTUUID=701c8738-02 rootfstype=ext4 fsck.repair=yes rootwait cma=128M cma=128M
--- alread have cma=128M string
./autoinstall_driver.sh: line 81: warning: command substitution: ignored null byte in input
5.15.61-v7+
Raspberry Pi Zero 2 W Rev 1.0
armv7l
@ Linux Version Not Match! Please contact [email protected]
@ HW Version Not Match! Please contact [email protected]
System is 32 bit arch.
driverpath: ./0/0
@ Install Failed, Please contact [email protected]

Later, I have try manual install. But same unsuccesfully story. No drivers for kernell 5.15.84. If I try using drivers 5.15.32, only next devices are available:
arm64 cm4-dual pi3 pi4
No zero is available. If I am using pi4, they are not working. Next messages are shown:
pi@raspberrypi:~/CAM-OV9281RAW-V2/Linux_5.15.32/pi4 $ sudo make install
sudo install -p -m 644 vc_mipi_ov9281/vc_mipi_ov9281.ko /lib/modules/5.15.84-v7+/kernel/drivers/media/i2c/
sudo install -p -m 644 vc_mipi_ov9281.dtbo /boot/overlays/
sudo /sbin/depmod -a 5.15.84-v7+
sudo /sbin/modprobe vc_mipi_ov9281
modprobe: ERROR: could not insert 'vc_mipi_ov9281': Exec format error
make: *** [Makefile:35: install] Error 1

Could you point me how to solve it. I would like to use your driver in Mode 11 and Mode 12 in my Pi Zero.

Thanks in advance

@Belroguim
Copy link
Author

I have also tried to compile driver from sources. Downloading headers of my kernel (5.15.84) according to this:
https://github.com/raspberrypi/firmware/releases/tag/1.20230106
https://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/
And "make" following this:
https://github.com/INNO-MAKER/CAM-OV9281RAW-V2/blob/main/Documents/CAM-MIPI9281V2-Compile%20Driver%20Source%20Code.pdf
Paying attention to also include this:
dtoverlay=vc_mipi_ov9281,i2c_pins_28_29=1

But again, I end with:
pi@raspberrypi:~ $ ls /dev/video0
ls: cannot access '/dev/video0': No such file or directory

I would thankfull any advide or clarification. May be it is not possible to accomplish what I am tring or someone could point me in the right direction.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant