Bootstrap

petalinux-build ERROR

最近编译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...垃圾提示信息

;