安装 OpenEmbedded

UNDER MAJOR CONSTRUCTION .....

First checkout and test the basic OpenEmbedded system by building something simple:

  • git clone git://git.angstrom-distribution.org/setup-scripts oe
  • cd oe
  • ./oebbsh config overo
  • Edit ~/.oe/environment-2008 (Yes, this is really under your home directory)
  • export DISTRO="angstrom-2010.x"
  • export DISTRO_DIRNAME="angstrom_2010_x"
  • export OE_BUILD_TMPDIR="/home/balister/src/git/oe/build/tmp-angstrom_2010_x"
  • Done editing ~/.oe/environment-2008
  • Edit build/conf/local.conf
  • DISTRO = "angstrom-2010.x"
  • TMPDIR = "/home/balister/src/git/setup-scripts/build/tmp-angstrom_2010_x"
  • Done editing build/conf/local.conf
  • cd build
  • . ~/oe/environment-2008
  • bitbake nano
  • cd oe/sources
  • git clone git://code.ettus.com/ettus/ettus_oe.git
  • Edit build/conf/bblayers.conf
  • BBLAYERS = " \
/home/balister/src/git/setup-scripts/sources/openembedded \
/home/balister/src/git/setup-scripts/sources/ettus_oe \
"
  • Edit build/conf/local.conf
  • MACHINE = "usrp-e1xx"
  • Done editing build/conf/local.conf
  • cd build; bitbake console-gnuradio-image (it looks like this setup works "best" if you run bitbake from the build directory)

Now you have a basic image in build/tmp-angstrom_2010_x/deploy/eglibc/images/usrp-e1xx/ Do not use the u-boot from this directory. There should be a kernel file uImage-usrp-e1xx.bin which is a softlink to uImage-2.6.38-r91-usrp-e1xx.bin and the root file system <Image-name>-usrp-e1xx.tar.gz. You can create a new micro SD card from here

http://www.gumstix.org/create-a-bootable-microsd-card.html.

Use u-boot and MLO from here:

This is the same MLO for the older kernels and u-boot knows the newer kernels serial console is ttyO2, not ttyS2.
Now let's work on an image that includes dsplink, uhd, and as much Qt stuff as we can cross compile:
  • Download ti_cgt_c6000_6.1.17_setup_linux_x86.bin from https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm (Sorry, OE is not smart enough to get through all the login stuff)
  • Copy this file into sources/downloads
  • cd sources/downloads                                                                                                                                Run @md5sum ti_cgt_c6000_6.1.17_setup_linux_x86.bin > ti_cgt_c6000_6.1.17_setup_linux_x86.bin.md5
  • cd build; bitbake console-e1xx-devel-image

References:




注:Install OpenEmbedded(原文出处,翻译整理仅供参考!)