LeapFrog Explorers: Install OE and BitBake

From eLinux.org
Revision as of 02:20, 22 July 2010 by Reggie (talk | contribs)
Jump to: navigation, search

How to install openembedded and bitbake for the leapfrog leapster Explorer packages

OpenEmbedded and bitbake are a pair of powerful cross-compiling tools, setup correctly to do a complete build of OE packages should be as simple as running 'bitbake image' at the command line.

If you look in the LF-Linux-6905-20100610-0915.tar.gz archive you will find a folder packages/oe-bin, in here you will find all the binaries for pre-built OE packages, if that's all you need then use those and don't setup OE/bitbake.

As far as I can tell, OE/Bitbake will build everything (linux + all OE packages).

this tutorial is a work in progress, if you mess your system up don't blame me. It has been written through doing the installation on ubuntu 10.04 LTS. I have gathered information from the internet on how to install openembedded and bitbake.

Needed Files:


If you take a look at the leapfrog sources you will find LF-OE-251-20100614-0852.tar.bz2 this contains the leapfrog/lf1000 configuration files.

1. open a command prompt and enter the following, enter password when prompted:

sudo apt-get install autoconf automake gettext libboost-dev libz-dev g++ libxml2-utils xmlto python-psyco

2. in the same command prompt, again, enter the following (its all one single command)

sudo aptitude install sed wget cvs subversion git-core coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk python-pysqlite2 diffstat help2man make gcc build-essential g++ desktop-file-utils

3. enter the following 4 lines in the same command prompt:

sudo mkdir -p /stuff/build/conf

sudo mkdir -p /stuff/sources/

sudo chmod -Rf 777 /stuff/

cd /stuff/

This is where openembedded will be installed/run from, change /stuff/ to a directory path of your choice

4. Download and Install bitbake, enter the following commands:

wget http://download.berlios.de/bitbake/bitbake-1.8.18.tar.gz

tar -xvzf bitbake-1.8.18.tar.gz

mv bitbake-1.8.18 bitbake

5. Download openembedded from git repository, enter the following commands, the git commands may take some time depending on the speed of your internet connection.

git clone http://repo.or.cz/r/openembedded.git

cd openembedded

git pull

6. Copy files from the leapfrog OE folders to our installation of OE:

copy the /build, /build-lf1000, /packages and /sources folder from the /oe folder to /stuff.

copy the 2 files, e-o and setup-env.sh to /stuff, edit both files to reflect /stuff as the OE_HOME dir

That's it as far as installation of OE is concerned, not entirely sure what else needs to be setup. I suggest looking through the OE/Bitbake manuals and any lf1000 related .conf files for more clues.

I think we now need to get the kernel sources in the right place too and set project_path? copy the contents of LF-Linux-6905-20100610-0915 to /stuff merging any files/folders if prompted?