OLA on Beaglebone
This describes how to get OLA working on a Beaglebone from strach. At the time of writing, an "image" does not exist for the beagle bone. This process is based on using the debian os. There certainly are other ways of bulding this, but this is a method that works for me.
Preparing your debian based Beaglebone
Get Robert C nelsons Netinstall scripts,
cd /netinstall ./mk_mmc.sh --uboot bone --mmc /dev/sdX ( sdX ) is the card
this will build the boot loader onto the card. This is also based on debian Squeeze.
Once its done, put the card in your beagle, and start up. You'll need to connect the Beaglebone via USB, and talk to it via Screen. Follow the instructions for the debian install.. Select SSH server and System Ultiities for your build. It can take a while to finish a build, depending on how fast your internet connections are.
You need a couple of libraries installed for everything to work correctly. Some of these are available as packages in distros but others need to be downloaded and built manually.
First you'll need at least the following:
- uuid or ossp uuid
- lex (or flex)
- yacc (or bison)
- the protocol buffers library http://code.google.com/p/protobuf/ (version 2.3.0 or later)
- microhttpd ftp://ftp.gnu.org/gnu/libmicrohttpd/ (if you want the web UI). You need version >= 0.4.0 of microhttpd
If you're building from git you'll also need the following:
sudo apt-get install libcppunit-dev libcppunit-1.12-1 uuid-dev pkg-config libncurses5-dev libtool autoconf automake g++ libmicrohttpd-dev libmicrohttpd5 protobuf-c-compiler libprotobuf-lite6 python-protobuf libprotobuf-dev zlib1g-dev bison flex make libftdi-dev libftdi1 libusb-1.0-0-dev liblo-dev git
Note, these dependancys are slightly different from the Debian build
Check out the git repo with the following command:
cd /usr/local/src ( not entirely nessary, but you will be able to find it later ) git clone https://code.google.com/p/open-lighting/ ola cd ola
./configure --enable-rdm-tests --enable-python-libs
make make check sudo make install
Finally run ldconfig so you can use the new libraries.