Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3552

Camera board • ov9281 stopped working P4 B => Pi5 migration

$
0
0
Hi,

I had a software working with a 200fps OV9281 on i2c on Pi4 B, the board blew up so I bought a Pi5. The camera is not registered properly by libcam now.

Code:

 uname -aLinux raspberrypi 6.1.0-rpi7-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
My `boot/firmware/config.txt`

Code:

dtparam=i2c_arm=ondtparam=audio=oncamera_auto_detect=1display_auto_detect=1auto_initramfs=1dtoverlay=vc4-kms-v3dmax_framebuffers=2disable_fw_kms_setup=1arm_64bit=1disable_overscan=1arm_boost=1[cm4]otg_mode=1[all]camera_auto_detect=1 # It was 0, but I tried 1, commenting bellow lines one by one. dtoverlay=ov9281       # if commented dmesg does not report it.dtparam=i2c_vc=on
dmesg wit above config:

Code:

$ dmesg | grep -i ov[    3.218553] rp1-cfe 1f00128000.csi: found subdevice /axi/pcie@120000/rp1/i2c@80000/ov9281@60[    3.552169] ov9281 4-0060: Detected OV009281 sensor[    3.552236] rp1-cfe 1f00128000.csi: Using sensor ov9281 4-0060 for capture
libcamera-hello reports no camera, but with -t0:

Code:

libcamera-hello -t 0[0:07:09.843345599] [2023]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0+118-563cd78e[0:07:09.857088430] [2026]  INFO RPI pisp.cpp:653 libpisp version v1.0.2 fa44a258644a 22-11-2023 (21:59:22)[0:07:09.858056306] [2026]  WARN CameraSensorProperties camera_sensor_properties.cpp:261 No static properties available for 'ov9281'[0:07:09.858071709] [2026]  WARN CameraSensorProperties camera_sensor_properties.cpp:263 Please consider updating the camera sensor properties database[0:07:09.866306711] [2026] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'ov9281_mono.json' not found for IPA module 'rpi/pisp'[0:07:09.866337037] [2026]  WARN V4L2 v4l2_subdevice.cpp:505 'ov9281 4-0060': Unknown subdev format 0x0000, defaulting to RGB encoding[0:07:09.866348423] [2026] ERROR V4L2 v4l2_subdevice.cpp:244 No information available for format '1280x800-0x0000'[0:07:09.866374453] [2026]  WARN RPiController controller.cpp:69 Failed to open tuning file ''[0:07:09.866383266] [2026] ERROR IPARPI ipa_base.cpp:146 Failed to load tuning data file [0:07:09.866392468] [2026] ERROR RPI pipeline_base.cpp:802 Failed to load a suitable IPA library[0:07:09.866400151] [2026] ERROR RPI pisp.cpp:880 Failed to register camera ov9281 4-0060: -22Preview window unavailableERROR: *** no cameras available ***
Note several ERROR logs, above.

Same SD card was working fin on Pi4 B.
** The GPIO lib has to be updated to the new lib (but had to use --break-system-packages otherwise package was not found.)

Code:

pip3 install rpi-lgpi 
Using a new cable, 15->22 pin adapter for Pi5 12C mini port. double checked the connection.

Not sure what else to do from here.

# Edit
Just found this thread: viewtopic.php?p=2207553#p2207553 that's related.

Statistics: Posted by juanmf — Thu Mar 28, 2024 8:40 pm



Viewing all articles
Browse latest Browse all 3552

Trending Articles