Emulating the XO/lang-ru: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 5: Line 5:
[[Image:AP1_39.jpg|thumb|laptop-in-laptop]]
[[Image:AP1_39.jpg|thumb|laptop-in-laptop]]


Эмуляторы и виртуальные серверы позволяют запустить виртуальную машину на любом компьютере.
Emulators and Virtual Servers allow you to run a "virtual" computer on any machine.


Strictly speaking, with emulators it is not usually a specific system that is emulated but a generic x86 processor with [[Sugar]], so this emulation has some limits. The customized devices on an XO cannot be emulated, and some peripherals in your PC may not be supported through the emulated XO.
Strictly speaking, with emulators it is not usually a specific system that is emulated but a generic x86 processor with [[Sugar]], so this emulation has some limits. The customized devices on an XO cannot be emulated, and some peripherals in your PC may not be supported through the emulated XO.


Для эмуляторов существует понятие хост-машины -- того, на чем мы запускаем нашу программу-эмулятор; и гостевой машины (guest machine) -- той машины, которая эмулируется. Эмуляторы конвертируют коды центрального процессора, написанные для конкретной системы в коды хост-машины. Виртуальные серверы отличаются от эмуляторов главным образом тем, что они не конвертируют коды, а запускают операционную систему на процессоре машины-хоста. Именно поэтому виртуализация быстрее эмуляции. Чтобы попробовать операционную систему XO нам нужна именно эмуляция.
Emulators convert the codes written/compiled for a particular system and convert them to the host computers architecture. Virtualisation Servers differ from Emulation by not being able to convert the codes, they run the operating system on the host CPU. Virtualisation is much faster than an emulator because of this.


