报错信息
kemao@TP340:~/zynq/test$ petalinux-config --get-hw-description ../hardware/
INFO: Sourcing build tools
INFO: Getting hardware description...
[INFO] Generating Kconfig for project
ERROR: Failed to generate /home/kemao/zynq/test/build/misc/config/Kconfig.syshw
ERROR: Failed to Kconfig project
ERROR: Failed to generate System hardware Kconfig file.
解决方法
-
- 检查路径中是否含有中文路径(在工程的目录下使用pwd查看),如果有则修改为英文路径
-
- 安装支持包sudo apt-get install libtinfo5