petalinux-buildERROR
- 创业
- 2025-08-22 12:15:01

最近编译Xilinx的固件的时候报了一个错,看的我云里雾里,一度认为ubuntu的版本跟petalinux的版本不匹配,想要重新安装操作系统和编译环境,想想都头大。
petalinux-create -t project --template zynqMP -n
petalinux-config --get-hw-description=./
petalinux-build
第二条命令导入的zu11eg的hdf
然后就得到下面的报错
ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories:
Please set a MACHINE in your local.conf or environment
这个提示信息让我去local.conf设置MACHINE
无论我怎么设置都不对
最后发现zu11eg属于Zynq UltraScale+ MPSoC,template应该选zynqMP
Advanced ZU19EG/ZU17EG/ZU11EG Zynq UltraScale+ MPSoC System on Module
修改后编译通过!
WTF...垃圾提示信息
petalinux-buildERROR由讯客互联创业栏目发布,感谢您对讯客互联的认可,以及对我们原创作品以及文章的青睐,非常欢迎各位朋友分享到个人网站或者朋友圈,但转载请说明文章出处“petalinux-buildERROR”
上一篇
框架--Mybatis3
下一篇
智慧场馆运营系统