F11 for 1.5: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 31: Line 31:
== Build system ==
== Build system ==


We are using olpc-os-builder to produce operating system images for flashing onto the XO-1.5. The code is at git://dev.laptop.org/projects/olpc-os-builder ([http://dev.laptop.org/git/projects/olpc-os-builder/ browse]).
We are using Fedora's standard livecd-creator to produce LiveCD images of our release. We then run a script on the output .iso which makes it an "installed" (non-live) image and repacks it in a format suitable for flashing onto the XO-1.5.

The code is at git://dev.laptop.org/projects/fedora-xo in the xo-1.5 branch ([http://dev.laptop.org/git/projects/fedora-xo/?h=xo-1.5 web interface]).


== Download ==
== Download ==

Revision as of 01:17, 5 July 2010

OLPC is developing a Fedora 11 Remix for the XO-1.5.


Requirements

The release is primarily [[Has objective:: targeted at the XO 1.5]], and must be ready in time for that hardware to ship. Because of the new kernel work required, no previous distribution will work on the XO-1.5 without modification. As a result, we must prioritize creating a shippable XO-1.5 build over creating a build that works well on both XO-1.5 and XO-1. F11-1.5 builds do not run on the XO-1, however volunteers have leveraged this work to create F11 for XO-1 builds.

Hardware status

XO-1.5 is in production.

Software status

10.1.0 was released, development in 2010 continues towards a 10.1.1 release.

Mailing list

We talk to each other on the fedora-olpc-list mailing list. New builds are announced here.

Bugs and outstanding work

This trac report shows current bugs for the XO-1.5. Look in the distro, kernel and x window system components for the software-related tickets.

Build system

We are using olpc-os-builder to produce operating system images for flashing onto the XO-1.5. The code is at git://dev.laptop.org/projects/olpc-os-builder (browse).

Download

Builds for the 10.2 stream are at http://build.laptop.org/10.2.0/ ; official release builds are at http://download.laptop.org/xo-1.5/os/official/ ; earlier builds are at http://dev.laptop.org/~cjb/f11-1.5/

Installation

Make sure your Firmware is up to date. These instructions were tested with Q3A39, but be sure to use the latest!

Internal microSD

This is the conventional method; the build is installed to the internal microSD device and no external device needs to be attached afterward to boot it.

You will need a USB memory stick of at least 1Gb capacity, but only for the duration of the installation.

ALL USER DATA WILL BE ERASED FROM THE LAPTOP!

  • Prepare the USB memory stick:
    • Download os205.zd (706Mb),
    • Save the file to the top directory of a USB memory stick, with the name unchanged,
    • Download os205.zsp.fs.zip (2.5Mb),
    • Save the file to the top directory of a USB memory stick, with the name fs.zip,
    • Check the USB memory stick contains at least the two files fs.zip and os205.zd.
  • Prepare the XO-1.5 laptop:
    • Make a copy of any data you wish to keep,
    • Ensure the battery is in the laptop,
    • Connect the laptop to external power,
    • Turn off the XO-1.5, unless it is already off.
    • Insert the USB memory stick into any USB port on the XO-1.5,
  • Start installing:
    • Hold down all four game keys (see this in pictures),
    • Turn on the XO-1.5,
    • Wait for the message Release the game keys to continue,
    • Release the game keys.

Installation progress will be displayed. Green colour will fill grey blocks. It will take about ten minutes. Once finished, the laptop will reboot. Remove the USB memory stick during or after the reboot. The USB memory stick can be used on other laptops.

If you see a message Boot failed then either:

  • the USB memory stick has not been properly prepared, (check that you renamed the zsp file to fs.zip), or;
  • the firmware is out of date and should be updated (see Firmware for XO-1.5).

External SD

This is an alternate method; the build is installed manually onto a portable SD card memory device, which must be plugged in to boot, and must remain plugged in while the system is running. It is intended for testing, and should not change the data on the internal microSD.

Select an SD card that has nothing you need on it, and is at least 4Gb in size.

ALL USER DATA WILL BE ERASED FROM THE SD CARD

Download osXY.zd from the build directory and put it on a USB memory. Turn on the XO-1.5 with the check mark (tick) game key pressed down, then press ESC (X) to get to the OFW prompt "ok".

Insert the USB memory, then type

devalias fsdisk /sd/disk@1:0
fs-update u:\osXY.zd

Progress will be displayed. Once finished, remove the USB memory, and type

reboot

If you use an SD card instead of a USB memory, use "sd:\" instead of "u:\".

External USB

This is an alternate method; the build is installed onto a portable USB memory device, which must be plugged in to boot, and must remain plugged in while the system is running. It is intended for testing, and should not change the data on the internal microSD.

This method is also more risky, since it is so easy to destroy data on a system.

Select a USB memory that has nothing you need on it, and is at least 4Gb in size.

ALL USER DATA WILL BE ERASED FROM THE USB MEMORY!

Download osXY.img.gz from the build directory and write it block-wise to a USB memory

zcat osXY.img.gz > /dev/sdX

Note: known to work on os48, known to not work on os40 (per #9681 and #9686).

Updating OS

If you wish to update the XO 1.5 operative system you can type on the terminal:

olpc-update 10.2_xo1.5-NNN   #Where NN is the os build number

Modifications to Fedora

We're trying to work as close to Fedora (and the upstream projects which Fedora distributes) as possible; however, we also have the pressure of having to build a laptop and its software on a fixed timetable, so our priority remains on making things work.

We'll keep this list updated as modifications come and go. Most of the changes can be found in the source RPMs found here: http://dev.laptop.org/~dsd/xo1.5-rpms/

kernel

We maintain our own kernels for XO-1 and XO-1.5 based on Linux 2.6.31 at git://dev.laptop.org/olpc-2.6 in the olpc-2.6.31 branch (web interface) or later branches for newer kernels (laptop devel mailing list post).

RPMs

We aim to get much or all of this work upstream, but at the same time there are various challenges associated with that, and we need somewhere to develop and test our changes before they are ready.

The main modifications in our kernel include:

  • Various patches to VIA drivers to support the brand-new VX855 chipset which the XO-1.5 is based on
  • Support for OpenFirmware, the XO equivalent of a BIOS.
  • We build the initramfs using dracut, not mkinitrd.

olpc-bootanim

This new package is OLPC's boot animation. Plymouth doesn't play nicely in the presence of serial consoles and has performance issues so we are sticking to a system which we know is working for now.

We tried to get this included in Fedora at https://bugzilla.redhat.com/show_bug.cgi?id=510573 but ran into a headache because the package needs to have a Conflict with plymouth (it provides /usr/bin/plymouth by-design), Conflicts are not permitted without good reason and "we don't have time to fix plymouth" is not a good reason. This package can live out-of-tree for now, and will hopefully die one day when plymouth is usable on XO and includes our theme.

sugar

<trac>9403</trac>: we've added Ad-Hoc networking support to Sugar-0.84 <trac>9384</trac>: and fixed a crash that occurs when you install content bundles

sugar-toolkit

Sugar hardcodes the font size of certain elements at size 10 and does not allow this to be configured. This looks too big on the small XO screen. We fork the package to adjust the font size to size 7.

See also

Standard information

Build number and URL: Build number::999