自学内容网 自学内容网

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 

 登录成功

小结


原文地址:https://blog.csdn.net/yueni_zhao/article/details/136812573

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!