Talk:Emulating the XO/Quick Start/Mac

From OLPC
Jump to: navigation, search

I updated the page for the steps it took to emulate the latest joyride build (277 Nov-14; development build 625 of Nov-1 did not work) in Qemu on my Intel MacBookPro (OS X 10.4.10)

I did not need to drop into GRUB. --IanOsgood 14:33, 15 November 2007 (EST)

Got it up and running, but can't get the networking to work over the wireless connection in my MacBookPro... Any ideas anyone?



I have a MacBook running 10.5.1. Here's how I got the emulator running. It's Dec 29, 2007.

  1. Here's the Q app I downloaded: http://www.kju-app.org/kju/index.php?p=dd&build=Q-0.9.0a89.dmg (You want to go to the webpage http://www.kju-app.org/kju and click on "Download latest STABLE build.")
  2. I dragged Q into /Applications, as suggested.
  3. Here is the disk image I downloaded: http://xs-dev.laptop.org/cscott/olpc/streams/ship.2/latest/devel_ext3/olpc-redhat-stream-ship.2-devel_ext3.img.bz2
  4. Then I double-clicked the disk image (which is in the "Downloads" folder), and Archive Utility decompressed it. Then I discarded the .bz2 file, since it is not needed.
  5. Then I l configured a Virtual XO by doing the following:
    1. Launch Q by double-clicking it.
    2. Click the Yellow Plus Sign, supplied the name "Virtual XO" and clicked "Create PC."
    3. In the following configuration window, I changed only the following things, leaving everything else alone.
      1. Clicked "Hardware" and then set RAM to 256,
      2. Unchecked "NE2000 PCI Network Adapter" and checked "rtl8139 PCI Network Adapter"
      3. Checked "Sound Card Ensoniq AudioPCI ES 1370"
      4. Selected the menu "Hard Disk" and the item "Choose Disk Image." An Open panel will drop down.
      5. Now go BACK to the FINDER and open the "Downloads" folder, and drag the disk image into the center of the panel. The Panel will change to show the Downloads folder in the center part of the window. Scroll down to find olpc-redhat-stream-ship.2-devel_ext3.img, and double-click it. The open panel will go away, and the "Hard disk" menu will show the beginning part of "/Users/yourusername/Downloads/olpc-redhat-stream-ship.2-devel_ext3.img". (yourusername will be replaced by your user name, of course).
    4. Clicked "Create PC".
  6. Now I started the Virtual XO by clicking the "Circle with a Triangle Inside" icon, which starts the PC.

Once you've completed this configuration, you start your Virtual XO by double-clicking Q and then clicking the "Circle with a Triangle Inside icon.

  • Here is a command line I used that started the VIrtual XO successfully:
/Applications/Q.app/Contents/MacOS/i386-softmmu.app/Contents/MacOS/i386-softmmu -m 256 -soundhw es1370 -net user -net nic,model=rtl8139 -hda /Users/yourusername/Downloads/olpc-redhat-stream-ship.2-devel_ext3.img

Note that the path at the beginning might vary depending on where you installed Q.app, and also might vary if you have a PPC processor and not a 386 processor.


IMPORTANT NOTES:

  • When you start up, you'll see a bluish screen with some light white lettering. Just wait for it to go away. Then you will get black screen with lots of scrolling text. Keep waiting. Eventually, the XO will show the Sugar HOME screen.
  • The first time you start up, you will asked to enter your name, and then asked to click the "XO" icon until it matches the color of your computer. Since this is a virtual computer, pick whatever color you want. Once that's done, the Sugar HOME screen will appear.
  • Once you click in the Virtual XO window, your Macintosh mouse pointer will disappear until you tap "ctrl" and "alt/option" at the same time. This will not pause the Virtual XO computer.
  • The window will not fit on your screen very well. Some pixels will "hang off the bottom." To fix this, click the lozenge-shaped icon in the upper right of the title bar of the window. This will make the Q "control icons" disappear" and the window will now (just barely) fit. You can make the Virtual XO take over your entire computer screen with one of those control icons. Note that COMMAND-F will get rid of full screen mode. Don't forget!
  • To shut down your Virtual XO, go to the Home page and click in the XO icon in the middle, then hit "Shut Down" and wait for all the scrolling text to come to a stop. The last line will say "System Halted." Then you can click on the Close Icon on the top-left of the window title bar, and click "Shutdown," and then Quit Q.

--Bcbc 23:37, 29 December 2007 (EST)