YoctoFidoSetup

From VentureResearchWiki
Jump to navigation Jump to search

DONT USE THE TOOLCHAIN ... use yocto's toolchain.[edit | edit source]

  • setup the toolchain
wget https://launchpad.net/linaro-toolchain-binaries/trunk/2013.03/+download/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2
sudo tar -jxvf gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2 -C /opt/
  • setup the sources directory for keeping downloads
sudo mkdir -p /oe/fido-sources	
sudo chown venture:users /oe/fido-sources
  • create yocto-fido home dir
sudo mkdir -p /home/yocto-fido/
sudo chown venture:users /home/yocto-fido
  • checkout yocto distros
git clone -b fido git://git.yoctoproject.org/poky.git
cd poky
git clone –b fido http://git.linaro.org/openembedded/meta-linaro.git
git clone -b fido git://git.openembedded.org/meta-openembedded
git clone -b fido git://git.yoctoproject.org/meta-ti
git clone https://github.com/OSSystems/meta-browser.git
svn co http://svn/svn/linux/yocto/fido/meta-venture meta-venture
  • setup local.conf and bblayers.conf
mkdir -p build/conf
cd build/conf
ln –s build/conf/local.conf ../../meta-venture/local.conf
ln –s build/conf/bblayers.conf ../../meta-venture/bblayers.conf
  • startup environment for running bitbake
cd /home/yocto-fido/poky
. oe-init-build-env
  • start the full build
MACHINE=vr-am33v2-linuxboard bitbake venture-image-vrreader