AR# 64817


2014.4 PetaLinux - --get-hw-description errors out.


In Vivado 2014.2 I was able to build my project and then export and build it in PetaLinux 2014.2.

After I upgraded the project to Vivado 2014.4, I am unable to create a new PetaLinux 2014.4 project.

I receive the following error when I use the petalinux-config --get-hw-description command:

****** hsi v
**** SW Build 1071353 on Tue Nov 18 16:37:08 MST 2014
** Copyright 1986-2014 Xilinx, Inc. All Rights Reserved.

INFO: [Hsi 55-1698] elapsed time for repository loading 13 seconds
hsi::get_sw_cores: Time (s): cpu = 00:00:00.64 ; elapsed = 00:00:13 . Memory (MB): peak = 115.859 ; gain = 3.000 ; free physical = 178176 ; free virtual = 0
source hw-description.tcl -notrace
ERROR: [Common 17-55] 'get_property' expects at least one object.
Resolution: If [get_<value>] was used to populate the object, check to make sure this comm and returns at least one valid object.
while executing
"get_property IP_NAME [get_cell "${s}"]"
("foreach" body line 3)
invoked from within
"foreach s [split ${cpuslaves}] {
if { [lsearch -index 0 ${retslaves} "${s}"] < 0 } {
set sipname [get_property IP_NAME [get_cell "${s}"]]
("foreach" body line 32)
invoked from within
"foreach c [lreplace ${retcpus} 0 0] {
set cpuname [lindex ${c} 0]
set cpuarch [lindex [get_ip_property_info "arch" ${c}] 0]
set cpukname [plnx_f..."
(procedure "plnx_gen_hwsysconf" line 46)
invoked from within
"${tclproc} ${cmdline}"
invoked from within
"if { "[info procs ${tclproc}]" eq "${tclproc}"} {
${tclproc} ${cmdline}
} else {
error "proc ${tclproc} doesn't exit."
(file "build/linux/hw-description/hw-description.tcl" line 1393)
INFO: [Common 17-206] Exiting hsi at Thu May 21 13:41:31 2015...
make: *** [/build/linux/Kconfig.syshw] Error 1
ERROR: Failed to generate System hardware Kconfig file.


This behavior is related to a known issue in Vivado 2014.4.

If there is an external port routed directly from an AXI interconnect, the hardware description file that gets created has --EMPTY-- strings in it.

These string induce the above error while using the calling petalinux-config --get-hw-description.

For more details on the Vivado behavior and its patch, please see (Xilinx Answer 63036)

To apply the patch, see (Xilinx Answer 53821)

Once the patch is applied, delete the <project_name>.runs and <project_name>.sdk folders in your project directory.

You will also need to perform the "Reset Output Products" command for the block diagram followed by the "Regenerate Output Products" command.

This step is necessary to ensure that a new hardware handoff (.hwh) file is created with the patch in place.

After the above steps are completed, it is safe to export the hardware for use by PetaLinux.

Use PetaLinux to create a new project and then run the petalinux-config --get-hw-description command



AR# 64817
日期 06/19/2015
状态 Active
Type 错误信息
People Also Viewed