Project

General

Profile

Installing Open Embedded

The following steps are required for setting up and installing a toolchain, root filesystem and kernel using the OpenEmbedded Core framework (as opposed to the "classic" framework, which is no longer supported). These instructions were developed using a PC running Ubuntu 12.04 LTS using kernel version 3.2.0-26.

Reference Material:

Ubuntu Packages Installed

  • git
  • subversion
  • build-essential
  • automake
  • gawk
  • texi2html
  • texinfo
  • chrpath
  • diffstat
  • gettext
  1. Install the basic OpenEmbedded startup script
    user@host:/export/space/oe$ git clone git://github.com/Angstrom-distribution/setup-scripts.git
  2. Modify the default layers to include the MityDSP layer. Edit the setup-scripts/sources/layers.txt file and add the line:
    meta-mitydsp,git://support.criticallink.com/home/git/meta-mitydsp.git,master,HEAD
  3. Setup the basic machine configuration (this will download all the meta data, etc):
    user@host:/export/space/oe/setup-scripts$ MACHINE=mityarm335x ./oebb.sh config mityarm335x
  4. Modify the generated bitbake layers file (confg/bblayers.conf) to add the meta-mitydsp path. Update the EXTRALAYERS variable to:
    EXTRALAYERS ?= "\
     ${TOPDIR}/sources/meta-mitydsp \
    " 
    
  5. At this point, you can now source the generated script and use "bitbake" normally. You can skip the above steps when starting a new build session.
    user@host:/export/space/oe/setup-scripts$ . ~/.oe/environment-angstromv2012.05
  6. Build the QT Embedded tools and toolchain.
    user@host:~$ cd /export/space/oe/setup-scripts
    user@host:/export/space/oe/setup-scripts$ MACHINE=mityarm335x bitbake meta-qte-toolchain
  7. Build a reference filesystem
    user@host:/export/space/oe/setup-scripts$ MACHINE=mityarm335x bitbake console-image
    -OR-
    user@host:/export/space/oe/setup-scripts$ MACHINE=mityarm335x bitbake systemd-gnome-image
    

This will construct images located in the ../build/tmp-angstrom_v2012_05-eglibc/deploy/sdk and ../build/tmp-angstrom_v2012_05-eglibc/deploy/images directory under the setup-scripts path. To install the SDK, as root untar it at the root directory of your build machine. This should extract to /usr/local/oecore-i686 folder. The root filesystem images need to be populated on your boot media.

Go to top
Add picture from clipboard (Maximum size: 1 GB)