User Tools

Site Tools


android_system_overview

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
android_system_overview [2009/10/06 13:13] suapapaandroid_system_overview [2013/08/03 05:04] (current) – external edit 127.0.0.1
Line 3: Line 3:
 ====== make build env ====== ====== make build env ======
 ===== download platform source ===== ===== download platform source =====
 +플렛폼 다운로드
 +<code bash>
 +$ mkdir ~/android_workspace/platform
 +$ cd ~/android_workspace/platform
 +$ repo init -u git://android.git.kernel.org/platform/manifest.git
 +$ repo sync
 +</code>
 +platform source tree
 +<code bash>
 +$ ls -a
 +.   .repo     bionic    build   development  frameworks  packages  system
 +..  Makefile  bootable  dalvik  external     hardware    prebuilt  vendor
  
 +</code>
 ===== tool-chain ===== ===== tool-chain =====
 <code bash> <code bash>
 $ cd ... platform/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/ $ cd ... platform/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/
 +$ ls
 +arm-eabi-addr2line  arm-eabi-g++        arm-eabi-gdbtui   arm-eabi-ranlib
 +arm-eabi-ar         arm-eabi-gcc        arm-eabi-gprof    arm-eabi-readelf
 +arm-eabi-as         arm-eabi-gcc-4.4.0  arm-eabi-ld       arm-eabi-run
 +arm-eabi-c++        arm-eabi-gccbug     arm-eabi-nm       arm-eabi-size
 +arm-eabi-c++filt    arm-eabi-gcov       arm-eabi-objcopy  arm-eabi-strings
 +arm-eabi-cpp        arm-eabi-gdb        arm-eabi-objdump  arm-eabi-strip
 $ ./arm-eabi-gcc -v $ ./arm-eabi-gcc -v
 Using built-in specs. Using built-in specs.
Line 14: Line 34:
 --target=arm-eabi  --target=arm-eabi 
 --host=i686-pc-linux-gnu  --host=i686-pc-linux-gnu 
---build=i686-pc-linux-gnu  
 --enable-languages=c,c++  --enable-languages=c,c++ 
---with-gmp=/home/jingyu/projects/gcc/toolchain_build/obj/temp-install  +--disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp  
---with-mpfr=/home/jingyu/projects/gcc/toolchain_build/obj/temp-install  +--disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared  
---disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared  +--with-float=soft --with-fpu=vfp  
---with-float=soft --with-fpu=vfp --with-arch=armv5te  +--with-arch=armv5te  
---enable-target-optspace --with-abi=aapcs  +--with-gcc-version=4.4.0  
---with-gcc-version=4.4.0 --with-binutils-version=2.19 --with-arch=armv5te  +--with-binutils-version=2.19
---with-sysroot=/home/jingyu/projects/gcc/toolchain_build/cupcake_rel_root +
 --with-gmp-version=4.2.4  --with-gmp-version=4.2.4 
 --with-mpfr-version=2.4.1  --with-mpfr-version=2.4.1 
 --with-gdb-version=6.6  --with-gdb-version=6.6 
---program-transform-name='s,^,arm-eabi-,' 
-Thread model: single 
-gcc version 4.4.0 (GCC)  
 </code> </code>
 +기타 tool-chain
 +  *[[http://wiki.openmoko.org/wiki/Toolchain|toolchain from openmoko]] armv4t
 +  *[[http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite|Download Sourcery G++ Lite Edition for ARM]]
 +
 +커널 다운로드
 +<code bash>
 +$ cd ~/android_workspace
 +$ git clone git://android.git.kernel.org/kernel/common.git kernel 
 +</code>
 +
 +
 +
 +
 +====== build =====
 +platfrom build
 +<code bash>
 +
 +</code>
 +kernel build
 +<code bash>
 +
 +$ make uImage ARCH=arm CROSS_COMPILE=../prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/arm-eabi-
 +</code>
 +
 +====== porting ======
 +===== u-boot =====
 +  */board/board-name
 +===== kernel =====
android_system_overview.1254834809.txt.gz · Last modified: 2013/08/03 05:04 (external edit)