取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
ll-96
Newbie
Newbie
117 次查看
注册日期: ‎07-09-2021

petalinux2020.2 配置失败

执行 petalinux-config 时出现错误:

petalinux-config --get-hw-description=../sdk_bit
INFO: Sourcing build tools
INFO: Getting hardware description...
INFO: Rename TOP.xsa to system.xsa
[INFO] Generating Kconfig for project
ERROR: Failed to generate /home/lyc/zynq/petalinux/pro1/mylinux/build/misc/config/Kconfig.syshw
ERROR: Failed to Kconfig project
ERROR: Failed to generate System hardware Kconfig file.

日志文件如下:

[INFO] Generating Kconfig for project
package require hsi FAILED:
invalid command name "hsi::create_dt_node"
    while executing
"hsi::create_dt_node -help"
    (in namespace eval "::hsi::help" script line 6)
    invoked from within
"namespace eval ::hsi::help {
    variable version 0.1

    ::xsdb::setcmdmeta {hsi create_dt_node} categories {hsi}
    ::xsdb::setcmdmeta {hsi create..."
    (file "/usr/local/petalinux/tools/xsct/scripts/xsct/hsi/hsihelp.tcl" line 25)
    invoked from within
"source /usr/local/petalinux/tools/xsct/scripts/xsct/hsi/hsihelp.tcl"
    ("package ifneeded hsi::help 0.1" script)ERROR: Failed to generate /home/lyc/zynq/petalinux/pro1/mylinux/build/misc/config/Kconfig.syshw
ERROR: Failed to Kconfig project

已经安装了xterm和rlwrap

0 项奖励
1 回复
chaoz
Xilinx Employee
Xilinx Employee
64 次查看
注册日期: ‎09-14-2018

hi @ll-96 

请问下,

1. host机器OS及version是?是否在UG1144中OS的支持列表中?

2. 是否参照对应版本UG1144中installation requirements并安装了所有依赖包?

3. 该机器环境下能成功编译过其它petalinux工程吗?

Chao
----------------------------------------------------------------------------------------------
如果帖子有帮助,别忘“接受为解决方案”或“奖励”。谢谢!
Don't forget to "Accept as solution" or "Kudo" if it helps. Thanks!
----------------------------------------------------------------------------------------------

 

0 项奖励