AndroidBuildBox
Jump to navigation
Jump to search
Ubuntu[edit | edit source]
- Start with 10.04.1 amd64
- prereqs 1: build components
sudo apt-get install git-core gnupg sun-java6-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev minicom tftpd uboot-mkimage expect python-software-properties tofrodos
- prereqs 2: java6
sudo add-apt-repository ppa:sun-java-community-team/sun-java6; sudo apt-get update; sudo apt-get install sun-java6-jdk; sudo update-java-alternatives -s java-6-sun
- prereqs 3: x64-x32 compat
sudo apt-get install ia32-libs g++-multilib libc6-dev-i386 lib32z1-dev lib32ncurses5-dev
Android Source checkout - new[edit | edit source]
cd ${ANDROID_ROOT_DIR} // wherever
wget http://android.embedded.ventureresearch.com/git/repo
chmod +x repo
./repo init -u http://android.embedded.ventureresearch.com/git/manifest.git
./repo sync
// wait 15-20 minutes
./venture/svn-setup.sh
old instructions[edit | edit source]
TI DevKit[edit | edit source]
- unpack TI_Android_Gingerbread_2_3_4Sources.tar.gz into /home/android
- rename TI_Android... into /home/android/rowboat-android
- cd /home/android/rowboat-android
- vi setup-env
#!/bin/bash export PATH=/home/android/rowboat-android/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$PATH PS1="\[\e[0;32m\][ANDROID]\[\e[0m\] \w $ "
chmod +x setup-env . setup-env
Kernel Patches[edit | edit source]
I cheated and started with embedded-prod: git pull ssh://venture@embedded-prod/home/android/rowboat-android/kernel
Done[edit | edit source]
Now you are ready to build/mess with android, go to LifeTechRelease
Benchmarks![edit | edit source]
test the time it takes to build the kernel. first time is to preload the cache... take the time from the last run, real clock.
make CROSS_COMPILE=arm-eabi- distclean cp venture-lt-config .config make ARCH=arm CROSS_COMPILE=arm-eabi- -j4 uImage make CROSS_COMPILE=arm-eabi- distclean cp venture-lt-config .config time make ARCH=arm CROSS_COMPILE=arm-eabi- -j4 uImage
current winners:
- embedded-dev2: 1m35.113s (optiplex 390, core i5-2400 4-cores, 8GB, Samsung SSD)
- embedded-dev: 2m13.898s (hyperv, 4cpu, 8GB, Raid 0+1)
- embedded-prod: 4m19.715s (dell 1950, quad-core Xeon w/HT (-j8), 4GB, RAID 1 10KRPM SCSI)