User Tools

Site Tools


android

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 [2009/10/05 13:14] suapapaandroid [2013/08/03 05:04] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== cross compile tool ====== ====== cross compile tool ======
-===== armv4-eabi =====+===== armv4t-eabi ===== 
 +  *[[http://wiki.openmoko.org/wiki/Toolchain|toolchain from openmoko]]
   *[[http://trac.koolu.org/wiki/Toolchain|Toolchain]]   *[[http://trac.koolu.org/wiki/Toolchain|Toolchain]]
 +  *[[http://wiki.openmoko.org/wiki/Android_porting|openmoko android porting]]
  
 ===== Sourcery G++ lite 설치 ===== ===== Sourcery G++ lite 설치 =====
Line 94: Line 95:
 $ make clean $ make clean
 ... ...
-$ make rebis_nand_config  +$ make rebis_atm322a_config 
-... with NAND BOOTING configuration +...
-Configuring for rebis board...+
 $ CROSS_COMPILE=arm-none-eabi- make $ CROSS_COMPILE=arm-none-eabi- make
 ... ...
 </code> </code>
-  * NOR부팅 : rebis-atm322a_config, 2440_intel16_config, 2440_intel32_config 
 빌드 결과물 확인 빌드 결과물 확인
 <code bash> <code bash>
Line 110: Line 109:
   Flags:                             0x5000002, has entry point, Version5 EABI   Flags:                             0x5000002, has entry point, Version5 EABI
 </code> </code>
 +tftp로 커널바이너리와 ramdisk 밀어넣기
 +<code bash>
 +REBIS# set ethaddr 12:34:56:65:43:21 MAC address
 +REBIS# set serverip 192.168.1.1 Host IP address
 +REBIS# set ipaddr 192.168.1.2 Target IP address
 +REBIS# t 30800000 ramdisk-8.gz ramdisk download
 +REBIS# t 32000000 zImage kernel download
 +REBIS# go 32000000 start
 +REBIS# nandw 0 200000 32000000 kernel Fusing
 +REBIS# nandw 100 340000 30800000 ramdisk Fusing
 +REBIS# set bootcmd nandr 0 200000 32000000\; nandr 100 340000 30800000\;g 32000000
 +</code>
 +
   *[[http://kelp.or.kr/korweblog/stories.php?story=04/07/08/5932057&topic=25|고도리님 uboot분석]] in kelp   *[[http://kelp.or.kr/korweblog/stories.php?story=04/07/08/5932057&topic=25|고도리님 uboot분석]] in kelp
   *[[http://asmlove.co.kr/wiki/wiki.php/HowToPorting_uboot|HowToPorting_uboot]] in asemlove   *[[http://asmlove.co.kr/wiki/wiki.php/HowToPorting_uboot|HowToPorting_uboot]] in asemlove
 +  *[[http://lists.openmoko.org/pipermail/commitlog/2008-January/003410.html|u-boot armv4t eabi patch]] from openmoko
  
 +====== kernel ======
 +make uImage ARCH=arm CROSS_COMPILE=...
 +===== trouble shooting =====
 +SEGMENT_SIZE 디파인 되어있지 않다고 에러 뿜을때
 +<code bash>
 +// NOSTDINC_FLAGS에 -Dlinux 추가...
 +NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) -Dlinux
 +CHECKFLAGS     += $(NOSTDINC_FLAGS) 
 +</code>
  
 ====== T32 cmm ====== ====== T32 cmm ======
Line 124: Line 146:
 ./Document/Emulator/TRACE32/win.cmm ./Document/Emulator/TRACE32/win.cmm
 </code> </code>
 +
 +
 +
 +
  
 ====== references ====== ====== references ======
Line 129: Line 155:
   *[[http://developer.android.com/|android developers]]   *[[http://developer.android.com/|android developers]]
   *[[http://www.androiddevelopment.org/|android developers blog]]   *[[http://www.androiddevelopment.org/|android developers blog]]
-소스저장소  
-  *[[http://android.git.kernel.org/|android git]] official site? 
-  *[[http://android.git.kernel.org/pub/|android/pub]] 
 실제 타켓에 포팅 실제 타켓에 포팅
   *[[http://benno.id.au/blog/?tag=android|android articles in Benno's blog]]   *[[http://benno.id.au/blog/?tag=android|android articles in Benno's blog]]
Line 140: Line 163:
   *[[http://androidhuman.tistory.com/|커니의 안드로이드 이야기]]   *[[http://androidhuman.tistory.com/|커니의 안드로이드 이야기]]
   *[[http://www.droiddraw.org/|DroidDraw Beta]] ui 디자인 사이트   *[[http://www.droiddraw.org/|DroidDraw Beta]] ui 디자인 사이트
 +
 +====== 소스 다운로드 ======
 +소스저장소 
 +  *[[http://android.git.kernel.org/|android git]] official site?
 +  *[[http://android.git.kernel.org/pub/|android/pub]]
 +플랫폼 다운로드
 +<code bash>
 +mkdir mydroid
 +cd mydroid
 +repo init -u git://android.git.kernel.org/platform/manifest.git
 +repo sync
 +</code>
 +
 +====== tricks ======
 +  *[[http://android-tricks.blogspot.com/2009/02/hello-world-c-program-on-using-android.html|hello-world-c-program-on-using-android]]
android.1254748442.txt.gz · Last modified: 2013/08/03 05:04 (external edit)