How to install Yocto Project (Ubuntu)


Install essential environment
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm

Download Poky through git
$ git clone git://git.yoctoproject.org/poky

Move Poky folder
$ cd poky

Show git tag
$ git tag

Get all required commit
$ git fetch --tags

Checkout your tag
$ git checkout tags/yocto-3.1 -b my-yocto-3.1

Set to build environment
$ source oe-init-build-env

Modify build/conf/local.conf
Set to fit your PC cpu core count (If you don't set this up, it will operate at 1 core and the build will take a very long time)

BB_NUMBER_THREADS = "4"
PARALLEL_MAKE = "-j 4"
SSTATE_MIRRORS = "\
     "

Bitbake
$ bitbake core-image-sato

Run
$ runqemu qemux86-64



This is a summary of yoctoproject.org, and Yoctoproject is the best data related to Yocto.

#Yocto #install Yocto #YoctoProject #Linux #Build environment #Ubuntu

No comments:

Post a Comment

알뜰폰 삼성페이 교통카드 '한도 초과' 오류(등록 불가 오류) 해결방법

sk7mobile 알뜰폰 삼성페이 교통카드 등록 시, 한도 초과 문제 해결방법 skt usim 해킹 사건으로 인해 sk7mobile 알뜰폰을 사용하는 저도 usim을 바꾸고 나니 삼성페이 교통카드가 등록이 안되더라구요...  삼성페이 교통카드 기능 은...