prepare

sudo apt-get install build-essential
sudo apt-get install make
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install libc6-dev
sudo apt-get install patch
sudo apt-get install texinfo
sudo apt-get install libncurses-dev
sudo apt-get install git-core gnupg
sudo apt-get install flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl
sudo apt-get install ncurses-dev
sudo apt-get install zlib1g-dev
sudo apt-get install valgrind
sudo apt-get install python2.6
sudo apt-get install gawk
 # for java
sudo apt-get install sun-java5-jdk  sun-java5-jre

How to build:

mkdir beagle-cupcake
cd beagle-cupcake
 # initialize the workspace
repo init -u git://gitorious.org/0xdroid/manifest.git -b beagle-cupcake
 # make buildspec.mk set target product
echo  “TARGET_PRODUCT := beagleboard”  > buildspec.mk
 # If you want to put prebuild demo apks you can add:
echo “INSTALL_PREBUILT_DEMO_APKS := true” >> buildspec.mk
 # pull the whole workspace
 # because of the host server may be too slow or encounter some other network issues keep repo sync if failed. 
 # This step will take a long time (depends on your network)
repo sync
 # after pull all stuff, just make, and wait for a long time. (depends on you CPU power and memory size.) 
make  # if you have 4 cpus you can use “make -j4”

After build success, the system.img is the rootfs image in ubifs. You can rename it to android-beagle.ubi and using the installer installing to nand of beagleboard.



0xlab will keep maintaining on this branch. If you are interested in following the latest development, you can just follow the branch but not the release tag.

kernel

0xkernel is hosted in gitorious.org, too:

http://gitorious.org/0xlab-kernel/

First, make sure that you are checking out omap3 branch:

$ git clone git://gitorious.org/0xlab-kernel/kernel.git
$ git branch -r
$ git checkout -b omap3 origin/omap3

And then, select defconfig for Beagleboard:

$ cp arch/arm/configs/omap3_beagle_defconfig .config
$ make menuconfig