执行:
petalinux-config --get-hw-description /mnt/hgfs/ubuntu_share
报错:
[INFO] sourcing bitbake
ERROR: Failed to source bitbake
ERROR: Failed to config project.
ERROR: Get hw description Failed!.
查看log文件,发现是缺少文件目录,打开/opt/pkg/petalinux/components/yocto/source目录,里面确实没有arm这个文件夹。
查了很多办法,都无济于事。最终只好重装ubuntu 16.04.3,因为之前用的是16.04.7,结果一切顺利。
重要的事情说三遍:
一定要用UG1144推荐的ubuntu版本!```
一定要用UG1144推荐的ubuntu版本!
一定要用UG1144推荐的ubuntu版本!