INNO-MAKER / CAM-OV9281RAW-V2

Sersor OV9281, RAW-DATA, 2-LAN Output Module
19 stars 4 forks source link

Raspberry pi 4B does not work #10

Open dronzenko opened 4 months ago

dronzenko commented 4 months ago

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