I followed the directions here https://www.avnet.com/wps/wcm/connect/onesite/9fe02bc9-8335-4da2-924a-1bdde941e534/RzBoard-Linux-Yocto-UserManual-v2.1.pdf?MOD=AJPERES&CACHEID=ROOTWORKSPACE.Z18_NA5A1I41L0ICD0ABNDMDDG0000-9fe02bc9-8335-4da2-924a-1bdde941e534-ogmf6kR
enable_overlay_camera=ov5640 in uEnv.txt
media-ctl -d /dev/media0 -r
media-ctl -d /dev/media0 -l "'rzg2l_csi2 10830400.csi2':1 -> 'CRU output':0 [1]"
media-ctl -d /dev/media0 -V "'rzg2l_csi2 10830400.csi2':1 [fmt:UYVY8_2X8/1920x1080 field:none]"
media-ctl -d /dev/media0 -V "'ov5640 0-003c':0 [fmt:UYVY8_2X8/1920x1080 field:none]"
------------------------------------------------------------
root@rzboard:/home/yale/workspace/novatek_port/Source/hrnet# yavta -c1 -Fyavta_video_1920x1080_1.yuv -s 1920x1080 /dev/video0
Device /dev/video0 opened.
Device `RZV2L_CRU' on `platform:10830000.video' is a video output (without mplanes) device.
Video format set: YUYV (56595559) 1920x1080 (stride 3840) field none buffer size 4147200
Video format: YUYV (56595559) 1920x1080 (stride 3840) field none buffer size 4147200
8 buffers requested.
length: 4147200 offset: 0 timestamp type/source: mono/EoF
Buffer 0/0 mapped at address 0xffffae944000.
length: 4147200 offset: 4149248 timestamp type/source: mono/EoF
Buffer 1/0 mapped at address 0xffffae54f000.
length: 4147200 offset: 8298496 timestamp type/source: mono/EoF
Buffer 2/0 mapped at address 0xffffae15a000.
length: 4147200 offset: 12447744 timestamp type/source: mono/EoF
Buffer 3/0 mapped at address 0xffffadd65000.
length: 4147200 offset: 16596992 timestamp type/source: mono/EoF
Buffer 4/0 mapped at address 0xffffad970000.
length: 4147200 offset: 20746240 timestamp type/source: mono/EoF
Buffer 5/0 mapped at address 0xffffad57b000.
length: 4147200 offset: 24895488 timestamp type/source: mono/EoF
Buffer 6/0 mapped at address 0xffffad186000.
length: 4147200 offset: 29044736 timestamp type/source: mono/EoF
Buffer 7/0 mapped at address 0xffffacd91000.
Unable to start streaming: Broken pipe (32). 8 buffers released.
gstreamer also fails with "Failed to allocate required memory."
gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! waylandsink
I'm using
Poky (Yocto Project Reference Distro) 3.1.14
Linux rzboard 5.10.83-cip1-g11a8126702 #1 SMP PREEMPT Tue Apr 5 23:00:00 UTC 2011
I also tried compiling and running app_hrnet_cam and even after some minor changes, the furthest it can get is
VIDIOC_STREAMON, where it always fails with EPIPE. This is consistent with the yavta errors
The V4L documentation suggest EPIPE means the media-ctl commands are wrong.
Is there any other camera known to work besides ov5640? How about ov5647. I built the driver and tried it but, media-ctl won't even recognize it.
Appreciate some help.