We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:androidplatformbuildguideforexynos4412 [2014/12/07 18:57]
odroid [Android platform build guide for Exynos-4412]
en:androidplatformbuildguideforexynos4412 [2014/12/08 11:36] (current)
codewalker
Line 1: Line 1:
 +
 +====== Android platform build guide for Exynos-4412 ======
 +
 +=== How to download and build the Android source code ===
 +
 +[[https://​github.com/​hardkernel/​android]]
 +
 +== android-4.1.2 ==
 +
 +<​code>​
 +$ repo init -u https://​github.com/​hardkernel/​android.git -b 4412_4.1.2_master
 +$ repo sync
 +$ repo start 4412_4.1.2_master --all
 +$ ./​build_android.sh odroidu[x,​x2,​q,​q2]
 +</​code>​
 +If you use ODROID-U3, the build option must be “./​build_android.sh odroidu”. ​
 +
 +<​code>​
 +$ repo forall -c git reset --hard 4412_v2.x
 +</​code>​
 +
 +== android-4.4.x ==
 +<​code>​
 +$ repo init -u https://​github.com/​hardkernel/​android.git -b 4412_4.4.x_master
 +$ repo sync
 +$ repo start 4412_4.4.x_master --all
 +$ ./build.sh odroidxu platform
 +</​code>​
 +If you use ODROID-U3, the build option must be “./​build.sh odroidu platform”. ​
 +
 +* Visit this link to install the repo.
 +http://​source.android.com/​source/​downloading.html
 +
 +* To get the same version source of this Alpha 2.0 in the future, try below command of tag.
 +<​code>​
 +$ repo forall -c git reset --hard 4412_v4.x
 +</​code>​
 +
 +==== How to download the Kernel source code and build ====
 +https://​github.com/​hardkernel/​linux/​tree/​odroid-3.0.y-android
 +
 +==  Install cross compiler ==
 +http://​www.mdrjr.net/​odroid/​toots/​arm-2010q1.tar.xz
 +or
 +http://​dn.odroid.com/​toolchains/​arm-2010q1.tar.xz
 +
 +<​code>​
 +$ unxz arm-2010q1.tar.xz
 +$ tar xvf arm-2010q1.tar
 +$ sudo mkdir /​opt/​toolchains
 +$ sudo mv arm-2010q1 /​opt/​toolchains/​
 +$ vi ~/.bashrc
 +</​code>​
 +
 +<​code>​
 +export PATH=$PATH:/​opt/​toolchains/​arm-2010q1/​bin
 +export ARCH=arm
 +export CROSS_COMPILE=arm-none-linux-gnueabi-
 +$ source ~/.bashrc
 +$ arm-none-linux-gnueabi-gcc --version
 +arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2010q1-202) 4.4.1
 +Copyright (C) 2009 Free Software Foundation, Inc.
 +This is free software; see the source for copying conditions. ​ There is NO
 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 +</​code>​
 +
 +== anroid-4.1.2 ==
 +<​code>​
 +$ git clone https://​github.com/​hardkernel/​linux.git -b odroid-3.0.y-android
 +$ cd linux
 +$ make odroidu[x,​x2,​q,​q2]_android_defconfig
 +$ make -j8
 +</​code>​
 +
 +If you use ODROID-U3, the make option must be "make odroidu_android_defconfig"​.
 +
 +== anroid-4.4.3 ==
 +<​code>​
 +$ git clone https://​github.com/​hardkernel/​linux.git -b odroid-3.0.y-android
 +$ cd linux
 +$ make odroidu[x,​x2]_android_442_defconfig
 +$ make -j8
 +</​code>​
 +If you use ODROID-U3, the make option must be "make odroidu_android_defconfig"​.
 +
 +Write kernel
 +
 +In the host PC.
 +<​code>​
 +#fastboot flash kernel arch/​arm/​boot/​zIamge
 +</​code>​
 +
 +Reboot system
 +
 +In the host PC.
 +<​code>​
 +#fastboot reboot
 +</​code>​
  
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0