I am trying to capture images using Zybo PCam , I am using vivado design and petalinux project from digilent as reference. The reference project is in v2017.4 I am trying to implement that in v2019.1
After this the media device is probed and I am successful in getting media graph as well.
However after I set the media bus formats and resolution using media-ctl commands, when I try to capture images using the command as shown below I get an error and petalinux freezes.
|media-ctl -d /dev/media0 -V '"ov5640 2-003c":0 [fmt:UYVY/'"640x"480'@1/30' field:none]'|
media-ctl -d /dev/media0 -V '"43c60000.mipi_csi2_rx_subsystem":0 [fmt:UYVY/'"640x"480'@1/30' field:none]'
v4l2-ctl -d /dev/video0 --set-fmt-video=width="640",height="480",pixelformat='YUYV'
yavta -c14 -f YUYV -s 640x480 -F /dev/video0
The following is the error I get before it freezes.
Your help and time is highly appreciated.