Set Up yocto in Ubuntu:
Required Version : minimum required verion is ubuntu 14.04 or ubuntu 16.04 LTS
Required packages :
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential
sudo apt-get install chrpath socat cpio python python3 python3-pip python3-pexpect
sudo apt-get install xz-utils debianutils iputils-ping libsdl1.2-dev xterm
Cloning poky from git:
Create a Directory name “yocto-rocko”
$ mkdir yocto-rocko
$ cd yocto-rocko
Now Cloning the Yocto source from yoctoproject git source
yocto-rocko/$ git clone -b rocko git://git.yoctoproject.org/poky
yocto-rocko/$ source poky/oe-init-build-env
Build the basic image core-image-minimal. Which is the minimal rootfs imageof below 10 MB.
/yocto-rocko/build/$ bitbake core-image-minimal
Output Images:
/yocto-rocko/build/$ cd tmp/deploy/images/
This is the basic Build of Yocto. If you want to learn more click here.