User:Dbarral: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 14: | Line 14: | ||
http://wiki.laptop.org/go/Emulating_the_XO/Quick_Start/Linux |
http://wiki.laptop.org/go/Emulating_the_XO/Quick_Start/Linux |
||
have instructions for gettings started. |
have instructions for gettings started. |
||
Checking qemu... ok. |
Checking qemu... ok. |
||
Line 23: | Line 22: | ||
It might be installed, but not available. |
It might be installed, but not available. |
||
Usually this occurs when modprobe has not been run since you last rebooted. |
Usually this occurs when modprobe has not been run since you last rebooted. |
||
-- I installed kqemu-common, then it says |
|||
It looks like kqemu is installed. |
|||
I don't know how to check if kqemu is working without starting a laptop. |
|||
If you see "QEMU acceleration layer not activated" when a laptop is first |
|||
started, then kqemu isn't working. |
|||
Usually this occurs when modprobe has not been run since you last rebooted. |
|||
OK I'M REBOOTING, but first I'll run 'xo-qemu --report', which is slow too |
OK I'M REBOOTING, but first I'll run 'xo-qemu --report', which is slow too |
||
Line 37: | Line 46: | ||
anyway I choose ship.2 |
anyway I choose ship.2 |
||
$ xo-qemu --make-laptop test1 ship.2 |
$ xo-qemu --make-laptop test1 ship.2 |
||
fails, now I understand that --report connects to some site and lists builds available. So I must download one? |
fails, now I understand that --report connects to some site and lists builds available, it does not list the builds stored in the local folder. So I must download one? |
||
xo-qemu --get-build ship.2 659 build |
$ xo-qemu --get-build ship.2 659 build |
||
'build' folder, AND NOT 'builds' AS SHOWN IN THE EXAMPLE FOR --new-user, contained already some images |
'build' folder, AND NOT 'builds' AS SHOWN IN THE EXAMPLE FOR --new-user, contained already some images |
||
$ xo-qemu --make-laptop test1 ship.2 |
|||
fails because the file name is not correct |
|||
$ xo-qemu --make-laptop test1 olpc-redhat-stream-ship.2-build-659-20080229_1949-devel_ext3.img.bz2 |
|||
failed because the test1 Directory already existed, delete it and try again ... |
|||
it works. |
|||
After a minute or two, the laptop will start up, |
|||
run briefly to configure itself, and then shutdown. |
|||
You can then run it by saying: test1/xo on |
|||
qemu -kernel-kqemu -serial stdio -m 256 -net user -net nic,model=rtl8139 -hda test1/disk.img |
|||
Generating public/private rsa key pair. |
|||
Your identification has been saved in test1/config/ssh_key. |
|||
Your public key has been saved in test1/config/ssh_key.pub. |
|||
The key fingerprint is: |
|||
7c:e2:57:ec:45:cc:33:54:65:cf:a2:47:eb:d2:35:c7 dani@zaka |
Revision as of 22:05, 9 September 2008
Hi, today is 2008/08/05 23:23, just created my account and want to see the xo working. After browsing the wiki, I'm following the instructions to install the experimental package [[1][Emulation Page]]. Let's see how it goes
- Download and install
Downloaded [[2][olpc_xo_qemu (Version: 0.009)]] and installed
- python setup.py install
$ xo-qemu --new-user
Welcome to OLPC laptop emulation on QEMU.
http://wiki.laptop.org/go/Emulating_the_XO and http://wiki.laptop.org/go/Emulating_the_XO/Quick_Start/Linux have instructions for gettings started.
Checking qemu... ok. Checking qemu's kqemu... Is kqemu installed? I can't tell. The emulated laptop is painfully slow without it.
It might be installed, but not available. Usually this occurs when modprobe has not been run since you last rebooted.
-- I installed kqemu-common, then it says
It looks like kqemu is installed.
I don't know how to check if kqemu is working without starting a laptop. If you see "QEMU acceleration layer not activated" when a laptop is first started, then kqemu isn't working. Usually this occurs when modprobe has not been run since you last rebooted.
OK I'M REBOOTING, but first I'll run 'xo-qemu --report', which is slow too
what is all this? ship.2 meshtest joyride faster olpc3 8.2 update.1
anyway I choose ship.2 $ xo-qemu --make-laptop test1 ship.2 fails, now I understand that --report connects to some site and lists builds available, it does not list the builds stored in the local folder. So I must download one?
$ xo-qemu --get-build ship.2 659 build
'build' folder, AND NOT 'builds' AS SHOWN IN THE EXAMPLE FOR --new-user, contained already some images
$ xo-qemu --make-laptop test1 ship.2 fails because the file name is not correct
$ xo-qemu --make-laptop test1 olpc-redhat-stream-ship.2-build-659-20080229_1949-devel_ext3.img.bz2 failed because the test1 Directory already existed, delete it and try again ...
it works.
After a minute or two, the laptop will start up,
run briefly to configure itself, and then shutdown.
You can then run it by saying: test1/xo on
qemu -kernel-kqemu -serial stdio -m 256 -net user -net nic,model=rtl8139 -hda test1/disk.img
Generating public/private rsa key pair.
Your identification has been saved in test1/config/ssh_key.
Your public key has been saved in test1/config/ssh_key.pub.
The key fingerprint is:
7c:e2:57:ec:45:cc:33:54:65:cf:a2:47:eb:d2:35:c7 dani@zaka