09-26-2019 10:52 PM
hardware: Zynq UltraScale+ MPSoC (ZU+) FPGA(4ev) + sdi camera
software: linux + fpga
linux code : https://github.com/Xilinx/linux-xlnx/releases/tag/xilinx-v2018.3
sdi example: https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/31686693
the total project can work well with stanalone test app in sdi pass through mode that SDI rx and SDI tx both ok.
when add VPSS and framebuffer read/write in linux,SDI doesn't work well.
in linux,capturing the signals of sdi_rx_ss,rx_locked,rx_change_done,rx_mode,rx_t_rate,rx_t_family all ok,but no
signal in video out.
kernel boot log:
1.kernel error about sdi
[ 1.715791] xilinx-video amba_pl@0:vcap_csi: Entity type for entity 80000000.v_smpte_uhdsdi_rx_ss was not initialized!
[ 1.715807] xilinx-sdirxss 80000000.v_smpte_uhdsdi_rx_ss: Xilinx SDI Rx Subsystem device found!
[ 1.727927] xilinx-sdirxss 80000000.v_smpte_uhdsdi_rx_ss: pSF will be incorrectly reported as Interlaced
[ 62.759032] xilinx-sdirxss 80000000.v_smpte_uhdsdi_rx_ss: pSF will be incorrectly reported as Interlaced
[ 62.799027] xilinx-sdirxss 80000000.v_smpte_uhdsdi_rx_ss: pSF will be incorrectly reported as Interlaced
2.has /dev/video0,but can not operate
root@4ev:~# /run/media/mmcblk0p1/yavta -l /dev/video0
Error opening device /dev/video0: neither video capture nor video output supported.
root@4ev:~# ls /dev/m*
/dev/mem /dev/mmcblk0 /dev/mmcblk0p2 /dev/mtab
/dev/memory_bandwidth /dev/mmcblk0p1 /dev/mmcblk0p3
root@4ev:~# ls /dev/v4l/by-path/platform-amba_pl\@0\:vcap_csi-video-index0
10-01-2019 06:14 AM
There might be something missing in your device tree. Make sure to refer to the all the device tree files from the VCU TRD.
For example you have errors with the TPG:
[ 1.716018] xilinx-tpg a0020000.v_tpg: invalid number of ports 0
[ 1.716033] xilinx-tpg: probe of a0020000.v_tpg failed with error -22
[ 1.716060] xilinx-tpg a0030000.v_tpg: invalid number of ports 0
[ 1.716072] xilinx-tpg: probe of a0030000.v_tpg failed with erro
If it is in the path and it is not fully up, I am not surprised that you cannot get any video.
10-07-2019 01:08 AM
If your question is answered or your issue is solved, please kindly mark the response which helped as a solution (click on "Accept as solution" button below the reply).
If this is not solved/answered, please reply in the topic giving more information on your current status.
Thanks and Regards,
10-07-2019 05:41 PM