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!

AR# 72366

2018.3 Zynq UltraScale+ MPSoC: DTG fails to generates the nodes for design with multiple input SDI RX

Description

I have a PetaLinux 2018.3 design with Zynq UltraScale+ MPSoC devices with multiple input SDI RX.

The device-tree-generator does not generate the nodes, and I am seeing the below error message in the log:

 
$ petalinux-build -c device-tree
[INFO] building device-tree
[INFO] sourcing bitbake
INFO: bitbake virtual/dtb
Parsing recipes: 100% |##############################################################################
###############################################################################
####################################
| Time: 0:00:11
Parsing of 2569 .bb files complete (0 cached, 2569 parsed). 3461 targets, 137 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |##############################################################################
###############################################################################
#################################| Time: 0:00:12
Checking sstate mirror object availability: 100% |##############################################################################
###############################################################################
#########| Time: 0:00:10
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: device-tree-xilinx+gitAUTOINC+b7466bbeee-r0 do_configure: Function failed: do_configure (log file is located at /tmp/sandeepg/plnx/2018.3/zcu106-vcu-sdi/work/zcu106_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/temp/log.do_configure.20222)
ERROR: Logfile of failure stored in: /tmp/sandeepg/plnx/2018.3/zcu106-vcu-sdi/work/zcu106_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/temp/log.do_configure.20222
Log data follows:
| DEBUG: Executing shell function do_configure
| MISC_ARG is  -hdf_type hdf -yamlconf /tmp/sandeepg/plnx/2018.3/zcu106-vcu-sdi/work/zcu106_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/device-tree.yaml
| APP_ARG is  -app "device-tree"
| Using xsct from: /proj/gsd/petalinux/2018.3/tools/xsct/SDK/2018.3/bin/xsct
| cmd is: xsct -sdx -nodisp /tmp/sandeepg/plnx/2018.3/zcu106-vcu-sdi/work/zcu106_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/dtgen.tcl -ws /group/bcapps/sandeepg/plnx-workspace/2018.3/zcu106-vcu-sdi/build/../components/plnx_workspace/device-tree -pname device-tree -rp /tmp/sandeepg/plnx/2018.3/zcu106-vcu-sdi/work/zcu106_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/git -processor psu_cortexa53_0 -hdf /tmp/sandeepg/plnx/2018.3/zcu106-vcu-sdi/deploy/images/zcu106-zynqmp/Xilinx-zcu106-zynqmp.hdf -arch 64  -app "device-tree"  -hdf_type hdf -yamlconf /tmp/sandeepg/plnx/2018.3/zcu106-vcu-sdi/work/zcu106_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/device-tree.yaml
| INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
| hsi::open_hw_design: Time (s): cpu = 00:00:10 ; elapsed = 00:00:15 . Memory (MB): peak = 722.145 ; gain = 179.461 ; free physical = 22853 ; free virtual = 229538
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: Frequency 33.330 used instead of 33.333
| WARNING: psu_usb_xhci_0: No reset found
| ERROR: [Hsi 55-1982] amba_pl is not a valid node
| ERROR: [Common 17-39] 'set_property' failed due to earlier errors.
| ERROR: [Hsi 55-1545] Problem running tcl command ::sw_vproc_ss::generate : ERROR: [Common 17-39] 'set_property' failed due to earlier errors.
|     while executing
| "rdi::set_property PARENT amba_pl vcap_csi"
|     invoked from within
| "set_property PARENT "${new_parent}" $node"
|     (procedure "update_dt_parent" line 32)
|     invoked from within
| "update_dt_parent ${node} ${parent_obj} ${dts_file}"
|     ("foreach" body line 4)
|     invoked from within
| "foreach node ${dts_nodes} {
|                       if {[regexp $pattern $node match]} {
|                               set_cur_working_dts ${dts_file}
|                               set node [update_dt_parent ${node} ${paren..."
|     ("foreach" body line 2)
|     invoked from within
| "foreach pattern "^${node_name}$" {
|               foreach node ${dts_nodes} {
|                       if {[regexp $pattern $node match]} {
|                               set_cur_working_dts ${dts_file}
|                               set n..."
|     (procedure "add_or_get_dt_node" line 120)
|     invoked from within
| "add_or_get_dt_node -n "vcap_csi" -d $dts_file -p $bus_node"
|     (procedure "::sw_vproc_ss::generate" line 172)
|     invoked from within
| "::sw_vproc_ss::generate sdi_rx_input_1_v_proc_ss_0"
| ERROR: [Hsi 55-1442] Error(s) while running TCL procedure generate()
| hsi::generate_target: Time (s): cpu = 00:00:11 ; elapsed = 00:00:13 . Memory (MB): peak = 743.406 ; gain = 20.953 ; free physical = 22177 ; free virtual = 229635
| 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 "/tmp/sandeepg/plnx/2018.3/zcu106-vcu-sdi/work/zcu106_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/dtgen.tcl" line 38)
| WARNING: /tmp/sandeepg/plnx/2018.3/zcu106-vcu-sdi/work/zcu106_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/temp/run.do_configure.20222:1 exit 1 from 'eval xsct -sdx -nodisp /tmp/sandeepg/plnx/2018.3/zcu106-vcu-sdi/work/zcu106_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/dtgen.tcl -ws /group/bcapps/sandeepg/plnx-workspace/2018.3/zcu106-vcu-sdi/build/../components/plnx_workspace/device-tree -pname device-tree -rp /tmp/sandeepg/plnx/2018.3/zcu106-vcu-sdi/work/zcu106_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/git -processor psu_cortexa53_0 -hdf /tmp/sandeepg/plnx/2018.3/zcu106-vcu-sdi/deploy/images/zcu106-zynqmp/Xilinx-zcu106-zynqmp.hdf -arch 64 ${APP_ARG} ${MISC_ARG}'
| ERROR: Function failed: do_configure (log file is located at /tmp/sandeepg/plnx/2018.3/zcu106-vcu-sdi/work/zcu106_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/temp/log.do_configure.20222)
ERROR: Task (/proj/gsd/petalinux/2018.3/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2393 tasks of which 2150 didn't need to be rerun and 1 failed.
 
Summary: 1 task failed:
  /proj/gsd/petalinux/2018.3/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR: Failed to build device-tree
$

Solution

To fix this issue, you will need to apply the attached patch:

The patch should be applied to <plnx-proj-root>/project-spec/meta-user/recipes-bsp/device-tree/device-tree.bbappend

Note: To apply a patch to recipes, please refer to (UG1144) or https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842475/PetaLinux+Yocto+Tips

1) Copy the attached patch to the device-tree directory as show below.

$ cp 0001-vproc_ss-Dont-generate-error-when-there-are-multiple.patch <plnx-proj-root>/project-spec/meta-user/recipes-bsp/device-tree/files

 

2) Modify the device-tree.bbappend file with the below content:

$ vim <plnx-proj-root>/project-spec/meta-user/recipes-bsp/device-tree/device-tree.bbappend
# device-tree.bbappend content

SRC_URI += " \
    file://system-user.dtsi \
    file://0001-vproc_ss-Dont-generate-error-when-there-are-multiple.patch \

"

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

 

3) Clean the device-tree sstate cache and rebuild the device-tree:

$ petalinux-build -c device-tree -x cleansstate
$ petalinux-build -c device-tree

Attachments

Associated Attachments

AR# 72366
Date 05/29/2019
Status Active
Type General Article
Devices
Tools
IP
Boards & Kits
Page Bookmarked