Android-Donut porting guide to BeagleBoard
From labs.embinux.org
Current release of Android port for OMAP3 has following features/support
- Support for BeagleBoard
- Android Toolchain's replacement with Embinux-Android support Toolchain
Contents |
Download Android build for Donut
$ mkdir ~/Android_build $ cd ~/Android_build $ repo init -u git://labs.embinux.org/embinux-android-build/android-omap3/repo/android/platform/manifest.git -b beagle-donut $ repo sync
- Note: For complete info on repo check following links
Build Compilation
$cd ~/Android_build $source build/envsetup.sh $choosecombo 1 1 beagle eng $make
Kernel Image
Current Embinux kernel for this Android port is derived from linux-omap-2.6.29.
Kernel image is generated at following path.
~/Android_build/out/target/product/beagle/kernel
Copying Android RFS
$cd ~/Android_build/out/target/product/beagle
$mkdir ~/Android_RFS $cp -a root/* ~/Android_RFS $cp -a data/* ~/Android_RFS/data/ $cp -a system/* ~/ Android_RFS/system/ $cd ~/Android_RFS $sudo chown -R root.root * $sudo chmod -R 777 *
Key Mapping
Keyboard Key Android Event ESC Back Right Window Menu Page up Volume up Page down Volume down Left Window Power Scroll lock Explorer Right arrow DPAD Left arrow DPAD left Up arrow DPAD up Down arrow DPAD down Enter Enter Home Home Tab Tab Note:- Along with above keys alphabetical characters & digit keys are mapped.
Booting Android on board from MMC/SD
- Create two partitions on MMC/SD 1.FAT 2.ext3
- For more information check here
- Kernel Arguments:-
Debugging Android
Execute below command from shell
$logcat
Check if you can find *.dex files of android apps in /data/dalvik-cache
Enabling Network
Connect eth0 interface to usb hub via ethernet to usb converter
Edit init.rc
<Android_RFS>/init.rc # basic network init setprop net.dns1 <primary-dns-server-ip>
Boot Beagle board Execute following commands from minicom
$netcfg eth0 up $netcfg eth0 dhcp
NOTE:- Enable appropriate driver for your "ethernet to usb converter" in kernel. Driver can be found at :-
│ -> DeviceDrivers ││ -> Network device support (NETDEVICES[=y]) ││ -> USB Network Adapters
