Changes between Initial Version and Version 1 of Documentation/hAndroid/Setup


Ignore:
Timestamp:
Jun 13, 2011, 3:16:00 PM (13 years ago)
Author:
choochootrain
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/hAndroid/Setup

    v1 v1  
     1= Android Development On ORBIT =
     2
     3== 1. Setup computer ==
     4
     5The ssh connection will use [http://help.unc.edu/830 X11 forwarding] to display programs on your computer that are running on a remote serve (in this case, an ORBIT node.)
     6
     7If you are using Linux, ssh and the X window manager are included, so you can skip this section.
     8
     9If you are using Windows, install [http://sourceforge.net/projects/xming/files/Xming/6.9.0.31/ Xming] and download [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PuTTY].
     10
     11== 2. Reserve timeslot ==
     12
     13Go to the [https://www.orbit-lab.org/schedule/ scheduler] and reserve a timeslot
     14
     15== 3. SSH to console ==
     16
     17If you are using Linux, connect using ssh with the X11 forwarding flag
     18{{{
     19ssh -X [username]@console.[grid].orbit-lab.org
     20}}}
     21
     22If you are using Windows, first start the Xming window system.
     23Open PuTTY and turn on X11 Forwarding in Connection > SSH > X11
     24Now connect to console.[grid].orbit-lab.org through PuTTY.
     25
     26== 4. Load android image ==
     27
     28Now you need to load the android development image on a node to work on. You can use
     29{{{
     30omf stat
     31}}}
     32to see which nodes are available. To turn a node on or off, use
     33{{{
     34omf tell command [x,y]
     35}}}
     36where command is on, offh (hard power), or offs (soft power) and [x,y] is the node.
     37
     38Choose a node to image, preferably a quad core node that can handle Eclipse remotely, and load android2.ndz onto it.
     39{{{
     40omf load [x,y] android2.ndz
     41}}}
     42where [x,y] is the node.
     43
     44It will take several minutes, and omf will turn the node off when it is complete.
     45
     46Turn the node back on and ssh into it with X11 forwarding
     47{{{
     48ssh -X root@nodex-y
     49}}}
     50Now you are in the android development image!
     51
     52== 5. Start Working ==
     53
     54You can start eclipse from the command line using
     55{{{
     56eclipse &
     57}}}
     58A new Eclipse window that is running on the node should be on your screen!
     59
     60The & lets you continue to use the same terminal for more commands. Otherwise you would have to close Eclipse to do anything else.
     61The image has Java 6, Eclipse, Android SDK, and an ARM cross-compiler.