본문 바로가기

개발 개발

안드로이드의 부트 프로세스 출처 : http://maca.egloos.com/5383289 원문 : http://www.androidenea.com/2009/06/android-boot-process-from-power-on.html 모바일 플랫폼과 임베디드 시스템은 데스크탑 시스템과 비교해서 몇몇 다른점을 가지고 있다. 1. Power on and boot ROM code execution 전원이 인가되었을 때 CPU는 초기화가 완료되지 않은 상태이고, 내부 클럭 역시 초기화되지 않은 상태이다. 이 상태에서는 CPU 내부의 RAM만 사용가능한 상태이다. 전원 공급이 안정화되면 Boot ROM 코드가 시작이 된다. Boot ROM 코드는 아주 작은 코드로서 CPU ASIC에 내장 되어있다. A. Boot ROM은 ASIC의 특정 .. 더보기
envsetup.sh 사용법 / Android apk 부분 빌드 출처 : http://blog.naver.com/shlee7708/120131974681 소개 envsetup.sh는 Android build system에서 제공하는 shell script 함수 모음이다. 사용 준비 Shell 상에서 다음과 같이 실행해주면 envsetup.sh 내에 정의된 여러 함수들이 현재 실행 중인 shell 환경으로 로드된다. $ . $ANDROID_HOME/build/envsetup.sh 참고: envsetup.sh를 자주 사용하는 경우 위 내용을 .profile이나 .bashrc와 같은 설정 파일에 추가해주는 것도 좋을 것이다. 참고2: $ANDROID_HOME 환경 변수는 반드시 미리 정의되어 있어야 하고, 그 내용은 Android full source root path이다.. 더보기
LOCAL_MODULE_TAGS LOCAL_MODULE_TAGS := user development eng optional 현재 (ICS 4.0.3) 상기 4가지 모드가 있는데 optional 을 제외하고는 각 컴파일 모드에 들어가는 형태이다. optional은 진저서부터 생겨난 옵션인데, Android.mk에 다음과 같이 되어 있을 경우는 LOCAL_MODULE := module_name_xxx LOCAL_MODULE_TAGS := optional device.mk 에 해당 패키지 명을 써 주거나, generic.mk 등등의 파일에 있는 PRODUCT_PACKAGE에 적절하게 패키지 명을 써 주시면 된다. PRODUCT_PACKAGES 라고 명시되어 있는 부분입니다. 주로 build/core , build/target/product .. 더보기
HG ( Mercurial ) 한글 파일 문제 해결 hg clone https://bitbucket.org/stefanrusek/hg-fixutf8/ HG 셋팅 파일을 열고 Extentions 추가 Win7일경우 : C:\Users\자기 계정명\mercurial.ini WinXP일경우 : C:\Documents and Settings\ 자기 계정명\mercurial.ini [extensions] 부분에 아래 추가 , 없으면 추가 fixutf8 = cone하신경로\fixutf8.py 나는 아래처럼 extensions 사용. [extensions] graphlog = hgk = extdiff = color = progress = fetch = purge = fixutf8 = d:\Tool_General\hg-fixutf8\fixutf8.py 이렇게 저장하시고.. 더보기
Yum httpd 에 mod_jk 설치 하기 출처 : http://www.openscope.net/2010/01/02/install-mod_jk/ Use mod_jk to bridge apache and Jboss mod_jk is an apache extension that you can use to redirect incoming http requests to an application server. It lets you configure multiple applications servers by virtual host urls, and provides a means of setting up load balancing preferences between application servers. It’s very useful because it le.. 더보기
fails sanity check 에러가 날때 AWS에서 빌드할려고 보니 하기 에러가 난다. configure: error: C++ preprocessor "/lib/cpp" fails sanity check 하기 gcc g++ 설치가 되어있는지 먼저 보고 sudo yum install gcc-c++ 안되면 아래 패키지를 설치 하면 된다. yum groupinstall 'Development Tools' 'Development Libraries' 더보기
SCO 디버깅 하기 출처 : http://permalink.gmane.org/gmane.linux.bluez.devel/75 Re: [Bluez-devel] Re: (no subject)Hello, It seems that many people are stuck at the same place when trying to transmit voice over SCO. The nature of Marcel's replies suggests to me that there may be something that we all get wrong, so I'll try to summarize what I understand, to see if we can locate the misconception together. a- SCO sock.. 더보기
블루투스(Bluetooth)의 개요와 기초 출처 : http://www.microvision.co.kr/bluetooth/bluetooth_lecture.htm 더보기