Editing
Android
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Installing == [http://developer.android.com/sdk/requirements.html Eclipse] [[Eclipse_install_windows | Windows]] [[Eclipse_install_linux | Linux]] == Links == [http://antipastohw.pbworks.com/w/page/34044723/Install%20Eclipse%20with%20Android%20plugins Eclipse Install] [http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3.4-DevKit-2.1_PortingGuides 2.3.4 porting guide] [http://developer.android.com/sdk/eclipse-adt.html Eclipse-Android SDK] Android SDK without using Eclipse [http://en.androidwiki.com/wiki/Using_the_Android_SDK_tools ] == Source download == http://source.android.com/source/downloading.html http://code.google.com/p/rowboat/wiki/Source <pre> $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo $ chmod a+x ~/bin/repo </pre> <pre> $ repo init -u https://android.googlesource.com/platform/manifest</pre> <pre> $ repo init -u https://gitorious.org/rowboat/manifest.git -m rowboat-donut.xml $ repo init -u https://gitorious.org/rowboat/manifest.git -m rowboat-eclair.xml $ repo init -u https://gitorious.org/rowboat/manifest.git -m rowboat-froyo.xml $ repo init -u https://gitorious.org/rowboat/manifest.git -m rowboat-gingerbread.xml $ repo init -u https://gitorious.org/rowboat/manifest.git -m rowboat-gingerbread-dsp.xml $ $ repo sync </pre> http://code.google.com/p/rowboat/wiki/ConfigureAndBuild == Building == follow the following link to build the code with a few exceptions: http://code.google.com/p/rowboat/wiki/ConfigureAndBuild Looks like we now want to install sun-java6-jdk. <pre> $ sudo apt-get install sun-java6-jdk </pre> The following is not necessary apparently. To get and install the sun-java5-jdk you have to add a couple paths to the apt respository base: <pre> $ sudo update-java-alternatives -l $ sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse" $ sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse" $ sudo apt-get update $ sudo apt-get install sun-java5-jdk $ sudo update-java-alternatives -l </pre> Now build: <pre> $ make TARGET_PRODUCT=beagleboard TARGET_BUILD_VARIANT=tests OMAPES=3.x </pre> == Tweaks to build on ubuntu 11.10+ == in frameworks/base/libs/utils/Android.mk <pre> -LOCAL_CFLAGS += -DLIBUTILS_NATIVE=1 $(TOOL_CFLAGS) +LOCAL_CFLAGS += -DLIBUTILS_NATIVE=1 $(TOOL_CFLAGS) -fpermissive </pre> in build/core/combo/HOST_linux-x86.mk <pre> -HOST_GLOBAL_CFLAGS += -D_FORTIFY_SOURCE=0 +HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 </pre> == Configuration == === Adding a network i/f === This link may also be useful [http://www.anddev.org/advanced_networking_with_android-linux-t155.html Advanced Networking] A Cisco/Linksys USB300M will install as eth0. The drivers for this device are in the kernel apparently. <pre> netcfg eth0 dhcp setprop net.dns1 <dns server ip> </pre> From the following link [http://groups.google.com/group/rowboat/browse_thread/thread/5787b9bf8618e38d google_groups] Add the following at the end of init.rc file. Do not add oneshot option. <pre> service startEth0 /system/bin/starteth0.sh </pre> Create the file /system/bin/starteth0.sh. <pre> #!/system/bin/sh #next line just needed if you want to use adb by ethernet setprop service.adb.tcp.port 5555 netcfg eth0 dhcp setprop net.dns1 <dns server ip> </pre> That should be enough. I only have one issue with the dns server that sometimes it does not set and I have to enter the command manually. If you want to connect adb by ethernet: <pre> export ADBHOST=xx.xx.xx.xx //Beagle IP adb kill-server adb start-server </pre> if you want to configure a static ip address: <pre> ifconfig eth0 192.168.1.1 netmask 255.255.255.0 route add default gw 192.168.1.1 </pre> ---- [[Main_Page]] Main [[Thermo]] Previous (Thermo)
Summary:
Please note that all contributions to SoftwareGuy may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
SoftwareGuy:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information