cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
436 Views
Registered: ‎09-24-2019

4ev sdi rx/tx can not work

hardware: Zynq UltraScale+ MPSoC (ZU+) FPGA(4ev) + sdi camera
software: linux + fpga
reference:
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

has test:
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 config:
see appendix

kernel boot log:
see appendix

device tree:
see appendix

hardware:
https://pan.baidu.com/s/1UZ5iPB67DD6WnD4XDIBkuA

problems:
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.

3.no /dev/media0
root@4ev:~# ls /dev/m*
/dev/mem /dev/mmcblk0 /dev/mmcblk0p2 /dev/mtab
/dev/memory_bandwidth /dev/mmcblk0p1 /dev/mmcblk0p3
4.no /dev/v4l-subdev0
root@4ev:~# ls /dev/v4l/by-path/platform-amba_pl\@0\:vcap_csi-video-index0
/dev/v4l/by-path/platform-amba_pl@0:vcap_csi-video-index0

Tags (1)
0 Kudos
3 Replies
Highlighted
Moderator
Moderator
350 Views
Registered: ‎11-09-2015

Re: 4ev sdi rx/tx can not work

HI 695538007@qq.com 

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.

Regards


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
Highlighted
Moderator
Moderator
321 Views
Registered: ‎11-21-2018

Re: 4ev sdi rx/tx can not work

Hi 695538007@qq.com 

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,

Aoife
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Highlighted
303 Views
Registered: ‎09-24-2019

Re: 4ev sdi rx/tx can not work