11-01-2018 06:56 AM
I'm getting started with video applications for MPSOC, I added video TPG and Video Frame Buffer Write and Concat to Ultra96 BSP as show in attached block diagram. I exported hdf file (attached) and generated attached dts files. My goal is to create Video For Linux (V4L) device for V4L applications.
I noticed there are comments "/* This is a place holder node for a custom IP, user may need to update the entries */" in "pl.dtsi" file.
How should I make changes to "pl.dtsi" and other dts files to have TPG working (create "/dev/video0" under Linux for V4L applications?
It appears the are vcap_tpg (compatible = "xlnx,video") and dma specified in "pl.dtsi" of ZCU102 video reference design.
Is there guideline for creating dts files for video for MPSOC? i.e.,
(1). Should I copy vcap_tpg node from ZCU102 to Ultra96 "pl.dtsi"?
(2). The "v_frmbuf_wr-2.1' IP in "pl.dtsi" does not have DMA specified, how should I add DMA parameters to it?
Thanks in advance.
11-16-2018 05:56 AM
11-01-2018 09:16 AM
I added vcap and dma parameters to "pl.dtsi" (attached) but got errors :
[ 1.422255] xilinx-video amba_pl@0:vcap_tpg: /amba_pl@0/vcap_tpg/ports/port@0 initialization failed
[ 1.422268] xilinx-video amba_pl@0:vcap_tpg: DMA initialization failed
[ 1.423019] xilinx-tpg 80010000.v_tpg: invalid format in DT
[ 1.423033] xilinx-tpg: probe of 80010000.v_tpg failed with error -22
11-03-2018 11:26 AM - edited 11-03-2018 11:27 AM
11-04-2018 02:50 PM - edited 11-04-2018 02:52 PM
I was able to create/build Vivado project using your files. I exported hdf file, created dts files using hsi, included your "system_user.dtsi" and built system-top.dtb file.
I created new BOOT.BIN with new bit file.
My Ultra96 hang half way during kernel loading without error.
The serial console at J6 header stopped at "Starting kernel ...", the DP display stopped at "ALSA device list:"
I suspect my new dtb doesn't match with new bit file.
Could you send me your BOOT.BIN, Image and system-top.dtb?
11-04-2018 05:10 PM - edited 11-04-2018 05:10 PM
11-05-2018 04:00 AM
Your files worked with your rootfs and my rootfs. I have /dev/video0, /dev/video1 and /dev/video2 created and I can use "v4l2-ctl -all" to list information of all 3 video devices.
I have not used TPG software before, how do you test Xilinx TPG from Linux?
11-10-2018 04:13 AM
Where can I find documentations on how to use Xilinx video pipelines in Linux?
11-10-2018 06:20 AM
11-14-2018 07:36 AM
Do you have any updates on this? Was @hokim's reply enough for you?
If your question is answered or your issue is solved, please mark the response which helped as solution (click on the button "Accept as solution" below the reply)
If this is not solved/answered, please reply in the topic giving more information on your current status.
11-16-2018 05:56 AM