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

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

Jump to solution

HI,

I have a PetaLinux 2019.1 design with Zynq UltraScale+ MPSoC devices with two similar video pipelines (two inputs).

The device-tree-generator does not generate the nodes.

I saw similar problem for 2018.3 - https://www.xilinx.com/support/answers/72366.html , followed the instructions with the patch, and get errors:

$ petalinux-build -c device-tree
[INFO] building device-tree
[INFO] sourcing bitbake
[INFO] generating user layers
INFO: bitbake virtual/dtb
Loading cache: 100% |##############################################################################################################################################| Time: 0:00:01
Loaded 3813 entries from dependency cache.
Parsing recipes: 100% |############################################################################################################################################| Time: 0:00:08
Parsing of 2780 .bb files complete (2777 cached, 3 parsed). 3815 targets, 150 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |#########################################################################################################################################| Time: 0:00:01
Checking sstate mirror object availability: 100% |#################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 17 Found 2 Missed 30 Current 146 (11% match, 90% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: device-tree-xilinx+gitAUTOINC+73e546e312-r0 do_patch: Command Error: 'quilt --quiltrc /home/user/work/xilinx/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_dec_3/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch 0001-vproc_ss-Dont-generate-error-when-there-are-multiple.patch
patching file vproc_ss/data/vproc_ss.tcl
Hunk #1 FAILED at 183.
1 out of 1 hunk FAILED -- rejects in file vproc_ss/data/vproc_ss.tcl
Patch 0001-vproc_ss-Dont-generate-error-when-there-are-multiple.patch does not apply (enforce with -f)
ERROR: device-tree-xilinx+gitAUTOINC+73e546e312-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /home/user/work/xilinx/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_dec_3/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_patch.17889
ERROR: Task (/home/user/work/xilinx/petalinux_v2019_1/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 702 tasks of which 697 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/user/work/xilinx/petalinux_v2019_1/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_patch
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build device-tree

Is there any solution for 2019.1?

 

Thanks, Mor

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
790 Views
Registered: ‎09-12-2007

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

Jump to solution

I did try this in petalinux, and I see your issue:

dtf_plnx.PNG

I can actually see this in the DTG manually too. I just didnt notice as I was compiling too.

 

I have created a patch for this, and tested in 2019.1 without issue.

 

BTW: I use the DTG manually method (as shown in the wiki below) for debugging as this is much quicker than testing in Petalinux.

However, the DT created here is the same as the one generated in petalinux once the branch matches

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/136904764/Creating+Devicetree+from+Devicetree+Generator+for+Zynq+Ultrascale+and+Zynq+7000

View solution in original post

0 Kudos
12 Replies
Highlighted
Moderator
Moderator
847 Views
Registered: ‎09-12-2007

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

Jump to solution

Can you send your HDF file please. I can try this and create patch if needed (this is fixed in later additions of the DTG)

0 Kudos
Highlighted
Visitor
Visitor
827 Views
Registered: ‎09-09-2019

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

Jump to solution

Attaching the .hdf file.

Thanks,

0 Kudos
Highlighted
Moderator
Moderator
819 Views
Registered: ‎09-12-2007

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

Jump to solution

I have tested this on 2019.1 without the patch without error. I used the DTG (xilinx-v2019.1 branch from github) manually without issue.

script.PNG

Reference:

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/136904764/Creating+Devicetree+from+Devicetree+Generator+for+Zynq+Ultrascale+and+Zynq+7000

 

Can you try without the patch to see if you see this issue?

0 Kudos
Highlighted
Adventurer
Adventurer
808 Views
Registered: ‎09-05-2018

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

Jump to solution

Hi stephenm

Thanks you for your reply, I'm cureently working with msadras on the same issue and my question is is it something that we need to do to manually generate the DTS for all complex project that are somehow changing the main TRD design, is it a limitation of petalinux in the automatic DTG generation. Because this error was found even with new fresh project as following.

 

Steps to create a new project:

 

petalinux-create --type project --template zynqMP --name kds10_enc_dual
cd kds10_enc_dual
mkdir -p ./fpga/kds-10
cp ~/kds_10_dual_enc_2019_1/* ./fpga/kds-10
petalinux-config --get-hw-description `pwd`/fpga/kds-10

then build the project...

 

PetaLinux environment set to '/home/ezerbib/work/xilinx/petalinux_v2019_1'

WARNING: This is not a supported OS

INFO: Checking free disk space

INFO: Checking installed tools

INFO: Checking installed development libraries

INFO: Checking network and other services

[ezerbib@krnd4 kds10_enc_dual]$ do_build

[INFO] building project

[INFO] sourcing bitbake

[INFO] generating user layers

INFO: bitbake petalinux-user-image

Loading cache: 100% |######################################################################| Time: 0:00:00

Loaded 3810 entries from dependency cache.

Parsing recipes: 100% |####################################################################| Time: 0:00:04

Parsing of 2777 .bb files complete (2766 cached, 11 parsed). 3812 targets, 150 skipped, 0 masked, 0 errors.

NOTE: Resolving any missing task queue dependencies

Initialising tasks: 100% |#################################################################| Time: 0:00:05

Checking sstate mirror object availability: 100% |#########################################| Time: 0:00:08

Sstate summary: Wanted 931 Found 693 Missed 476 Current 0 (74% match, 0% complete)

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

ERROR: device-tree-xilinx+gitAUTOINC+73e546e312-r0 do_configure: Function failed: do_configure (log file is located at /backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_configure.29960)

ERROR: Logfile of failure stored in: /backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_configure.29960

Log data follows:

| DEBUG: Executing shell function do_configure

| MISC_ARG is  -hdf_type hdf -yamlconf /backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/device-tree.yaml

| APP_ARG is  -app "device-tree"

| Using xsct from: /home/ezerbib/work/xilinx/petalinux_v2019_1/tools/xsct/bin/xsct

| cmd is: xsct -sdx -nodisp /backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/dtgen.tcl -ws /backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/../components/plnx_workspace/device-tree -pname device-tree -rp /backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/git -processor psu_cortexa53_0 -hdf /backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/tmp/deploy/images/plnx-zynqmp/Xilinx-plnx-zynqmp.hdf -arch 64  -app "device-tree"  -hdf_type hdf -yamlconf /backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/device-tree.yaml

| INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds

| hsi::open_hw_design: Time (s): cpu = 00:00:18 ; elapsed = 00:00:19 . Memory (MB): peak = 946.820 ; gain = 222.738 ; free physical = 1940 ; free virtual = 75922

| WARNING: no s_axi_aclk for clockwizard

| WARNING: not supported pl_clk:

| WARNING: no s_axi_aclk for clockwizard

| WARNING: not supported pl_clk:

| WARNING: not supported pl_clk:

| WARNING: not supported pl_clk:

| WARNING: not supported pl_clk:

| WARNING: not supported pl_clk:

| WARNING: not supported pl_clk:

| WARNING: not supported pl_clk:

| WARNING: not supported pl_clk:

| WARNING: not supported pl_clk:

| WARNING: not supported pl_clk:

| WARNING: not supported pl_clk:

| WARNING: Frequency 33.330 used instead of 33.333

| WARNING: Audio_audio_formatter pin m_axis_mm2s is not connected... check your design

| WARNING: Audio_audio_formatter1 pin m_axis_mm2s is not connected... check your design

| WARNING: Audio_i2s_receiver pin M_AXIS_AUD is not connected... check your design

| 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_hdmi"

|     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 119)

|     invoked from within

| "add_or_get_dt_node -n "vcap_hdmi" -d $dts_file -p $bus_node"

|     (procedure "::sw_vproc_ss::generate" line 169)

|     invoked from within

| "::sw_vproc_ss::generate hdmi_input_v_proc_ss_0"

| ERROR: [Hsi 55-1442] Error(s) while running TCL procedure generate()

| hsi::generate_target: Time (s): cpu = 00:00:12 ; elapsed = 00:00:16 . Memory (MB): peak = 964.762 ; gain = 17.938 ; free physical = 940 ; free virtual = 76354

| 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 "/backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-..." line 38)

| WARNING: /backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/run.do_configure.29960:1 exit 1 from 'xsct -sdx -nodisp /backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/dtgen.tcl -ws /backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/../components/plnx_workspace/device-tree -pname device-tree -rp /backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/git -processor psu_cortexa53_0 -hdf /backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/tmp/deploy/images/plnx-zynqmp/Xilinx-plnx-zynqmp.hdf -arch 64 -app "device-tree" -hdf_type hdf -yamlconf /backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/device-tree.yaml'

| ERROR: Function failed: do_configure (log file is located at /backup/ezerbib/rdf0428-zcu106-vcu-trd-2019-1/myimage/kds10_enc_dual/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_configure.29960)

ERROR: Task (/home/ezerbib/work/xilinx/petalinux_v2019_1/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 2920 tasks of which 2184 didn't need to be rerun and 1 failed.

 

Summary: 1 task failed:

  /home/ezerbib/work/xilinx/petalinux_v2019_1/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 project

[ezerbib@krnd4 kds10_enc_dual]$

0 Kudos
Highlighted
Moderator
Moderator
791 Views
Registered: ‎09-12-2007

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

Jump to solution

I did try this in petalinux, and I see your issue:

dtf_plnx.PNG

I can actually see this in the DTG manually too. I just didnt notice as I was compiling too.

 

I have created a patch for this, and tested in 2019.1 without issue.

 

BTW: I use the DTG manually method (as shown in the wiki below) for debugging as this is much quicker than testing in Petalinux.

However, the DT created here is the same as the one generated in petalinux once the branch matches

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/136904764/Creating+Devicetree+from+Devicetree+Generator+for+Zynq+Ultrascale+and+Zynq+7000

View solution in original post

0 Kudos
Highlighted
Adventurer
Adventurer
781 Views
Registered: ‎09-05-2018

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

Jump to solution
thanks will try tomorrow
0 Kudos
Highlighted
Visitor
Visitor
742 Views
Registered: ‎09-09-2019

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

Jump to solution

Hi,

The fixed patch worked for us.

Thanks.

0 Kudos
Highlighted
Explorer
Explorer
462 Views
Registered: ‎03-21-2019

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

Jump to solution

The patch did not work for me. Is it due to differences in the hardware design?

ERROR: device-tree-xilinx+gitAUTOINC+73e546e312-r0 do_configure: Function failed: do_configure (log file is located at <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_configure.20910)
ERROR: Logfile of failure stored in: <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_configure.20910
Log data follows:
| DEBUG: Executing shell function do_configure
| MISC_ARG is  -hdf_type hdf -yamlconf <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/device-tree.yaml
| APP_ARG is  -app "device-tree"
| Using xsct from: /home/2019.1/tools/xsct/bin/xsct
| cmd is: xsct -sdx -nodisp <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/dtgen.tcl -ws <project root>/build/../components/plnx_workspace/device-tree -pname device-tree -rp <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/git -processor psu_cortexa53_0 -hdf <project root>/build/tmp/deploy/images/plnx-zynqmp/Xilinx-plnx-zynqmp.hdf -arch 64  -app "device-tree"  -hdf_type hdf -yamlconf <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/device-tree.yaml
| INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
| hsi::open_hw_design: Time (s): cpu = 00:00:20 ; elapsed = 00:00:21 . Memory (MB): peak = 805.336 ; gain = 237.363 ; free physical = 11602 ; free virtual = 41550
| WARNING: Interrupt pin "interrupt" of IP block: "HDMI_RX_TX_Ch1_v_frmbuf_rd_0" is not connected to any interrupt controller
| 
| WARNING: not supported pl_clk:
| WARNING: Interrupt pin "interrupt" of IP block: "HDMI_RX_TX_Ch1_v_frmbuf_wr_0" is not connected to any interrupt controller
| 
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: Interrupt pin "interrupt" of IP block: "HDMI_RX_TX_Ch1_v_tpg_0" is not connected to any interrupt controller
| 
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: Interrupt pin "interrupt" of IP block: "HDMI_RX_TX_Ch2_v_frmbuf_rd_0" is not connected to any interrupt controller
| 
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: Interrupt pin "irq" of IP block: "HDMI_RX_TX_Ch2_v_hdmi_tx_ss" is not connected to any interrupt controller
| 
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: Interrupt pin "interrupt" of IP block: "HDMI_RX_TX_Ch3_v_frmbuf_rd_0" is not connected to any interrupt controller
| 
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: Interrupt pin "irq" of IP block: "HDMI_RX_TX_Ch3_v_hdmi_tx_ss" is not connected to any interrupt controller
| 
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: Interrupt pin "interrupt" of IP block: "HDMI_RX_TX_Ch4_v_frmbuf_rd_0" is not connected to any interrupt controller
| 
| WARNING: Interrupt pin "irq" of IP block: "HDMI_RX_TX_Ch4_v_hdmi_tx_ss" is not connected to any interrupt controller
| 
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: no s_axi_aclk for clockwizard
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: clock frequency for the gt_refclk_p is NULL
| WARNING: not supported pl_clk:
| WARNING: clock frequency for the gt_refclk_n is NULL
| 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
| ERROR: [Common 17-161] Invalid option value '' specified for 'object'.
| ERROR: [Hsi 55-1545] Problem running tcl command ::sw_vproc_ss::generate : ERROR: [Common 17-161] Invalid option value '' specified for 'object'.
| 
|     while executing
| "get_property IP_NAME $broad_connected_out_ip"
|     ("foreach" body line 9)
|     invoked from within
| "foreach connected_out_ip $connect_out_ip {
| 		if {[llength $connected_out_ip] != 0} {
| 			set connected_out_ip_type [get_property IP_NAME $connected_out..."
|     (procedure "::sw_vproc_ss::generate" line 114)
|     invoked from within
| "::sw_vproc_ss::generate HDMI_RX_TX_Ch1_v_proc_ss_0"
| ERROR: [Hsi 55-1442] Error(s) while running TCL procedure generate()
| hsi::generate_target: Time (s): cpu = 00:00:14 ; elapsed = 00:00:16 . Memory (MB): peak = 805.336 ; gain = 0.000 ; free physical = 11832 ; free virtual = 41895
| 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 "<project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/dtgen.tcl" line 38)
| WARNING: <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/run.do_configure.20910:1 exit 1 from 'eval xsct -sdx -nodisp <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/dtgen.tcl -ws <project root>/build/../components/plnx_workspace/device-tree -pname device-tree -rp <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/git -processor psu_cortexa53_0 -hdf <project root>/build/tmp/deploy/images/plnx-zynqmp/Xilinx-plnx-zynqmp.hdf -arch 64 ${APP_ARG} ${MISC_ARG}'
| ERROR: Function failed: do_configure (log file is located at <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_configure.20910)
ERROR: Task (/home/2019.1/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_configure) failed with exit code '1'
ERROR: pmu-firmware-2019.1+gitAUTOINC+26c14d9861-r0 do_configure: Function failed: do_configure (log file is located at <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/temp/log.do_configure.21440)
ERROR: Logfile of failure stored in: <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/temp/log.do_configure.21440
Log data follows:
| DEBUG: Executing shell function do_configure
| MISC_ARG is  -yamlconf <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/pmu-firmware.yaml
| APP_ARG is  -app "ZynqMP PMU Firmware"
| Using xsct from: /home/2019.1/tools/xsct/bin/xsct
| cmd is: xsct -sdx -nodisp <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/app.tcl -ws <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/build -pname pmu-firmware -rp <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/git -processor psu_pmu_0 -hdf <project root>/build/tmp/deploy/images/plnx-zynqmp/Xilinx-plnx-zynqmp.hdf -arch 32  -app "ZynqMP PMU Firmware"  -yamlconf <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/pmu-firmware.yaml
| INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
| INFO: Update hw pmu-firmware_plat project
| Loading the sw platform from <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/build/pmu-firmware_plat/platform.spr
| Reading the platform  : "pmu-firmware_plat"
| Opening the hardware design, this may take few seconds.
| App name
| Description
| Error in copy exception raised, while copying /home/peta2019/tools/xsct/scripts/xsct/data/scw/generic.readme To <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/build/pmu-firmware_plat/export/pmu-firmware_plat/sw/sysconfig1/boot
|  Exception Message boost::filesystem::copy_file: No such file or directory: "/home/peta2019/tools/xsct/scripts/xsct/data/scw/generic.readme", "<project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/build/pmu-firmware_plat/export/pmu-firmware_plat/sw/sysconfig1/boot/generic.readme"
| /home/peta2019/tools/xsct/gnu/microblaze/lin
| 
| 
| Couldn't figure out compiler's library directory
| 
| ERROR: [Hsi 55-1545] Problem running tcl command ::sw_cpu_v2_9::generate : Couldn't figure out compiler's library directory
|     while executing
| "error "Couldn't figure out compiler's library directory" "" "hsi_error""
|     (procedure "::sw_cpu_v2_9::generate" line 147)
|     invoked from within
| "::sw_cpu_v2_9::generate psu_pmu_0"
| 
| ERROR: [Hsi 55-1442] Error(s) while running TCL procedure generate()
| 
| Failed to generate the platform.
| Reason: Failed to generate the bsp sources for domain.pmu-firmware_domain
| 
| Details: /home/peta2019/tools/xsct/gnu/microblaze/lin
| 
| 
| Couldn't figure out compiler's library directory
| 
| ERROR: [Hsi 55-1545] Problem running tcl command ::sw_cpu_v2_9::generate : Couldn't figure out compiler's library directory
|     while executing
| "error "Couldn't figure out compiler's library directory" "" "hsi_error""
|     (procedure "::sw_cpu_v2_9::generate" line 147)
|     invoked from within
| "::sw_cpu_v2_9::generate psu_pmu_0"
| 
| ERROR: [Hsi 55-1442] Error(s) while running TCL procedure generate()
| 
|     while executing
| "builtin_platform -generate quick"
|     (procedure "platform" line 221)
|     invoked from within
| "platform generate -quick"
|     invoked from within
| "if { $params(ws) ne "" } {
| 	#Local Work Space available
| 	if { $params(pname) ne "" } {
| 		# hwpname/bspname is empty then default it to pname+_hwproj/b..."
0 Kudos
Highlighted
Moderator
Moderator
456 Views
Registered: ‎09-12-2007

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

Jump to solution

Can you share your HDF/XSA file?

0 Kudos
Highlighted
Explorer
Explorer
445 Views
Registered: ‎03-21-2019

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

Jump to solution

I had the wrong petalinux version sourced, after fixing that and building again, the error is much smaller:

ERROR: device-tree-xilinx+gitAUTOINC+73e546e312-r0 do_configure: Function failed: do_configure (log file is located at <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_configure.8193)
ERROR: Logfile of failure stored in: <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_configure.8193
Log data follows:
| DEBUG: Executing shell function do_configure
| MISC_ARG is  -hdf_type hdf -yamlconf <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/device-tree.yaml
| APP_ARG is  -app "device-tree"
| Using xsct from:
| cmd is: xsct -sdx -nodisp <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/dtgen.tcl -ws <project root>/build/../components/plnx_workspace/device-tree -pname device-tree -rp <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/git -processor psu_cortexa53_0 -hdf <project root>/build/tmp/deploy/images/plnx-zynqmp/Xilinx-plnx-zynqmp.hdf -arch 64  -app "device-tree"  -hdf_type hdf -yamlconf <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/device-tree.yaml
| <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/run.do_configure.8193: line 134: xsct: command not found
| WARNING: <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/run.do_configure.8193:1 exit 127 from 'eval xsct -sdx -nodisp <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/dtgen.tcl -ws <project root>/build/../components/plnx_workspace/device-tree -pname device-tree -rp <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/git -processor psu_cortexa53_0 -hdf <project root>/build/tmp/deploy/images/plnx-zynqmp/Xilinx-plnx-zynqmp.hdf -arch 64 ${APP_ARG} ${MISC_ARG}'
| ERROR: Function failed: do_configure (log file is located at <project root>/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_configure.8193)
ERROR: Task (/home/peta2019/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_configure) failed with exit code '1'

I have also attached my HDF.

0 Kudos
Highlighted
Moderator
Moderator
443 Views
Registered: ‎09-12-2007

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

Jump to solution

Can you do a petalinux-build -x mrproper and petalinux-build -c device-tree?

 

0 Kudos
Explorer
Explorer
430 Views
Registered: ‎03-21-2019

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

Jump to solution

I did that, and I saw the same errors as my first error log (minus the bit about the compiler's library directory.)

0 Kudos