cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JitendraK
Visitor
Visitor
392 Views
Registered: ‎04-26-2021

Petalinux build error: [Hsi 55-1545] Problem running tcl command ::sw_axi_ethernet::generate : ERROR: [Common 17-161] Invalid option value '' specified for 'object'.

Jump to solution

Petalinux: 2020.2

Ubuntu 18.04.03

 

$/software/Xilinx/petalinux/2020.2/settings.sh

$ petalinux-create --type project --template zynqMP --name zynqmp-iwg35m

$ petalinux-config --get-hw-description=<.xsa file path>

$petalinux-build

 

ERROR: [Common 17-161] Invalid option value '' specified for 'object'.
ERROR: [Hsi 55-1545] Problem running tcl command ::sw_axi_ethernet::generate : ERROR: [Common 17-161] Invalid option value '' specified for 'object'.

while executing
"get_property BASE_VALUE [lindex $ip_mem_handles $core]"
(procedure "::sw_axi_ethernet::generate" line 53)
invoked from within
"::sw_axi_ethernet::generate xxv_ethernet_0"
ERROR: [Hsi 55-1442] Error(s) while running TCL procedure generate()
hsi::generate_target: Time (s): cpu = 00:00:07 ; elapsed = 00:00:08 . Memory (MB): peak = 1653.598 ; gain = 0.000 ; free physical = 541 ; free virtual = 17473
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/zynqmp-iwg35m-2021.04.27-02.54.09-bKK/work/zynqmp_generic-xilinx-linux/device-tree/xilinx-v2020.2+gitAUTOINC+f725aaecff-r0/dtgen.tcl" line 38)
WARNING: /tmp/zynqmp-iwg35m-2021.04.27-02.54.09-bKK/work/zynqmp_generic-xilinx-linux/device-tree/xilinx-v2020.2+gitAUTOINC+f725aaecff-r0/temp/run.do_configure.23263:1 exit 1 from 'eval xsct -sdx -nodisp /tmp/zynqmp-iwg35m-2021.04.27-02.54.09-bKK/work/zynqmp_generic-xilinx-linux/device-tree/xilinx-v2020.2+gitAUTOINC+f725aaecff-r0/dtgen.tcl -ws /home/kumarji/work/petalinux/20210426_2_qing_25g_2020_2/zynqmp-iwg35m/project-spec/configs/../../components/plnx_workspace/device-tree -pname device-tree -rp /tmp/zynqmp-iwg35m-2021.04.27-02.54.09-bKK/work/zynqmp_generic-xilinx-linux/device-tree/xilinx-v2020.2+gitAUTOINC+f725aaecff-r0/git -processor psu_cortexa53_0 -hdf /tmp/zynqmp-iwg35m-2021.04.27-02.54.09-bKK/deploy/images/zynqmp-generic/Xilinx-zynqmp-generic.xsa -arch 64 ${APP_ARG} ${MISC_ARG}'
ERROR: Execution of '/tmp/zynqmp-iwg35m-2021.04.27-02.54.09-bKK/work/zynqmp_generic-xilinx-linux/device-tree/xilinx-v2020.2+gitAUTOINC+f725aaecff-r0/temp/run.do_configure.23263' failed with exit code 1:

 

There are similar issue reported and solutions suggested here as :  https://forums.xilinx.com/t5/Embedded-Linux/10-25G-Ethernet-Subsystem-PMA-only-device-tree-generation-fails/td-p/1097935 and https://github.com/Xilinx/device-tree-xlnx/pull/15 Could you advise how to go about to resolve this error? 

0 Kudos
1 Solution

Accepted Solutions
ibaie
Xilinx Employee
Xilinx Employee
372 Views
Registered: ‎10-06-2016

Hi @JitendraK 

The error message points out to the AXI Ethernet IP in your programmable logic, and the fact that the device-tree generator is not capable of parsing your design. There might be several reason but at the end of the day DTG might be assuming some design constraints (i.e. interrupt line connected) that your design does not meet.

The easiest way to debug usually is using the DTG "standalone" so you can add debug statements in the script or apply patches easily.
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842279/Build+Device+Tree+Blob#BuildDeviceTreeBlob-DevicetreeGenerator(DTG)

Regards


Ibai
Don’t forget to reply, kudo, and accept as solution.

View solution in original post

3 Replies
ibaie
Xilinx Employee
Xilinx Employee
373 Views
Registered: ‎10-06-2016

Hi @JitendraK 

The error message points out to the AXI Ethernet IP in your programmable logic, and the fact that the device-tree generator is not capable of parsing your design. There might be several reason but at the end of the day DTG might be assuming some design constraints (i.e. interrupt line connected) that your design does not meet.

The easiest way to debug usually is using the DTG "standalone" so you can add debug statements in the script or apply patches easily.
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842279/Build+Device+Tree+Blob#BuildDeviceTreeBlob-DevicetreeGenerator(DTG)

Regards


Ibai
Don’t forget to reply, kudo, and accept as solution.

View solution in original post

JitendraK
Visitor
Visitor
279 Views
Registered: ‎04-26-2021

Thanks @ibaie This issue came because in our design we enabled ethernet multicore but didn't assign the address ranges for those cores. Issue is now resolved.

0 Kudos
ibaie
Xilinx Employee
Xilinx Employee
227 Views
Registered: ‎10-06-2016

Hi @JitendraK 

Great to hear that you have fixed the issue. Could you mark the post as solution so it is marked as solved? It helps other to find the answers.

Regards


Ibai
Don’t forget to reply, kudo, and accept as solution.
0 Kudos