UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor
785 Views
Registered: ‎05-09-2018

Error generating DT for SDI TX SS

Jump to solution

I get a similiar error (i.e. Invalid option value '' specified for 'object') when trying to create the device-tree for a design containing the SDI TX subsystem IP.  I believe the error is a result of how the IP block is connected (i.e. the VID_IO_IN is no being driven by an "allowed" source) based on the rest of the error message: 

| ERROR: [Hsi 55-1545] Problem running tcl command ::sw_sdi_tx::generate : ERROR: [Common 17-161] Invalid option value '' specified for 'object'.
|
| while executing
| "get_property IP_NAME $connected_ip"
| (procedure "::sw_sdi_tx::generate" line 34)
| invoked from within
| "::sw_sdi_tx::generate v_smpte_uhdsdi_tx_ss_SDI_A"
| ERROR: [Hsi 55-1442] Error(s) while running TCL procedure generate()
| hsi::generate_target: Time (s): cpu = 00:00:07 ; elapsed = 00:00:11 . Memory (MB): peak = 788.984 ; gain = 17.207 ; free physical = 2579 ; free virtual = 54054
| generate_target failed
| while executing
| "error "generate_target failed""
| invoked from within
| "if {[catch {hsi generate_target -dir $project} res]} {
| error "generate_target failed"
| }"
| (file "/home/fpga1/petalinux/spu/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/dtgen.tcl" line 38)

I noticed the DTG wiki page said this under the Limitations section: 

 

DTG supports the video pipeline generation based on the internal TRD designs as mentioned in the wiki 

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/25329832/Zynq+UltraScale+MPSoC+VCU+TRD+2018.3

If there are any custom IPs connected between the video pipeline IPs DTG wont support those, user may need to add the input and output ports.
 
I'm not sure how to "add the input and outputs"
 
I also cloned the latest DTG from github (which included some 2019.1 folders) and was able to successfully generate the dts and dtb files so maybe this is an issue in 2018.3 that will be fixed in 2019.1?
Screenshot from 2019-05-14 17-00-55.png
0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
655 Views
Registered: ‎09-12-2007

Re: Error generating DT for SDI TX SS

Jump to solution

You are best off creating a patch against the xilinx-v2018.3 branch with the fixes added in master branch.

This patch can be added to the device tree recipe in your Petalinux project and update the bbappend to SRC_URI_append =+ " file://0001_your_patch.patch"

Let me know if you have any issues here

View solution in original post

8 Replies
Contributor
Contributor
782 Views
Registered: ‎05-09-2018

Re: Error generating DT for SDI TX SS

Jump to solution
 
0 Kudos
Moderator
Moderator
749 Views
Registered: ‎11-09-2015

Re: Error generating DT for SDI TX SS

Jump to solution

Hi @malburgj ,

I tried to generate the device tree using HSI (as per wiki page) and I can generate the device tree with the latest version of the device tree.

The DTS files are attached.

Can you try again on your side?

The DTS file will be generated but will not be complete. This is were the reference from the vcu trd is useful. You need to add the video in and out endpoint manually. You will need to refer to the following wiki page:

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/128024605/DTG+limitation+for+multimedia+IPs

 


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
Contributor
Contributor
731 Views
Registered: ‎05-09-2018

Re: Error generating DT for SDI TX SS

Jump to solution

Awesome, thanks for the link explaining how to define the input/output, that's what I was looking for.  

I was able to generate the DTS using HSI but not Petalinux; when I pulled the DT sources from github I noticed there were 2019.1 sources being pulled also and didn't know if this was why HSI worked and Petalinux (2018.3) did not.  I'll use HSI for now.

Thanks again.

0 Kudos
Moderator
Moderator
719 Views
Registered: ‎11-09-2015

Re: Error generating DT for SDI TX SS

Jump to solution

Hi @malburgj ,

Yes the master branch can be updated compared to the latest release. This will probably mean that 2019.1 should have this issue fixed.

Regards


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Contributor
Contributor
667 Views
Registered: ‎05-09-2018

Re: Error generating DT for SDI TX SS

Jump to solution

So I'm checking out the device-tree sources from git, changing to 2018.3 tag and only updating the sditx .mdd/.tcl files to master and am able to successfully build the dts files.

However, it doesn't look like the petalinux config menu allows you to change the device-tree source to external / local copy (like kernel and U-boot).  I know how to build the DTB locally, but how do I configure petalinux to either use these dts/dtsi files or the dtb file?  I'm currently selecting the 'remove PL from devicetree' option and manually copying content of HSI-generated pl.dtsi to my system-user.dtsi file... seems like there should be a better way?

I've tried the 'specify manual device-tree include directory' but that didn't seem to work (going to re-try though).

0 Kudos
Contributor
Contributor
661 Views
Registered: ‎05-09-2018

Re: Error generating DT for SDI TX SS

Jump to solution

Also, what's the consequence of not defining the ports (besides DT not potentially building) / what are the ports used for?  I'm in the process of digesting UG934; seems like maybe the ports are used for intializing / resetting the video pipeline?  I also still need to finish reading through the device driver and bindings, but I'm a little worried that after pushing through all this material, I'll come to learn our custom pipeline design isn't going to work properly with the device-tree / device drivers:

logiwin(bt656-2-mm)->logicvc(mm-2-s)->vtc&slice/concat(mod width/retiming cuz of cvc limitation/issue)->uhd-sdi TX SS->UHD-SDI GT

Alternatively we could spend our time replacing logiCVC w/ Xilinx's Video Mixer and VDMA.

Screenshot from 2019-05-29 12-56-49.png
0 Kudos
Moderator
Moderator
656 Views
Registered: ‎09-12-2007

Re: Error generating DT for SDI TX SS

Jump to solution

You are best off creating a patch against the xilinx-v2018.3 branch with the fixes added in master branch.

This patch can be added to the device tree recipe in your Petalinux project and update the bbappend to SRC_URI_append =+ " file://0001_your_patch.patch"

Let me know if you have any issues here

View solution in original post

Contributor
Contributor
647 Views
Registered: ‎05-09-2018

Re: Error generating DT for SDI TX SS

Jump to solution

accepting solution and creating new thread for port question:

https://forums.xilinx.com/t5/Video/video-pipeline-port-nodes/td-p/978465

0 Kudos