Rawhide-XO

From OLPC
Jump to navigation Jump to search

This is a page for notes and test results for the http://dev.laptop.org/~cjb/rawhide-xo/ development builds.

What is it?

A "spin" of Fedora rawhide (the development version of Fedora 11 Linux) incorporating recent Linux software packages, the Sugar desktop UI and a more conventional Gnome desktop.

As such it is sort of a replacement for the cutting-edge joyride OS images that OLPC used to produce. See Future releases for the change in plans. As such builds are very raw and often may not work at all.

Resources

Basic user guide

On first boot at the login screen you can choose either Gnome or Sugar from the drop-down at the bottom. You want to login as "liveuser", or wait for automatic login.

Sugar

If you start the Gnome desktop (the default), you need to exit to switch to Sugar. (Sugar commands like sugar are available to you in Gnome, but running them under another desktop manager is not recommended.)

To return to the "first boot" login screen from Gnome, in Terminal, run su -l then run as root:

 init 3

log in as liveuser, then run as root

 init 5

it will stop GNOME and restart gdm


In the Sugar desktop, to set the keyboard to match the XO-1's keyboard, start Terminal Activity and enter

setxkbmap -model olpc

The AltGr key will now work to insert the special characters on some of the keycaps.

See Keyboard shortcuts for keys in Sugar (e.g. Alt+Shift+F brings up the Frame) and http://en.flossmanuals.net/Sugar for general Sugar instructions.

Accessing NAND Flash

If you boot rawhide-XO off USB or SD, you will not have access to see the XO-1's internal NAND flash. But you this is available as the mtd0 device, so to access this at /mnt/my_nand you could as root enter the command

 mkdir /mnt/my_nand && mount -t jffs2 mtd0 /mnt/my_nand

Differences from OLPC images

Many of these are probably shared with "Sugar on a Stick" Live USB, and should be on a common page.

  • the default user is liveuser, not olpc
  • liveuser can't use sudo to run commands as root (but can run su -l to become root).
  • many olpc commands missing, such as olpc-neststatus
  • different file system
    • /efi instead of /ofw
    • /home/liveuser instead of /home/olpc

Known issues

  • On the XO-1, you must hold down the check v gamepad key at boot, otherwise boot will hang with the XO guy on white.
  • Keyboard map alert.
  • Can't choose Gnome or Sugar after desktop login
  • You can't choose an English or American OLPC keyboard in the keyboard chooser on the "first boot" login screen.
  • No power management until you install Ohm
  • The stock Fedora kernel does not play sound, hence (probably) why totem crashes. how to replace with the OLPC kernel

Also see Talk:Rawhide-XO for user reports.

See also

  • Sugar on a Stick. "SoaS 2" are similar development builds based on Fedora 11 ("Rawhide").