style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8809257555105760"
data-ad-slot="9085542108">


Trick or Treat

Learning Android Note #2

Contents
1. Porting Android Eclair on Beagle Board
2. New SDK Android 3.0 API 11  installed !!
3. Sony Ericsson EDK installed
4. Porting Gingerbread on Beagle board
5.The Old man and the Droid 






#  Porting Android Eclair on Beagle Board
Date : 1 January 2011

1.Getting source code and making it as described at..
http://labs.embinux.org/index.php/Android-Eclair_porting_guide_to_BeagleBoard
2.Before compile kernel.  Don't forget to select USB Network Adapter at ...
   DeviceDrivers -> Network device support -> USB Network Adapters
3.After made root-fs and Android-Linux kernel image. Put them in SD-Card.
4.At this point, Set primary DNS in ini.rc file
# basic network init
setprop net.dns1 <primary-dns-server-ip>
5.Booting Android.
6.For the first time, It might using some time to boot. After Android boot message was end. Then, Android Eclair could be use.
7.For using ethernet. Type these command on serial terminal.

$netcfg eth0 up
$netcfg eth0 dhcp

8. I could access to Internet. It's just pain slow but working anyway.




       
# New SDK Android 3.0 API 11  installed !!
Date : 26 February 2011

     OK. I love Android but their release was so fast and I can not catch up each release. Now just updated for Android SDK 3.0 API 11 that is design for tablet uses (Codename: Honeycomb) the problem about library that I found with last update seems to be fixed. Honeycomb emulator could be run on my machine but extremely slow. I should reconsidering about buying new pc.. (-_-)

Honey Comb Emu running slowly on my PC.

       
# Sony Ericsson EDK installed
Date : 6 April 2011

     Just try to update Android SDK and just realized that Sony Erricsson EDK was ready to be install as the third party package. So, I install it and running Xperia Emulator. Hmm..Look like Gingerbread Version (indeed because it is based on Android API 9 ).

Xperia Android Emulator                                                                                              I'll be celebrating 20 years of Linux with
The Linux Foundation!


# Porting Gingerbread on Beagle board
Date : 7 May 2011

        Ok. I have some spare time for Japan Golden Week. So, I decided to learn for setting up Yocto project and Porting Gingerbread on Beagle board.
 As you see, This is my note about porting procedure. Enjoy !!
      
My try is base on how to at http://blog.sola-dolphin-1.net/archives/3166673.html

1.download source code from git.
$ git clone git://github.com/sola-dolphin1/OHA-Android-2.3_r1.0.git

2.setting environment path 
$ export ANDROID=/home/sola/android/OHA-Android-2.3_r1.0

3.build target select
$ cd $ANDROID
$ source build/envsetup.sh
$ lunch beagleboard-eng

then getting this result

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.2
TARGET_PRODUCT=beagleboard
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GRH78C
============================================

4.kernel building...
$ cd $ANDROID/kernel/beagleboard/
$ make ARCH=arm CROSS_COMPILE=$ANDROID/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- sola_omap3_beagle_android_defconfig
$ make ARCH=arm CROSS_COMPILE=$ANDROID/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- uImage -j8

5.Android rootfs building ..
$ cd $ANDROID
$ANDROID/device/sola/beagleboard/beagleboard-image.sh

==> Error : due to 64 bit build environment require --> end of the world !!
End of the world. Gingerbread require 64bit PC to compile it.

6. Then I try to compile android rootfs from official website.
$ repo init -u git://android.git.kernel.org/platform/manifest.git -b gingerbread
But got the same error !! It might be require 64 bit PC to complete building.
http://groups.google.com/group/android-building/browse_thread/thread/17c8d29b0bd4cde0?pli=1

OK. I give up. Just use ready made file system instead.
http://blog.sola-dolphin-1.net/archives/3135091.html
7.So I copy uImage and (instant) rootfs into SD card. Then booting it on Beagle board as usual.  Lucky  !!  It's working ...
Gingerbread welcome screen



# The Old man and the Droid
    
I decided to writing a new blog all about Android. With this blog I will write about more detail on my own experiments.
Please visit at
http://theoldmanandthedroid.blogspot.com/

The old man and the droid




Custom Search