From PaparazziUAV
Revision as of 03:28, 10 December 2012 by Tonyguards (talk | contribs)
Jump to navigation Jump to search

Building an Overo image for Lisa with Open Embedded

The goal is to use openmbedded to build an image for the overo with the bits needed for Lisa. Currently this includes

  1. libevent
  2. linux kernel (maintained at git://
    1. based on gumstix-oe from (git://
    2. antoine's patch for spi device node on overo
    3. preempt-rt patch
  • Make sure you have bitbake and build-essential installed:
apt-get install bitbake build-essential
  • Ubuntu 10 will also get errors during bitbake unless the following is installed
sudo apt-get install git-core help2man diffstat texi2html texinfo chrpath sgmlspl
  • And don't forget to install glib
sudo apt-get install libglib2.0-dev
  • Ubuntu 10 will also need to remove the link for /bin/sh that points to dash and instead point it to bash


sudo dpkg-reconfigure dash

and answer no when asked whether you want to install dash as /bin/sh.

or alternative:

sudo su -
cd /bin && rm -f sh && ln -s bash sh

  • Make an overo-oe directory in your home directory!!!!!, cd into it!!:
mkdir ~/overo-oe
cd ~/overo-oe
  • Clone Allen's openmebedded tree:
git clone git://

(If you want to take a look at the repository beforehand you can find it Here)

  • Copy build profile into ~/overo-oe, source it:
cp -r .
source ~/overo-oe/build/profile
  • Use bitbake to build the image:
bitbake omap3-lisa-image

On July 9 2010, on an up to date lucid lynx, the build is broken due to a bug in bug in gzip ( yeah.. they still have that... )

ERROR: do_unpack failed

solution to this error:

follow instructions of ERROR#1

In short:

sudo apt-get install gzrt
cd ~/overo-oe/sources/
gzrecover expat-2.0.1.tar.gz;mv expat-2.0.1.tar.recovered expat-2.0.1.tar;gzip expat-2.0.1.tar

say yes to the overwrite

md5sum expat-2.0.1.tar.gz; sha256sum expat-2.0.1.tar.gz

note them somewhere

gedit expat-2.0.1.tar.gz.md5

replace with the new MD5 checksum and save

cd ~/overo-oe/

change the MD5 and SHA256 checksums there to reflect the new ones, and save

cd ~/overo-oe/
bitbake omap3-lisa-image

ERROR: '.../overo-oe/' failed


In short:

Delete the '.../overo-oe/sources/libsamplerate-0.1.7.tar.gz' file

bitbake omap3-lisa-image

You need to modify the checksums in the recipe



SRC_URI[md5sum] = "6731a81cb0c622c483b28c0d7f90867d"

SRC_URI[sha256sum] = "78ed5d9ff1bf162c4a078f6a3e7432a537dd2f22dc58872b081fb01156027fcc"


'#SRC_URI[md5sum] = "ad093e60ec44f0a60de8e29983ddbc0f"

'#SRC_URI[sha256sum] = "e0a646224a0323ac63f56ef009b2d7fee11452a7b8af139b19ae71d2890dbc9c"

Then run

bitbake -c clean libsamplerate0;bitbake libsamplerate0