* For configuration and Usage, see our [[Emulating the XO/Quick Start|quick start]] and [[How to set up for development on linux emulation|emulation on Linux guide]].
* Инструкции по настройке и использованию можно посмотреть на страничках [[Emulating the XO/Quick Start|quick start]] и [[How to set up for development on linux emulation|emulation on Linux guide]].
** For a detailed tutorial on emulation, see the [http://www.ibm.com/developerworks/linux/library/l-sugar-olpc/index.html IBM Tutorial].
** Детальные руководства по эмуляции можно прочитать на сайте IBM: [http://www.ibm.com/developerworks/linux/library/l-sugar-olpc/index.html IBM Tutorial].
** Operating-specific details are available : [[Emulating_the_XO/Quick_Start/Windows|Win]] [[Emulating_the_XO/Quick_Start/Mac|Mac]] [[Emulating_the_XO/Quick_Start/Linux|Linux]]
** Детали, специфичные для конкретной операционной системы [[Emulating_the_XO/Quick_Start/Windows|Win]] [[Emulating_the_XO/Quick_Start/Mac|Mac]] [[Emulating_the_XO/Quick_Start/Linux|Linux]]
** For tweaks to your system, see [[Improving emulation]].
** For tweaks to your system, see [[Improving emulation]].
* For a comparison of environments and operating systems on which each have been tested, see [[Emulating the XO/Comparison of Alternatives|Comparison of Alternatives]]
* For a comparison of environments and operating systems on which each have been tested, see [[Emulating the XO/Comparison of Alternatives|Comparison of Alternatives]]
Line 21: Line 21:


== Emulators ==
== Emulators ==
At present, [[QEMU]] is used most frequently. It is both an Emulator and a Virtual Server.
: If you are running Linux, there is an ''experimental'' [http://dev.laptop.org/~mncharity/olpc_xo_qemu/ package] to simplify using qemu for emulation. Feedback encouraged. [[User:MitchellNCharity|MitchellNCharity]] 15:03, 6 January 2008 (EST)


На данный момент наиболее часто применяется [[QEMU]]. Он может быть и эмулятором, и виртуальным сервером.


: Если вы ипользуете Линукс, то есть ''экспериментальный'' [http://dev.laptop.org/~mncharity/olpc_xo_qemu/ пакет] облегчающий работу с QEMU. [[User:MitchellNCharity|MitchellNCharity]] 15:03, 6 January 2008 (EST)
== Build recommendations ==



For running XO disk images on an emulator, you must use an '''ext3''' image, not the [[JFFS2]] image which is for on-board NAND flash memory. Please note that the current stable release is available only in [[JFFS2]] and the "latest" developer build may not yet be usable in ext3 at this time. So please check some older builds. Some builds are better than others and the most recent one will not always work.
== Рекомендации по сборке ==

Для запуска образов XO на эмуляторе необходимо использовать ''ext3'' образ (не [[JFFS2]] образ, предназначенный для установки на NAND flash память XO). Запомните, что текущая версия стабильного релиза доступна только в виде [[JFFS2]] и последние сборки (предназначенные для разработчиков) вполне могут не запускаться в виде ext3. В случае, если с запуском не повезло, надо попробовать более старые сборки.


Here is a summary of current status. Please add your own experiences here, and in [[User Feedback on Images]].
Here is a summary of current status. Please add your own experiences here, and in [[User Feedback on Images]].
Line 40: Line 42:
{{ Latest Releases | livecd = inline | devel = inline | extra }}
{{ Latest Releases | livecd = inline | devel = inline | extra }}


== External links ==
== Ссылки ==
* [http://www.ibm.com/developerworks/linux/library/l-sugar-olpc/index.html#resources Sugar, the XO laptop, and One Laptop per Child], M. Tim Jones. ''developerWorks''. IBM, 2007-04-24.
* [http://www.ibm.com/developerworks/linux/library/l-sugar-olpc/index.html#resources Sugar, the XO laptop, and One Laptop per Child], M. Tim Jones. ''developerWorks''. IBM, 2007-04-24.

[[Category:OS]]
[[Category:Developers]]
[[Category:Emulation]]
[[Category:Sugar]]

Revision as of 07:14, 1 December 2008

  перевод Emulating the XO оригинал  
  english | español日本語한국어portuguêsрусский   +/- изменения  
This is an on-going translation


laptop-in-laptop

Эмуляторы и виртуальные серверы позволяют запустить виртуальную машину на любом компьютере.

Strictly speaking, with emulators it is not usually a specific system that is emulated but a generic x86 processor with Sugar, so this emulation has some limits. The customized devices on an XO cannot be emulated, and some peripherals in your PC may not be supported through the emulated XO.

Для эмуляторов существует понятие хост-машины -- того, на чем мы запускаем нашу программу-эмулятор; и гостевой машины (guest machine) -- той машины, которая эмулируется. Эмуляторы конвертируют коды центрального процессора, написанные для конкретной системы в коды хост-машины. Виртуальные серверы отличаются от эмуляторов главным образом тем, что они не конвертируют коды, а запускают операционную систему на процессоре машины-хоста. Именно поэтому виртуализация быстрее эмуляции. Чтобы попробовать операционную систему XO нам нужна именно эмуляция.

  • Инструкции по настройке и использованию можно посмотреть на страничках quick start и emulation on Linux guide.
    • Детальные руководства по эмуляции можно прочитать на сайте IBM: IBM Tutorial.
    • Детали, специфичные для конкретной операционной системы Win Mac Linux
    • For tweaks to your system, see Improving emulation.
  • For a comparison of environments and operating systems on which each have been tested, see Comparison of Alternatives

See the Developer's Manual for a discussion of the merits of various packages and the ways you might want to use emulation in the development process. Keep in mind that emulation is NOT perfect.


Emulators

На данный момент наиболее часто применяется QEMU. Он может быть и эмулятором, и виртуальным сервером.

Если вы ипользуете Линукс, то есть экспериментальный пакет облегчающий работу с QEMU. MitchellNCharity 15:03, 6 January 2008 (EST)


Рекомендации по сборке

Для запуска образов XO на эмуляторе необходимо использовать ext3 образ (не JFFS2 образ, предназначенный для установки на NAND flash память XO). Запомните, что текущая версия стабильного релиза доступна только в виде JFFS2 и последние сборки (предназначенные для разработчиков) вполне могут не запускаться в виде ext3. В случае, если с запуском не повезло, надо попробовать более старые сборки.

Here is a summary of current status. Please add your own experiences here, and in User Feedback on Images.

Current joyride builds generally work (as of ~1400). Presence service (mesh view and collaboration) wont work by default, because they are configured with a presence service providing jabber server of ship2.jabber.laptop.org, which doesn't yet exist. There is an overloaded and fragile jabber.laptop.org which may be used in the meantime. -- MitchellNCharity 22:42, 14 December 2007 (EST)

Another jabber server alternative is: jabber.xochat.org (typically 60 to 80 people online) --ixo 03:29, 5 January 2008 (EST)
Please be aware that the xochat.org server is also overloaded, and the load is proportional to the product of the number of registrees times the current number of users, for the reasons documented at XMPP_Extensions. So don't connect (and thus automatically register) unless you will really be contributing, and/or set up your own ejabberd server. NealMcBurnett 15:39, 7 January 2008 (EST)

I've had good luck with all of the ship2 builds under VMware Workstation 6. -- Ed Borasky (Znmeb), 15 December 2007.



Ссылки