inno-maker / cam-ov9281raw-v2 Goto Github PK
View Code? Open in Web Editor NEWSersor OV9281, RAW-DATA, 2-LAN Output Module
Sersor OV9281, RAW-DATA, 2-LAN Output Module
There are no drivers for the linux 5.15.61.
Installing manually with sudo make install
causes
modprobe: ERROR: could not insert 'vc_mipi_ov9281': Exec format error
make: *** [Makefile:35: install] Error 1
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
For Linux_5.15.32, in section case $strArch in
:
*aarch64*)
arch=arm64
echo "System is 64 bit arch."
driverpath=./$version/$arch/pi3_4
;;
*)
Should be
*aarch64*)
arch=arm64
echo "System is 64 bit arch."
driverpath=./$version/$arch/$model
;;
*)
To refer properly to the repository structure.
Can I use this camera for Jetson Nono and OrangePi 4 LTS?
Hi all,
Will the driver and camera work on Raspberry Pi 5 running Ubuntu 23.10 with kernel version 6.5?
Dear INNO-MAKER ,
Could you give the source code for dual camera mode for CM4? I would like to compile it for older kernel. With inno_ov9281_driver_pi_lattice_linux5.15 it works well for older kernels, but only one camera is working, second is unsupported stream type.
Hi,
I am compiling drivers from source code. everything compiles and installs but driver itself does not work.
after following instructions
ADD 'dtparam=i2c_vc=on' and 'dtoverlay=vc_mipi_ov9281' to your /boot/config.txt
ADD 'disable_touchscreen=1' to your /boot/config.txt if a touchscreen is attached
ADD 'cma=128M' to your /boot/cmdline.txt
I am rebooting and trying libcamera-hello I get this
libcamera-hello
Preview window unavailable
[0:01:05.178535738] [693] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
[0:01:05.207842367] [694] ERROR CameraSensor camera_sensor.cpp:125 'inno_mipi_ov9281 10-0060': No image format found
[0:01:05.207959590] [694] ERROR RPI vc4.cpp:219 Failed to register camera inno_mipi_ov9281 10-0060: -22
ERROR: *** no cameras available ***
dmesg | grep ov9281 gives me this
[ 0.068600] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/inno_mipi_ov9281@60
[ 6.268549] inno_mipi_ov9281: loading out-of-tree module taints kernel.
[ 6.272570] inno_mipi_ov9281 10-0060: InnoMaker Camera controller found!
[ 6.484076] inno_mipi_ov9281 10-0060: [ MAGIC ] [ mipi-module ]
[ 6.484114] inno_mipi_ov9281 10-0060: [ MANUF. ] [ Inno Maker ] [ MID=0x1421 ]
[ 6.484131] inno_mipi_ov9281 10-0060: [ SENSOR ] [ OM ov9281-M ]
[ 6.484146] inno_mipi_ov9281 10-0060: [ MODULE ] [ ID=0x9281 ] [ REV=0x0003 ]
[ 6.484161] inno_mipi_ov9281 10-0060: [ MODES ] [ NR=0x000c ] [ BPM=0x0010 ]
[ 6.704096] inno_mipi_ov9281 10-0060: Sensor MODE=1 PowerOn STATUS=0x80 i=1
[ 6.714469] inno_mipi_ov9281 10-0060: GAIN = 16
[ 6.720596] inno_mipi_ov9281 10-0060: EXPOSURE = 10896
[ 6.733596] inno_mipi_ov9281 10-0060: Model ID 0x9281, Lot ID 0x0000a1, Chip ID 0x0000
[ 6.733674] inno_mipi_ov9281 10-0060: Consider updating driver inno_mipi_ov9281 to match on endpoints
Any help on how to make driver working for rpi4?
uname -a
Linux dronzi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
Read here that Raspberry pi 4B should support it out of the box, after a few tweaks. but I get no camera detected
juanmf@raspberrypi:~ $ uname -a
Linux raspberrypi 6.1.0-rpi4-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.54-1+rpt2 (2023-10-05) aarch64 GNU/Linux
juanmf@raspberrypi:~/CAM-OV9281RAW-V2 $ ./autoinstall_driver.sh
------INNO-MAKER cammipi_ov9281 driver install script v1.0------
Enable i2c_vc in /boot/config.txt ...
count = 0
--- Add i2c_vc=on to /boot/config.txt
count2 = 0
--- Add dtoverlay=vc_mipi_ov9281 to /boot/config.txt
console=serial0,115200 console=tty1 root=PARTUUID=a9ece6e0-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=US
--- Add cma=128M to /boot/cmdline.txt
./autoinstall_driver.sh: line 81: warning: command substitution: ignored null byte in input
6.1.0-rpi4-rpi-v8
Raspberry Pi 4 Model B Rev 1.5
aarch64
@ Linux Version Not Match! Please contact [email protected]
System is 64 bit arch.
driverpath: ./0/arm64/pi3_4
@ Install Failed, Please contact [email protected]
juanmf@raspberrypi:~ $ libcamera-hello
Preview window unavailable
[0:00:49.715162321] [2584] INFO Camera camera_manager.cpp:284 libcamera v0.1.0+52-a858d20b
ERROR: *** no cameras available ***
strangely enough I get some devices (not video0) listed.
$ ls /dev/video*
/dev/video10 /dev/video11 /dev/video12 /dev/video13 /dev/video14 /dev/video15 /dev/video16 /dev/video18 /dev/video19 /dev/video20 /dev/video21 /dev/video22 /dev/video23 /dev/video31
the parameters in config files the installer script wanted to add I have added manually already.
thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.