망고100 보드로 놀아보자 17
DESCRIPTION
TRANSCRIPT
Android Source얻기,busybox,Android SDK,ADB연결
http://cafe.naver.com/embeddedcrazyboys
http://www.mangoboard.com
망고100 보드로 놀아보자-17
CPU:S5PC100
cafe.naver.com/embeddedcrazyboys
안드로이드 소스 다운 받기
cafe.naver.com/embeddedcrazyboys
# yum install flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl wget
#yum install valgrind
#yum install python*
# yum install zlib-devel
#yum install libX11-devel.i686
#yum install glibc*
yum install git git-*
$ cd ~
$ mkdir bin
$ echo $PATH
$ curl http://android.git.kernel.org/repo >~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir eclair
$ cd eclair
$ repo init -u git://android.git.kernel.org/platform/manifest.git -b eclair
$ repo sync
Mango100 소스 받기
cafe.naver.com/embeddedcrazyboys
http://crztech.iptime.org 에서 최신 소스를 다운 받으시면 됩니다.
Android Patch 및 build 방법
cafe.naver.com/embeddedcrazyboys
./frameworks/base/api/current.xml은 make update-api 실행으로 생성 됨
./frameworks/base/api/current.xml 복구 방법은 ./frameworks/base/api/7.xml을 copy를 해서current.xml을 만든 후 make update-api를 실행
#make update-api
#./mango100_build.sh
Android SDK설치
cafe.naver.com/embeddedcrazyboys
http://developer.android.com/sdk/index.html
PATH 설정
Android SDK설치
cafe.naver.com/embeddedcrazyboys
JDK설치(Window 용)
Android SDK설치
cafe.naver.com/embeddedcrazyboys
Eclipse 다운로드 설치
Eclipse 3.4또는 3.5 Download
적당한 곳에 압축 풀기
Android SDK설치
cafe.naver.com/embeddedcrazyboys
Android SDK설치
cafe.naver.com/embeddedcrazyboys
Configuring the ADT Plugin
cafe.naver.com/embeddedcrazyboys
http://developer.android.com/sdk/eclipse-adt.html
Updating the ADT Plugin
cafe.naver.com/embeddedcrazyboys
http://developer.android.com/sdk/eclipse-adt.html
DDMS사용하기
cafe.naver.com/embeddedcrazyboys
E:\Utils-tools\android-sdk_r06-windows\android-sdk-
windows\tools>ddms.bat
ADB 연결하기
cafe.naver.com/embeddedcrazyboys
PC와 망고보드를 usb cable로 연결
>adb devices
Busybox install
cafe.naver.com/embeddedcrazyboys
>adb push busybox /
>adb shell
>ls
Busybox install
cafe.naver.com/embeddedcrazyboys
# mkdir bin
# chmod 777 busybox
# ./busybox --install
# cd bin
# ./vi ../init.rc 수정
/bin/sh 또는 리부팅
export PATH /bin:/sbin:/system/sbin:/system/bin:/system/xbin
Service console /bin/sh