Informatie generala Yocto

tar xjf poky-dylan-9.0.tar.bz2
mv poky-dylan-9.0.0/ poky
cd poky/
git clone
source oe-init-build-env ../build_raspberryPi
$> vim conf/local.conf
#I have 8 threads on my PC, so I would change it to 8.
MACHINE ?= "raspberrypi"
#We need to hide some packages (recipes) from bitbake as they're not yet compatible with the meta-yocto/oe-core layers we are using.
BBMASK = "meta-raspberrypi/recipes-multimedia/libav|meta-raspberrypi/recipes-core/systemd"
$> vim conf/bblayers.conf
  /.../poky/meta \
  /.../poky/meta-yocto \
  /.../poky/meta-yocto-bsp \
  /.../meta-raspberrypi \
sudo apt-get install sed wget cvs subversion git-core coreutils \
unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk \
python-pysqlite2 diffstat help2man make gcc build-essential \
g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev \
mercurial autoconf automake groff libtool xterm
bitbake rpi-basic-image
dd if=tmp/deploy/images/ of=/path/to/sd/card
  • For cross compiling:
    • use the arm compiler from Mentor graphics.
    • Or use Yocto to generate the toolchain:
bitbake meta-ide-support
cd tmp/
source ./environment-setup-armv6-vfp-poky-linux-gnueabi
arm-poky-linux-gnueabi-gcc ./hello.c -o ./hello
echo $CC

More info here:

sisteme_integrate/rezolvari/yocto_readme.txt · Ultima modificare: 2013/07/31 02:34 de către alexandru.vaduva
CC Attribution-Noncommercial-Share Alike 3.0 Unported Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0