Download Android build for Cupcake stable
$ mkdir ~/Android_build $ cd ~/Android_build $ repo init -u git://labs.embinux.org/embinux-android-build/android-omap3/repo/android/platform/manifest.git -b evm-cupcake $ repo sync $ make
Note: For complete info on repo check following links
Compile Kernel
Kernel is located at
<Android_Build>/kernel
Set Environment variable $CC_PATH to toolchain path
$ export CC_PATH=/opt/arm-2007q3/bin/arm-none-linux-gnueabi- $ cd <Android_Build>/kernel $ ../vendor/embinux/support-tools/evm_build_kernel.sh
Android's Root File System (RFS)
After build compilation , RFS is generated at
~/Android_build/out/target/product/generic $ cd ~/Android_build/out/target/product/generic
Create Android_RFS directory and copy contents
$ mkdir ~/Android_RFS $ cp -a root/* ~/Android_RFS $ cp -a data/* ~/Android_RFS/data/ $ cp -a system/* ~/ Android_RFS/system/
Ownership & Permissions
Modify ownership and permissions
$ cd ~/Android_RFS $ sudo chown -R root.root * $ sudo chmod -R 777 *
Boot Arguments
console=ttyS0,115200n8 noinitrd root=/dev/mmcblk0p2 init=/init rootfstype=ext3 rw rootdelay=1 nohz=off androidboot.console=ttyS0
Debugging Android
Execute below command from shell
$logcat
Check if you can find *.dex files of android apps in /data/dalvik-cache