Introduction
From labs.embinux.org
This page guides about :
- System requirements (packages required) for host machine
- Replacement of Android's inbuild toolchain with Embinux toolchain in Android build
- List of packages that we have modified which syncs the Android build from Embinux Labs
Contents |
System Requirements
1. Host machine (32-bit (x86)) with Ubuntu installed
2. Install the repo and other required packages from the following location
http://source.android.com/download
3. Install git binary
sudo apt-get install git-core in ubuntu
4. Install the mkimage binary for making the kernel uImage
sudo apt-get install uboot-mkimage
5. Check the java version in your system using below command
javac -version . If java version is 1.6 switch to java 1.5
Replacing Android Toolchain with EMBINUX Toolchain
1. Take the android build from the google website (http://android.git.kernel.org/ ) using below command
repo init -u git://android.git.kernel.org/platform/manifest.git
2. Remove the android toolchain (arm-eabi-4.2.1) and put your toolchain in following directory
prebuilt/linux-x86/toolchain directory
3. Replace the android toolchain versions in the following paths
* build/envsetup.sh (4.2.1) * build/core/combo/linux-arm.mk (4.2.1) * development/pdk/pndk/samples/sample/Makefile.lib (4.2.1) * development/pdk/pndk/config/config.mk (4.2.1) * development/pdk/pndk/samples/samplejni/Makefile (4.2.1)
4. Compile Android build with new toolchain
make command in Android Build top directory
Release Notes - Android Build(s)
Android-Cupcake-Beagle
1. Android kernel and other stack is compiled separately
2. For kernel compilation a script (beagle_build_setup.sh) is being used. This script does following functions
export PATH=$PATH:toolchain bin path(/opt/arm-none-linux-gnueabi/bin) make omap3_beagle_android_defconfig make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage
3. Below listed folders are modified and syncs from EMBINUX Labs GIT
frameworks/base system/core frameworks/policies/base development vendor/embinux/support-tools vendor/embinux/beagle kernel-2.6.27
Android-Cupcake OMAP3 EVM
1. In this build we have compiled Android build and kernel separately. For kernel compilation we have developed one script file (omap3evm_build_setup.sh) . The script does following things
export PATH=$PATH:toolchain bin path(/opt/arm-none-linux-gnueabi/bin) make omap3_evm_android_defconfig make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage
2. Below listed folders are modified and syncs from EMBINUX Labs GIT
frameworks/base system/core frameworks/policies/base development vendor/embinux/support-tools kernel-2.6.29
Android-Gstreamer-Cupcake-Beagle
1. In this build we have replaced Android toolchain with embinux-android-toolchain as we require armv7 support for compiling kernel along with the build. After toolchain replacement we compiled the kernel along with android build.
2. Below listed folders are modified and syncs from EMBINUX Labs GIT
prebuilt frameworks/base system/core frameworks/policies/base development vendor/embinux/beagle kernel-2.6.29 gstreamer related ( ffmpeg, glib, gnonlin, gst-ffmpeg, gst-openmax, gst-plugins-bad, gst-plugins-good, gst-plugins-ugly, gstreamer, libid3tag, libmad, ligogg, liboil, gst-plugins-android, alsa-lib, alsa-uitls, alsa_sound) bionic build dalvik
Android-GStreamer-Cupcake-OMAP3 EVM
1. In this build we have replaced android toolchain with embinux-android-toolchain and compiled the kernel along with Android build.
2. Below listed folders are modified and syncs from EMBINUX Labs GIT
prebuilt frameworks/base system/core frameworks/policies/base development vendor/embinux/omap3evm kernel-2.6.29 gstreamer related( ffmpeg, glib, gnonlin, gst-ffmpeg, gst-openmax, gst-plugins-bad, gst-plugins-good, gst-plugins-ugly, gstreamer, libid3tag, libmad, ligogg, liboil, gst-plugins-android, alsa-lib, alsa-uitls, alsa_sound) bionic build dalvik
Android-Donut-Beagle
1. In this build we have replaced android toolchain with embinux-android-toolchain and compiled the kernel along with Android build.
2. Below listed folders are modified and syncs from EMBINUX Labs GIT
build development prebuilt kernel-2.6.29 frameworks/base system/core frameworks/policies/base vendor/embinux/beagle
Android-Donut-OMAP3 EVM
1. In this build we have replaced android toolchain with embinux-android-toolchain and compiled the kernel along with Android build.
2. Below listed folders are modified and syncs from EMBINUX Labs GIT
build development prebuilt kernel-2.6.29 frameworks/base system/core frameworks/policies/base vendor/embinux/omap3evm
