Difference between revisions of "LeapFrog Explorers: Install OE and BitBake"
Revision as of 16:05, 23 July 2011
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. This will guide you through the install of OpenEmbedded and BitBake for the Leapfrog Explorers Leapster Explorer and LeapPad Explorer packages.
- LF-OE<Version>.tar.gz - This contains the leapfrog/lf1000 configuration files.
- LF-Linux<Version>.tar.gz - Contains the pre-built OE package binaries, can be used instead of building your own.
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.
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
This is all one line.
$ 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
Create your directories, this is where openembedded will be installed/run from, change /stuff/ to a directory path of your choice:
$ sudo mkdir -p /stuff/build/conf $ sudo mkdir -p /stuff/sources/ $ sudo chmod -Rf 777 /stuff/ $ cd /stuff/
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
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
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 directory.
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.
More than likely going to need some environment vars set before attempting to compile anything with BitBake.
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?