Changes

How to get the Android 4.0 (Ice Cream Sandwich) distribution

732 bytes added, 10:11, 31 December 2013
m
Linaro Toolchain
__TOC__
[[Image:Android-logo.png|left]][http://www.android.com Android] is a software stack for mobile devices that includes an operating system, middleware and key applications, that uses a modified version of the Linux kernel. It was initially developed by Android Inc., a firm later purchased by Google, and lately by the Open Handset Alliance. It allows developers to write managed code in the Java language, controlling the device via Google-developed Java libraries.
= Overview of How-To =
This How-To is meant to be a starting point for people to learn build and run Android images for IGEP PARIS and IGEP BERLIN devices as quickly and easily as possible.
 
= Download pre-built Android =
If you don't want to build Android yourself, you can just download the pre-built image and install it on a SD-card. Please see the README file shipped with the archive for more information.
 
You can find the archive following this link: [http://downloads.isee.biz/android/igep_firmware-android-ics.tar.bz2 igep_firmware-android-ics]
= Feedback and Contributing =
$ sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.6.0_32/bin/javac" 1
</pre>
Do the last step as well for javap, javah, javadoc , javaws and javawsjar.
Afterwards set the alternatives link to the newly installed Java version:
$ sudo update-alternatives --config javac
</pre>
Do the last step as well for javap, javah, javadoc , javaws and javawsjar.
See also https://help.ubuntu.com/community/Java#Oracle_.28Sun.29_Java_6
$ sudo apt-get install gcc-4.4-multilib g++-4.4
As root, change === Linaro Toolchain ===To create the igep-x-loader (MLO) we need the poky cross compile toolchain installed on our machine. Download the softlinks in toolchain from: https://usrwww.isee.biz/binsupport/ for gcc and g++downloads/item/igep-sdk-yocto-toolchain-1-2-2-3 Follow the setps given on the download page, so that gcc and g++ points unless you reach step 5.Instead of sourcing the environment file, export add the path to version 4.4.the toolchain to your $PATH variable:
<pre>
user$ sudo suroot$ cd export PATH=/opt/poky/1.2.1/sysroots/i686-pokysdk-linux/usr/binroot$ mv gcc gcc/armv7a-oldroot$ ln vfp-s gccneon-4.4 gccroot$ mv g++ g++-oldroot$ ln poky-s g++linux-4.4 g++rootgnueabi:$ exitPATH
</pre>
=== Linaro Toolchain ===To create the igep-x-loader (MLO) we need the linaro cross compile toolchain installed on our machineBest practice is to put this line in your ~/.bashrc file.
To check it if it's installed, try:
<pre>
$ arm-poky-linux-gnueabi-gcc --version arm-poky-linux-gnueabi-gcc (Ubuntu/Linaro GCC) 4.56.3-12ubuntu24 20120303 (prerelease) Copyright (C) 42011 Free Software Foundation, Inc. This is free software; see the source for copying conditions.5 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.3
</pre>
 
If you need to install the toolchain, have a look on this [[How_to_get_the_Poky_Linux_distribution|wiki page]]
 
== Download the source code ==
<pre>
$ . build/envsetup.sh
$ make HOST_CC=gcc-4.4 HOST_CXX=g++-4.4 TARGET_PRODUCT=igep00x0 OMAPES=5.x -j8
</pre>
 [[Category:Software distributions|Android]]
4,199
edits