Difference between revisions of "Category:How to - Android"

From Gumstix User Wiki
Jump to: navigation, search
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
To get started with Android on Gumstix, have a look at https://github.com/gumdroid/manifest.  This page links to some older methods.
 +
 
== Android on Overo ==
 
== Android on Overo ==
The rowboat-android project is focuses on creating a port of Android for the TI OMAP processors such as the OMAP3503 and OMAP3530 used on the Gumstix Overo boards.  By following these instructions, it is possible to get a version of Android running on the Overo.
 
First, follow the instructions [http://code.google.com/p/rowboat/wiki/Source here] to download and setup the rowboat project.  Use ''rowboat-froyo.xml'' as the manifest name.
 
The Android build system uses the repo tool to control a set of git repositories which, together can create an Android image; the repo tool is controlled with a manifest file.
 
Let's create our own addition to the manifest file to pick up the additional Overo-specific material.  Create a file called ''local_manifest.xml'' in the ''.repo'' directory that looks like this:
 
<code>
 
<?xml version="1.0" encoding="UTF-8"?>
 
<manifest>
 
  <remote  name="gumstix"
 
          fetch="git://gitorious.org/android-for-overo"
 
          review="" />
 
  <!-- path defines where to put the repository, name defines where on the remote to fetch it from -->
 
  <project path="device/gumstix/overo"
 
          name="device-gumstix-overo"
 
          remote="gumstix"
 
          revision="master" />
 
  </manifest>
 
</code>
 
  
Follow up with a ''repo sync''.
+
The rowboat-android project has created a port of Android for the TI OMAP processors such as the OMAP3503 and OMAP3530 processors used on Gumstix Overo COMs. See [[Android_Gingerbread|these instructions]] to get Android Gingerbread running on an Overo COM.  The older [[RowboatAndroid|instructions]] explain how to build Android Froyo.
  
To build a kernel, follow [http://code.google.com/p/rowboat/wiki/ConfigureAndBuild#Build_kernel these] steps; you can use ''overo_android_defconfig'' to configure the kernel.  For the time being, you can get this file [http://dl.dropbox.com/u/211887/overo_android_defconfig here].
 
 
Finally, follow [http://code.google.com/p/rowboat/wiki/ConfigureAndBuild#Build_rootfs these] instructions to build a root file system using ''TARGET_PRODUCT=overo'' as the argument for make.
 
 
In order to create a bootable microSD, use a recent MLO and U-boot from [http://www.sakoman.com/feeds/omap3/glibc/images/overo/ gumstix], along with the generated root file system and kernel that you've just built.
 
 
In u-boot, I issue the following commands:
 
<code>
 
$ setenv andbootargs 'setenv bootargs console=${console} mpurate=${mpurate} androidboot.console=ttyS2 console=tty0 root=${mmcroot} rw init=/init rootwait vram=12M omapfb.mode=dvi:1024x768MR-16@60 omapdss.def_disp=${defaultdisplay}'
 
$ setenv andbootcmd 'mmc init; fatload mmc 0 ${loadaddr} uImage; run andbootargs; bootm ${loadaddr}'
 
$ saveenv
 
</code>
 
To boot Android, just type ''run andbootcmd'' at the u-boot prompt. Single-quoted strings like those above are expanded when they are run which means variables in ''andbootargs'' such as ${defaultdisplay} will pick up the current setting of the environment variable.  We expect the following values for these variables: ''console=ttyS2,115200n8'', '''mpurate=500'', ''mmcroot=/dev/mmcblk0p2 rw''; certainly these values can be set explictly in andbootargs instead.
 
If you are using a 4.3" LCD panel (Chestnut43, Palo43), use ''defaultdisplay=lcd43''; for a 3.5" LCD panel (Palo35), use ''defaultdisplay=lcd35''; for an external DVI monitor (Tobi, Summit), use ''defaultdisplay=dvi''.  Even if you are using an LCD panel, it is not necessary to change the ''omapfb.mode'' as this just sets up the framebuffer in the case that an external DVI monitor is used.
 
 
Patches and improvements are most welcome---please send to ash (at) gumstix.com
 
  
 
== Android on FLOW ==
 
== Android on FLOW ==
  
[http://www.gizmoforyou.net/site GizmoForYou] has ported '''Android Cupcake''' and '''Eclair''' to the Overo line of platforms for their [http://www.gizmoforyou.net/site/shop/gizmos/computing/flow.html FLOW G1 and G1.5] Open Source PDA/Phone. The port supports many features that exist on the Overo platform as well as other FLOW features.
+
[http://www.gizmoforyou.net/site GizmoForYou] has ported '''Android Cupcake''', '''Eclair''' as well as '''Froyo (2.2)''' to the Overo line of platforms for their [http://www.gizmoforyou.net/site/shop/gizmos/computing/flow.html FLOW G1 and G1.5] Open Source PDA/Phone. The port supports many features that exist on the Overo platform as well as other FLOW features.
  
 
=== Mailing list archives ===
 
=== Mailing list archives ===
Line 68: Line 37:
  
 
=== Installing Android on OMAP platforms ===
 
=== Installing Android on OMAP platforms ===
[https://omapzoom.org/gf/project/omapandroid/wiki/ This project] focuses on the platform specific layers need to install Android on supported OMAP platforms.
+
[http://omapzoom.org/wiki/OMAP_Android_Main This project] focuses on the platform specific layers need to install Android on supported OMAP platforms.
 
+
 
+
 
+
  
 +
=== Installing Market Apps ===
 +
The standard Android market can't be used without certification from Google.  There are several [http://www.linaro.org/linaro-blog/2011/10/26/using-markets-with-linaro-android-builds/ alternative markets].
 
Further instructions and information can be posted here..
 
Further instructions and information can be posted here..

Latest revision as of 15:20, 1 April 2016

To get started with Android on Gumstix, have a look at https://github.com/gumdroid/manifest. This page links to some older methods.

Android on Overo

The rowboat-android project has created a port of Android for the TI OMAP processors such as the OMAP3503 and OMAP3530 processors used on Gumstix Overo COMs. See these instructions to get Android Gingerbread running on an Overo COM. The older instructions explain how to build Android Froyo.


Android on FLOW

GizmoForYou has ported Android Cupcake, Eclair as well as Froyo (2.2) to the Overo line of platforms for their FLOW G1 and G1.5 Open Source PDA/Phone. The port supports many features that exist on the Overo platform as well as other FLOW features.

Mailing list archives

For recent postings on the Gumstix mailing list about Android, click here.

Android on Verdex Pro

Mobile Device called "bc9"

BeatCraft, Inc. is developing verdex pro based mobile device named "bc9" and have successfully booted Android on it. Click here for more.

Android on Gumstix videos on Youtube

On Youtube, you can watch Android start up on a Gumstix in these videos posted on Youtube

Also, check the Gumstix mailing list archives for some threads about Android on Gumstix Overo and Verdex Pro COMs.

Other Useful Links

Android - an open alliance handset project

Android is a software stack for mobile devices that includes an operating system, middleware and key applications. The Android SDK provides the tools and APIs necessary to begin developing applications to run on Android-powered devices.

The Android developer site provides information about Google projects based on the Android platform, such as external libraries that extend the Android platform, Android applications, hosted services and APIs, and more.

Porting Guide to Beagleboard

Click here for the Android porting guide to the Beagle Board]

Installing Android on OMAP platforms

This project focuses on the platform specific layers need to install Android on supported OMAP platforms.

Installing Market Apps

The standard Android market can't be used without certification from Google. There are several alternative markets. Further instructions and information can be posted here..

This category currently contains no pages or media.