Emulating the XO/lang-ko: Difference between revisions
Line 19: | Line 19: | ||
[http://olpc.download.redhat.com/olpc/streams/development/LATEST/devel_ext3/olpc-redhat-stream-development-devel_ext3.img.bz2 가장 최근 이미지]를 |
[http://olpc.download.redhat.com/olpc/streams/development/LATEST/devel_ext3/olpc-redhat-stream-development-devel_ext3.img.bz2 가장 최근 이미지]를 |
||
[http://olpc.download.redhat.com/olpc/streams/development/LATEST/devel_ext3/ 여기서] 받으세십시오. ''(틴더박스에 링크 추가하기)'' |
[http://olpc.download.redhat.com/olpc/streams/development/LATEST/devel_ext3/ 여기서] 받으세십시오. ''(틴더박스에 링크 추가하기)'' |
||
[[Emulating the XO/Quick Start|XO를 에뮬레이팅하기/빠른 시작]]에 설명된대로 QEMU과 커널을 인스톨하시면 됩니다. [[Emulating the XO/Help and tips|도움 및 팁]] |
[[Emulating the XO/Quick Start|XO를 에뮬레이팅하기/빠른 시작]]에 설명된대로 QEMU과 커널을 인스톨하시면 됩니다. [[Emulating the XO/Help and tips|도움 및 팁]]에서 "개발" 부분을 참고하십시오 |
||
'''[[#XO-QEMU boot broken - current workarounds|#XO-QEMU boot broken - 현재 진행현황]]을 보십시오.''' |
'''[[#XO-QEMU boot broken - current workarounds|#XO-QEMU boot broken - 현재 진행현황]]을 보십시오.''' |
Revision as of 02:44, 4 July 2007
Please copy/paste "{{Translationlist | xx | origlang=en | translated={{{translated}}}}}" (where xx is ISO 639 language code for your translation) to Emulating the XO/lang-ko/translations | HowTo [ID# 47428] +/- |
라이브시디를 통한 빠른 시작
대부분 슈가를 사용해보는 가장 쉬운 방법은 라이브시디입니다. 이 방법은 쉽지만, 재부팅을 했을 때 하였던 작업들이 모두 사라집니다.
에뮬레이팅을 통한 빠른 시작
에뮬레이팅도 슈가를 사용해보는 또 다른 방법입니다. 설피하기는 좀 어렵지만, 작업한 내용들은 유지가 됩니다.
- 지금 당장은 탐탐의 소리를 사용할 수 없을 수도 있습니다. MitchellNCharity 13:16, 5 June 2007 (EDT)
개발자들을 위한 빠른 시작
에뮬레이팅을 이용하여 개발하는 방법은 소프트웨어 개발의 대안방법입니다.
가장 최근 이미지를
여기서 받으세십시오. (틴더박스에 링크 추가하기)
XO를 에뮬레이팅하기/빠른 시작에 설명된대로 QEMU과 커널을 인스톨하시면 됩니다. 도움 및 팁에서 "개발" 부분을 참고하십시오
#XO-QEMU boot broken - 현재 진행현황을 보십시오.
개요
OPLC 소프트웨어를 구동하는 한 가지 방법은 PC에서 에뮬레이터를 이용하는 것입니다. 프로그래밍 시작하기에서 기타 옵션들을 보십시오.
첨부 카테고리:에뮬레이션 and 도움 및 팁.
For play, you can use LiveCd or Quick Start.
For development, you can use LiveCd, or qemu (as in quick start, but with a different image), or perhaps one of the Developer Images other than the LiveCd. An alternate approach is to attempt installing sugar. See Getting started programming for a comparison.
A common development approach is to use QEMU with kqemu acceleration. See Quick Start for the basics. Though for development, we will use a different .img, one with a few extra utility programs. See OS images, including latest stable build.
Instead of qemu, you can run VMware, and there are additional options on a Mac.
Please report your experiences in User Feedback on Images. There is a Virtualization Common Room.
There are limitations with XO disk images.
The LATEST-STABLE-BUILD versus LATEST build distinction is mostly of interest to people running on actual XO's. In emulation, developers should usually use LATEST. And when STABLE is old, non-developers probably should too.
Comparison of alternatives
An OLPC laptop is custom hardware, running a stripped-down Red Hat linux, running Sugar. But what if you don't have a real olpc laptop? There are a several options, which can each be used in a couple of ways.
recomendations
platform | purpose | recommendation |
---|---|---|
Windows | development | emulated xo disk image; or emulated Ubuntu with sugar-jhbuild; (or develoepr CD or LiveCD)?. (need your reports) |
Mac | development | emulated xo disk image; or emulated Ubuntu with sugar-jhbuild; (or developer CD or LiveCD)?. (need your reports) |
Mac with Parallels | development | install Ubuntu 32-bit, and Sugar on Ubuntu Linux. See /Mac. |
Ubuntu 32-bit | development | Sugar with sugar-jhbuild and Sugar on Ubuntu Linux |
32-bit linux | development | Sugar with sugar-jhbuild |
64-bit linux | development | xo disk images under qemu; or LiveCd once it gets updated (currently it's April) |
- I don't really believe the development option of Windows/Mac developer/live CD. I've not yet heard of it actually being used. They are months out of date (April). But Mcfletch said (in May) it's an option, so I added it. MitchellNCharity 09:19, 23 June 2007 (EDT)
background
option | updated | sound? | camera? | library? | etoys? | R/W? | development software? | net? | comments |
---|---|---|---|---|---|---|---|---|---|
Installing Sugar | continuous | yes | yes? | yes? | yes | yes | your own | yes | On some platforms, it takes time and space (hours and ~3GB), but "just works". On others, it is quite difficult to install. |
Installing Sugar, on a virtual 32-bit Ubuntu, running in an emulator (qemu, parallels, or vmware) | |||||||||
LiveCd | April | yes(boot) yes?(qemu) | yes?(boot) no(qemu) | no | yes | no | toolchain, Gnome | yes? | Alternative Quick Start. Can both be booted from, and used in qemu. Problems: A. |
XO disk images: | |||||||||
LATEST-STABLE-BUILD http://olpc.download.redhat.com/olpc/streams/development/LATEST-STABLE-BUILD/ | |||||||||
...development-ext3.img | ~monthly | yes/B | no | yes | yes | yes | no | after config | Quick Start for getting a look at Sugar. |
...development-devel_ext3.img | ~monthly | yes/B | no | no | yes | yes | a little | after config | |
LATEST http://olpc.download.redhat.com/olpc/streams/development/LATEST/ | |||||||||
...development-ext3.img | ~daily | yes/B | no | yes | yes | yes | no | after config | |
...development-devel_ext3.img | ~daily | yes/B | no | no | yes | yes | a little | after config | Good for new developers (requires some command-line comfort). |
OTHER | |||||||||
FC6+Sugar | April | yes? | ? | ? | no | yes | Full Fedora Softare Dev. | yes | 6GB (April version: no etoys) |
Key:
- library: A library of sample content is included (english version). Ie, pretty text to web browse without having to get network.
- R/W (writable): With an .img, you can save things between sessions. With a .iso, your environment is the same each time you start.
- development software: are development tools included?
- Net (network): does the network "just work" or "manual" steps are required?
Problems:
- A: LiveCd (April) on fc6 x86_64, kernel panics under kqemu. A squashfs problem.
- B: Tam Tam is silent (though EToys makes noise). Cause unknown.
Notes:
- re "does sugar-jhbuild support camera/mic?": "yes, if the camera uses v4l2 and 640x480, I'd suspect so." Can someone confirm this? (#olpc, now) MitchellNCharity 00:16, 2 June 2007 (EDT)
Doables:
- Remove LiveCd's "?" above.
- Find out what's going on with Tam Tam sound. It would be nice for the xo disk images to all be sound-yes.
- Add a microphone column? Reconsolidate sound/camera/mic into a H/W column?
XO-QEMU boot broken - current workarounds
Build 445 was the last version which booted cleanly under qemu (ticket). More recent builds require workarounds.
- The boot currently hangs in rc netfs. So we disable it. This only needs to be done once.
- Get a shell. Follow the instructions below, but add a "2" to the end of the kernel line. So it is root=/dev/hda1 2
- Log in as root, no password.
- Then:
mv /etc/rc.d/rc3.d/S25netfs /etc/rc.d/rc3.d/DISABLED-S25netfs mv /etc/rc.d/rc5.d/S25netfs /etc/rc.d/rc5.d/DISABLED-S25netfs
- 4. Done. Now restart qemu, following the instructions below.
- (This workaround avoids the boot hanging after saying "Mounting other filesystems:".)
- When booting on qemu, add root=/dev/hda to the grub kernel line. This needs to be done every time.
- When you start your xo disk image on qemu, you should see a blue grub screen, doing a "Booting .. in N seconds" countdown. Press space to interrupt it.
- Press e (edit). This will show you 3 lines.
- Move to the second, which begins "kernel". Press e. This will take you to the end of the kernel line.
- Add root=/dev/hda1 Then press enter.
- Press b to continue booting.
- (This workaround avoids "WARNING: Cannot find root file system!", and being dropped into an emergency shell.)
Should add instructions to modify the image's grub config, so this doesn't need to be done every time you boot. MitchellNCharity 12:04, 3 July 2007 (EDT)
It might be worth gathering the currently scattered notes, into a single list of step by step instructions, for getting from nothing, to a pair of qemu images running with Xephyr's and ssh. MitchellNCharity 12:04, 3 July 2007 (EDT)