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

Camera board • Capturing image using ov5647 and yocto image

$
0
0
Hello,
I used the camera with raspbian Os and capturing images works, so the problem is not hardware related.
Now I created an rpi-test-image using yocto and want to capture an image using ov5647.
I added dtoverlay=ov5647 to /boot/config.txt
lsmod shows that the module ov5647 is already inserted, so all looks good

Linux version

Code:

uname -aLinux raspberrypi3 6.1.61-v7 #1 SMP Thu Nov  9 14:54:02 UTC 2023 armv7l GNU/Linux
running v4l tools shows following results:

Code:

v4l2-ctl --list-devicesunicam (platform:3f801000.csi):/dev/video0/dev/media0bcm2835-codec-decode (platform:bcm2835-codec):/dev/video10/dev/video11/dev/video12/dev/video18/dev/video31/dev/media3bcm2835-isp (platform:bcm2835-isp):/dev/video13/dev/video14/dev/video15/dev/video16/dev/video20/dev/video21/dev/video22/dev/video23/dev/media1/dev/media2

trying to capture an image gives follwing error:

Code:

v4l2-ctl --device=/dev/video0 --set-fmt-video=width=640,height=480,pixelformat=YUYV --stream-mmap --stream-to=photo.jpg --stream-count=1VIDIOC_STREAMON returned -1 (Invalid argument)
dmesg show following problem:

Code:

[    4.983474] ov5647 10-0036: Consider updating driver ov5647 to match on endpoints...[ 2512.634470] unicam 3f801000.csi: Failed to start media pipeline: -22
Can anybody give any hint on the problem ?
Thanks in advance

Statistics: Posted by bou6 — Fri Jan 26, 2024 8:14 am — Replies 0 — Views 12



Viewing all articles
Browse latest Browse all 3586

Trending Articles