User:Dbarral: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
Welcome to OLPC laptop emulation on QEMU. |
Welcome to OLPC laptop emulation on QEMU. |
||
http://wiki.laptop.org/go/Emulating_the_XO and |
http://wiki.laptop.org/go/Emulating_the_XO and |
||
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 29: | Line 28: | ||
It looks like kqemu is installed. |
It looks like kqemu is installed. |
||
I don't know how to check if kqemu is working without starting a laptop. |
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 |
If you see "QEMU acceleration layer not activated" when a laptop is first |
||
started, then kqemu isn't working. |
started, then kqemu isn't working. |
||
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. |
||
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 |
||
what is all this? |
what is all this? |
||
ship.2 |
ship.2 |
||
meshtest |
meshtest |
||
joyride |
joyride |
||
faster |
faster |
||
olpc3 |
olpc3 |
||
8.2 |
8.2 |
||
update.1 |
update.1 |
||
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, it does not list the builds stored in the local folder. 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? |
||
⚫ | |||
⚫ | |||
'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 |
$ xo-qemu --make-laptop test1 ship.2 |
||
fails because the file name is not correct |
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 |
$ 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 ... |
failed because the test1 Directory already existed, delete it and try again ... |
||
it works. |
it works. |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
qemu -kernel-kqemu -serial stdio -m 256 -net user -net nic,model=rtl8139 -hda test1/disk.img |
qemu -kernel-kqemu -serial stdio -m 256 -net user -net nic,model=rtl8139 -hda test1/disk.img |
||
Generating public/private rsa key pair. |
Generating public/private rsa key pair. |
||
Your identification has been saved in test1/config/ssh_key. |
Your identification has been saved in test1/config/ssh_key. |
||
Your public key has been saved in test1/config/ssh_key.pub. |
Your public key has been saved in test1/config/ssh_key.pub. |
||
The key fingerprint is: |
The key fingerprint is: |
||
7c:e2:57:ec:45:cc:33:54:65:cf:a2:47:eb:d2:35:c7 dani@zaka |
7c:e2:57:ec:45:cc:33:54:65:cf:a2:47:eb:d2:35:c7 dani@zaka |
Revision as of 22:11, 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
Start using it
$ 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