Emulating the XO/lang-ja: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: {{translation |version = 57279 |lang = ja |source = Emulating the XO}} {{Ongoing Translation}} {{ Latest Releases | livecd = inline | devel = inline | extra }} [[Image:AP1_39.jpg|thumb|la...)
 
mNo edit summary
Line 8: Line 8:
[[Image:AP1_39.jpg|thumb|laptop-in-laptop]]
[[Image:AP1_39.jpg|thumb|laptop-in-laptop]]


{{anchor|Quick Start - [[LiveCd|LiveCD]}}
== Quick Start - [[LiveCd|LiveCD]] ==
== Quick Start - [[LiveCd|LiveCD]] ==


{{Translated text|
For many, the [[LiveCd|LiveCD]] is the easiest way to try [[Sugar]]. It's easy to do, but your work is lost when you reboot.
For many, the [[LiveCd|LiveCD]] is the easiest way to try [[Sugar]]. It's easy to do, but your work is lost when you reboot.


As of July 2007, ''the Live CD hasn't been updated in more than 3 months''. The software has advanced greatly during that time,
As of July 2007, ''the Live CD hasn't been updated in more than 3 months''. The software has advanced greatly during that time,
so it's not clear the Live CD is of much use until it gets updated.
so it's not clear the Live CD is of much use until it gets updated.
|display = block}}


{{anchor|Quick Start - [[Emulating the XO/Quick Start|Emulation]]}}
== Quick Start - [[Emulating the XO/Quick Start|Emulation]] ==
== Quick Start - [[Emulating the XO/Quick Start|Emulation]] ==


{{Translated text|
'''[[Emulating the XO/Quick Start|Emulation]]''' is the other way to try [[Sugar]]. It can be harder to set up,, but work is preserved.
'''[[Emulating the XO/Quick Start|Emulation]]''' is the other way to try [[Sugar]]. It can be harder to set up,, but work is preserved.
:Sound in [[TamTam]] may not be working at the moment. [[User:MitchellNCharity|MitchellNCharity]] 13:16, 5 June 2007 (EDT)
:Sound in [[TamTam]] may not be working at the moment. [[User:MitchellNCharity|MitchellNCharity]] 13:16, 5 June 2007 (EDT)
|display = block}}


{{anchor|Quick Start for Developers}}
== Quick Start for Developers ==
== Quick Start for Developers ==
{{Translated text|
Developing on emulation is one alternative for developing software.
Developing on emulation is one alternative for developing software.


Line 29: Line 37:
[http://olpc.download.redhat.com/olpc/streams/development/build505-20070712_0335/devel_ext3/ 505] is the most recent build known to work. Builds after 541 run, but collaboration is broken (you can't see other laptops).<br/>
[http://olpc.download.redhat.com/olpc/streams/development/build505-20070712_0335/devel_ext3/ 505] is the most recent build known to work. Builds after 541 run, but collaboration is broken (you can't see other laptops).<br/>
Many builds between 541 and 505, including 531, 529, and 525, didn't boot. However, some of the later 50x may work.
Many builds between 541 and 505, including 531, 529, and 525, didn't boot. However, some of the later 50x may work.
|display = block}}


{{anchor|Overview}}
== Overview ==
== Overview ==


{{Translated text|
One way to run oplc software is using an emulator on your pc. See [[Getting started programming]] for other options.
One way to run oplc software is using an emulator on your pc. See [[Getting started programming]] for other options.


Line 50: Line 61:


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.
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.
|display = block}}


{{anchor|Comparison of alternatives}}
== Comparison of alternatives ==
== Comparison of alternatives ==


{{Translated text|
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.
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.
|display = block}}


{{anchor|recommendations}}
=== recommendations ===
=== recommendations ===
{{Translated text|
{| border=1 cellspacing=0
{| border=1 cellspacing=0
|- style="background:lightgray; "
|- style="background:lightgray; "
Line 75: Line 92:
: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 [[User:Mcfletch|Mcfletch]] said (in May) it's an option, so I added it. [[User:MitchellNCharity|MitchellNCharity]] 09:19, 23 June 2007 (EDT)
: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 [[User:Mcfletch|Mcfletch]] said (in May) it's an option, so I added it. [[User:MitchellNCharity|MitchellNCharity]] 09:19, 23 June 2007 (EDT)
[[User:Mcfletch|Mcfletch]] It's probably no longer an option, Red Hat seems to have stopped releasing them. Even the developer's CDs are getting too old to be usable.
[[User:Mcfletch|Mcfletch]] It's probably no longer an option, Red Hat seems to have stopped releasing them. Even the developer's CDs are getting too old to be usable.
|display = block}}


{{anchor|background}}
=== background ===
=== background ===
{{Translated text|
{| border=1 cellspacing=0
{| border=1 cellspacing=0
|- style="background:lightgray; "
|- style="background:lightgray; "
Line 153: Line 173:
*Find out what's going on with Tam Tam sound. It would be nice for the xo disk images to all be sound-yes.
*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?
*Add a microphone column? Reconsolidate sound/camera/mic into a H/W column?
|display = block}}


{{anchor|Example step-by-step instructions}}
== Example step-by-step instructions ==
== Example step-by-step instructions ==


{{Translated text|
Here, in one place, are assembled all the steps to get you to a working
Here, in one place, are assembled all the steps to get you to a working
emulated XO. Assuming you are running on linux, and have already
emulated XO. Assuming you are running on linux, and have already
Line 289: Line 312:


You can now ssh and scp without retyping your password.
You can now ssh and scp without retyping your password.
|display = block}}
{{anchor|Links}}
=Links=
=Links=
{{Translated text|
*[http://www.ibm.com/developerworks/linux/library/l-sugar-olpc/index.html Tutorial] Written by IBM on how to get this working.
*[http://www.ibm.com/developerworks/linux/library/l-sugar-olpc/index.html Tutorial] Written by IBM on how to get this working.
|display = block}}


[[Category:OS]]
[[Category:OS]]

Revision as of 01:53, 21 August 2007

  翻訳された Emulating the XO 原文  
  english | español日本語한국어portuguêsрусский   +/- 変更  
This is an on-going translation


laptop-in-laptop

{{anchor|Quick Start - [[LiveCd|LiveCD]}}

Quick Start - LiveCD

For many, the LiveCD is the easiest way to try Sugar. It's easy to do, but your work is lost when you reboot.

As of July 2007, the Live CD hasn't been updated in more than 3 months. The software has advanced greatly during that time, so it's not clear the Live CD is of much use until it gets updated.

Quick Start - Emulation

Emulation is the other way to try Sugar. It can be harder to set up,, but work is preserved.

Sound in TamTam may not be working at the moment. MitchellNCharity 13:16, 5 June 2007 (EDT)

Quick Start for Developers

Developing on emulation is one alternative for developing software.

Get the latest image from here. (add link to tinderbox) Install QEMU and kernel acceleration as described in Emulating the XO/Quick Start. See the /Help_and_tips "Development" section.

505 is the most recent build known to work. Builds after 541 run, but collaboration is broken (you can't see other laptops).
Many builds between 541 and 505, including 531, 529, and 525, didn't boot. However, some of the later 50x may work.

Overview

One way to run oplc software is using an emulator on your pc. See Getting started programming for other options.

Note Category:Emulation and Help and tips.

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.

recommendations

{

background

{

Example step-by-step instructions

xauth -f xephyr-xauth
echo $COOKIE

3. On the xo, still as "su olpc", record the cookie: (First time only)

echo "add 10.0.2.2:1 . " PUT-THE-COOKIE-HERE

Links

  • Tutorial Written by IBM on how to get this working.