本文主要是介绍yocto编译测试,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
源码下载
git clone -b gatesgarth git://git.yoctoproject.org/poky
lkmao@lkmao-virtual-machine:~/yocto$ git clone -b gatesgarth git://git.yoctoproject.org/poky
Cloning into 'poky'...
remote: Enumerating objects: 640690, done.
remote: Counting objects: 100% (1322/1322), done.
remote: Compressing objects: 100% (603/603), done.
remote: Total 640690 (delta 855), reused 935 (delta 705), pack-reused 639368
Receiving objects: 100% (640690/640690), 203.55 MiB | 1.40 MiB/s, done.
Resolving deltas: 100% (466327/466327), done.
lkmao@lkmao-virtual-machine:~/yocto$
源码编译
source oe-init-build-env
bitbake core-image-sato
运行镜像:
runqemu qemux86-64
如下所示:输入密码:
开始启动:
默认的启动界面:
查看yocto的Ip地址:
通过ssh登录yocto系统:
ssh 192.168.7.2@root
登录成功
小结
这篇关于yocto编译测试的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!