赞
踩
是因为我注意到.bb里有SRC_URI = "file://cpu0 \,所以考虑到改名字,我现在把app名和elf文件名改成了一样的cpu0,这个问题应该就不涉及到了。
我创建了一个linx的helloworld,去掉.elf后缀后跑通了,用我原来的elf文件是跑不通的。所以问题可能出在哪里,我原工程是一个有很多源文件的C++工程。下面是报错的log。
zynq@zynq-virtual-machine:~/petalinux-2018.1/zc706_0515$ petalinux-build
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
WARNING: You have included the meta-virtualization layer, but 'virtualization' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-virtualization README for details on enabling virtualization support.
Loading cache: 100% |############################################| Time: 0:00:05
Loaded 3419 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:29
Parsing of 2545
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。