Skip to content
baillaw edited this page Oct 14, 2013 · 20 revisions

This a meta for Yocto/OpenEmbedded Project

Get the source code

mkdir yocto && cd yocto
git clone -b dylan git://git.yoctoproject.org/poky.git
cd poky
git clone https://github.com/baillaw/meta-x10.git
git clone git://git.openembedded.org/meta-openembedded # for webserver recipes
# for Reaspberry Pi device clone this meta:
git clone -b dylan git://git.yoctoproject.org/meta-raspberrypi
# for Pandaboard device clone this meta:
git clone git://git.yoctoproject.org/meta-ti

Initialize the build environment

. oe-init-build-env build

Edit build/conf/local.conf

BB_NUMBER_THREADS = "9"
PARALLEL_MAKE = "-j 9"
MACHINE ?= "raspberrypi" or "pandaboard"
GPU_MEM = "16"

Edit build/conf/bblayer.conf

/home/user/poky/meta-ti \
BBLAYERS ?= " \
  /home/user/yocto/poky/meta \
  /home/user/yocto/poky/meta-yocto \
  /home/user/yocto/poky/meta-yocto-bsp \
  /home/user/yocto/poky/meta-x10 \
  /home/user/yocto/poky/meta-openembedded/meta-oe \
  /home/user/yocto/poky/meta-openembedded/meta-webserver \
  /home/user/yocto/poky/meta-raspberrypi \
  /home/user/yocto/poky/meta-ti \
  "

And launch the build

cd build && bitbake core-image-mochad

On ubuntu makeinfo utility is packaged in texinfo

Installation on SD CARD

Pandaboard

cd tmp/deploy/images/pandaboard
sudo cp uImage-pandaboard.bin /media/user/boot/uImage
sudo cp MLO /media/user/boot/MLO
sudo cp u-boot.img  /media/user/boot/u-boot.img
sudo tar -x -C  /media/user/rootfs/ -f core-image-mochad-pandaboard.tar.gz
sudo tar -x -C  /media/user/rootfs/ -f modules--3.4-r1a-pandaboard-20131014173402.tgz

Enjoy

Clone this wiki locally