Customization stick

From OLPC
Revision as of 14:32, 10 November 2008 by Reuben (talk | contribs)
Jump to navigation Jump to search

Translate this page with Google -español -български -中文(中国大陆) -中文(臺灣) -hrvatski -čeština -dansk -Nederlands -suomi -français -Deutsch -Ελληνικά -हिन्दी -italiano -日本語 -한국어 -norsk -polski -português -română -русский -svenska

  Please copy/paste "{{Translationlist | xx | origlang=en | translated={{{translated}}}}}" (where xx is ISO 639 language code for your translation) to Customization stick/translations HowTo [ID# 179263]  +/-  


  This page is monitored by the OLPC team.

A customization stick is a USB flash drive with special boot files that upon reboot will install activities and content bundles, and optionally a new OS image, from the USB flash drive onto an XO.

This lets you install your own set of activities and library content on top of a signed OLPC build. You may want to include a named activity pack in your customization key.

Preparing the customization stick:

  • Get a USB flash drive
    • NOTE: this does not currently work when booting from an SDIO card. You must use a USB drive.
    • The USB flash drive must be formatted with a VFAT partition, this is the default for larger USB flash drives.
  • Unpack customization-2.zip into the root directory of the USB flash drive.
    • This will create an empty subdirectory bundles and a subdirectory boot containing two files runos.zip and actos.zip. These two files have the special boot instructions that install the other files that you put on the USB flash drive.
  • Optional: If you want to install an OS image, add fs.zip and osNNN.img to the USB flash drive from the base build you want to install.
    • This is optional. If no signed base build is present, the activities will still be installed.
    • For example, the files for build 711 (release 8.1.2) are at http://download.laptop.org/xo-1/os/official/711/jffs2/ , where you'll find the files fs.zip and os711.img.
    • Only official releases are signed, and have an associated fs.zip file.
  • Create your activity bundle (.xo file).
  • Create your content bundle (.xol file).
  • Drag the .xo files (activity bundles) and .xol files (library bundles) you want to install into the bundles directory on the USB flash drive.
  • If you create a zip file containing files named frame00.565 through frame26.565 and place it in bundles with a name ending in .pb, you can customize the boot animation. You might also replace the shutdown graphic (but our UL certification depends on displaying the standard graphic).

Using the customization stick:

Once you've created your USB flash drive(s) containing this special set of files:

  • Insert the USB flash drive into a powered-off XO
  • Turn the machine on while holding down all four game pad keys to update to newer build and customize.

The machine will erase all contents of the flash including any existing activation lease or developer key on the XO, install the base build, and then install your custom activity and content set. It will then power-off, and you can remove the USB flash drive and move on to the next XO.

  • If you only want to customize:
    • On secure/restricted machines you can turn the machine on; you don't have to hold down any game pad keys.
    • On developer/unrestricted machines you will need to hold down the x game key to simulate security.

NOTE: If your machine is unactivated, this stick does not perform the activation step for you. You will need to Activate your XO in order to get the machine to boot after this process. Note that you can not put your activation lease on the customization stick and expect it to work; the XO will boot the customization routine instead of booting into the activation routine. Your activation lease file (lease.sig) must be on a different stick (or else you must temporarily rename the 'boot' directory on the customization stick).

Scaling up

For large-scale country deployments, we provide a tool to convert a customization stick into a filesystem image suitable for Quanta to flash onto machines at the factory. See the Image builder page for more information.

See also

Previous Versions:

  • customization-1.zip deprecated: this version hangs when unpacking bundles with many files because of a resource starvation bug