참고 사이트: 

https://source.tizen.org/ko/documentation/developer-guide/getting-started-guide/creating-tizen-images-mic

https://wiki.tizen.org/wiki/Modify_Emulator_Image



1. KickckStart File 다운로드

http://download.tizen.org/ 에서 버전에 맞는 KickStart File을 다운로드 해야 한다.


- i586 mobile 버전 기준

$ wget http://download.tizen.org/snapshots/tizen/mobile/tizen-mobile_20150613.2/images/emulator32-wayland/mobile-emulator32-wayland/tizen-mobile_20150613.2_mobile-emulator32-wayland.ks


2. Tizen Image 만들기

$ gbs createimage --ks-file=tizen-mobile_20150613.2_mobile-emulator32-wayland.ks


3. Emulator Image 수정하기

tizen 다운받은 디렉토리안에 mic-output 폴더에서 ~.tar.gz 압축풀면 platform.img가 있다.

-> 최근 버전 경우(mobile)는 ~.tar.gz 압축을 풀면 emulator-rootfs.img emulator-sysdata.img emulator-user.img이 들어있다.

이 경우에는 qemu-img로 빌드 할때

~/tizen-sdk/tools/emulator/bin/qemu-img convert -O qcow2 emulator-rootfs.img emulator-sysdata.img emulator-user.img emulimg.3.0.x86 

하면 제대로 런치화면에서 작동한다.



* 빌드할때 자동으로 Emulator Image를 만들어주고 싶을때는

$ gbs build -A i586 -R http://download.tizen.org/snapshots/tizen/ivi/latest/repos/emulator/packages/ --define "with emulator" --overwrite --include-all

- Mobile 버전의 경우는 emulator도 32/64bit 로 나뉘어져있다.


4. Tizen SDK에서 img파일을 열어주면 된다!


'Lab > Tizen' 카테고리의 다른 글

[Tizen] ssh 설치 에러 해결법  (0) 2015.09.22
[tizen] v8 build하기  (0) 2015.07.22
[Tizen] Tizen 코드 설치 및 빌드 방법  (0) 2015.06.13
[Tizen] GBS build  (0) 2015.06.03
[Tizen] 타이젠 설치법& 유용한 정보 블로그  (0) 2015.05.28

+ Recent posts