OLPC Firmware q2e10

From OLPC

Jump to: navigation, search
  This page is monitored by the OLPC team.

Contents

[edit] OLPC Firmware Release q2e10 - 2008-07-03

This firmware is the first test candidate for the new OFW2 series which supports dual-boot of Linux and WindowsXP.

Download: q2e10.rom

As far as Linux booting and other core functions are concerned, it is functionally similar to q2d16.

The WindowsXP booting functionality in this version is supported only from specially-prepared SD cards with an OLPC-specific version of WindowsXP that is not publicly available.

[edit] Changes since OLPC Firmware q2d16

[edit] OpenFirmware is svn 849


  • r842-r849 Support for WindowsXP booting - numerous new files and changes to old ones.
  • r841 OLPC trac #7399 - fixed "test /nandflash::fixbbt" command.
  • r840 OLPC SD driver - Increased data timeout to the max value, since some cards timeout with lesser values.
  • r838-839 Rearranged FLASH infrastructure to make it easier to add new FLASH write drivers.
  • r835-837 OLPC camera selftest - display the camera image expanded to fill the screen. In the movie mode, mirror image the display and automatically adjust the brighness according to the ambient conditions. Thanks to Cortland Setlow for the idea and the code.
  • r834 OLPC trac 7180 - new boot animation frames (background is white not gray) to match the new UI design.
  • r833 OLPC trac 7141 - added link to wiki page describing solution to "Bad hash" problem.
  • r821 OLPC trac 7141 - improved error messages for secure FS update.

[edit] WLAN firmware is 5.110.22.p1

<Need>

[edit] EC code is pq2d13

<Same as q2d14>

[edit] Which Firmware Do You Have?

If your machine is not in secure mode, the firmware version is displayed in the startup banner, as in:

 OLPC B4, 256 MiB memory installed, S/N SHF7250024D
 OpenFirmware  CL1   Q2D07 Q2D
                     ^^^^^

If your machine is in secure mode, you can go to the Terminal activity and type

 cat /ofw/openprom/model

If your machine is in secure mode but the OS will not start, just go ahead and try to upgrade the firmware anyway. The procedure is safe and will not do anything if you already have up-to-date firmware.

Beginning with firmware Q2D08, you can see the firmware version in secure mode by powering up with the "check" game button held down.

Beginning with OS Build 690 (or less?) you can also goto the main screen and click on the little man and select "about this XO"


[edit] Installation

When installing new firmware, you need a well-charged battery and the AC adapter must be plugged in. The firmware update code will not proceed otherwise.

[edit] Unsecured Machines

(Please note that most developer machines are "unsecured". To unsecure your machine, follow the instructions at Activation and Developer Keys.)

First download the firmware from http://dev.laptop.org/pub/firmware/q2e10/q2e10.rom.

You can download on another computer with the above link. To download on the XO (into its NAND flash file system), start the Terminal Activity and as root type something like

cd /versions/boot/current/boot/
wget http://dev.laptop.org/pub/firmware/q2e10/q2e10.rom

If you want to use a USB or SD drive to store the firmware before installing, replace the first line above with:

cd /media/disk
mkdir boot
cd boot

Copy the q2e10.rom file you downloaded to the XO NAND FLASH filesystem as /versions/boot/current/boot/q2e10.rom, or to a USB flash drive as /boot/q2e10.rom.

Power cycle the system and press the Escape (top left key) during boot to get to the 'ok' prompt. Then type one of the following commands

if the file is on the NAND FLASH filesystem
 ok flash n:\boot\q2e10.rom 
if the file is on the NAND FLASH in the alternate boot filesystem
 ok flash n:\boot-alt\q2e10.rom 
if the file is on a USB flash drive
 ok flash u:\boot\q2e10.rom 
if you are copying the firmware from a Windows machine, 1)Make sure the USB flash drive is formatted for FAT and not FAT32, and 2)don't use a \boot directory. Just u:\q2e10.rom
if the file is on an SD card
 ok flash sd:\boot\q2e10.rom

(Use the dir command if you need help finding the file.)

This will only work if the XO has a well-charged battery AND is plugged in. "AC not present" means you need to plug it in.

[edit] Secured Machines

Pre-mass-production machines were almost all unsecured. Secure-mode machines can only use flash firmware that has been signed. All mass-production machines had the latest signed firmware at the time of manufacture installed.

Upgrading firmware describes how to upgrade to a newer official (signed) firmware release.


[edit] See also

  • Cheat codes for information about how game buttons control startup options.
Personal tools
  • Log in / create account
  • Login with OpenID
About OLPC
About the XO
Projects
OLPC wiki
Toolbox