源码下载
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
登录成功