Skip to content

Instantly share code, notes, and snippets.

@iayanpahwa
Last active July 1, 2018 08:20
Show Gist options
  • Save iayanpahwa/fd2ba68637a6015781163a56f5d3a55e to your computer and use it in GitHub Desktop.
Save iayanpahwa/fd2ba68637a6015781163a56f5d3a55e to your computer and use it in GitHub Desktop.
Yocto

Install dependencies:

UBUNTU: sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib
build-essential chrpath socat libsdl1.2-dev xterm

FEDORA: sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch
diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath
ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue socat
findutils which SDL-devel xterm

OpenSUSE sudo zypper install python gcc gcc-c++ git chrpath make wget python-xml
diffstat makeinfo python-curses patch socat libSDL-devel xterm

CENTOS sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch
diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath socat SDL-devel xterm

Build a quemu yocto image: git clone -b fido http://git.yoctoproject.org/git/poky cd poky source oe-init-build-env build_quemu bitbake -k core-image-sato Build Artifacts --> build_quemu/tmp/deploy/images/x86

Boot the build image runqemu qemux86

Dockerfile : https://github.com/gmacario/easy-build/tree/master/build-yocto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment