Upgrading firmware

From OLPC
Revision as of 03:25, 2 October 2008 by DanielDrake (talk | contribs)
Jump to: navigation, search
  This page is monitored by the OLPC team.
  For the general public

Overview of firmware upgrades

G1G1 donors and other users: You can upgrade to a newer stable release, which includes an upgrade to the XO's firmware along with new system software. The latest stable release is 13.2.11 || 2020-01-29.

If you need to upgrade only your firmware, refer to the following instructions to upgrade to new signed (official release) versions of the firmware. These are distributed as .zip files.

Unofficial development versions of firmware are distributed as .rom files. You need to get a developer key to upgrade to these and you follow a different upgrade process. Refer to Manual Firmware Install for more details.

Steps to upgrade firmware

ALL steps must be followed exactly.
  1. Make sure your battery is charged.
  2. Plug the XO into external power.
    If you lose power during a firmware upgrade you will brick the laptop.

Using a USB flash drive and another computer

  1. Locate the zip file of the firmware image that you want to flash onto the laptop. You can do this by browsing the directory listing at http://dev.laptop.org/pub/firmware. After selecting the version of the firmware that you want to upgrade to, the zip file you want is called bootfw.zip
    For example, for Q2D14 you would want http://dev.laptop.org/pub/firmware/q2d14/bootfw.zip
  2. Right click the link to the bootfw.zip file and select the "Save as" option
  3. Create a folder called "boot" on the flash drive
  4. Copy the above .zip to the flash drive (do NOT unzip the file)
  5. Remove the flash drive
  6. Power off the XO, and ensure it is plugged in
  7. Insert the flash drive
  8. Power on the XO
  9. It should indicate that it is rewriting the firmware

Using only your XO

  1. Open the Terminal activity Activity-terminal.svg or a console
  2. Type the following (press the Enter key after each line):
su -
wget http://dev.laptop.org/pub/firmware/q2d14/bootfw.zip
cp /home/olpc/bootfw.zip /versions/boot/current/boot/
reboot
  1. The laptop will then reboot twice more on its own. (Once to enable writing to the flash and then a 2nd time after its done updating.)

The XO will only upgrade the system firmware if it finds that its current version is earlier than what is in bootfw.zip