OLPC Firmware q3a26

From OLPC

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

Contents

[edit] OLPC Firmware Release q3a26

Work on XO-1.5 A1, A2, B1, B2, B3, and C1 systems, but does not work on any XO-1 machines.

Download: q3a26.rom

[edit] OpenFirmware is svn 1643

[edit] Changes since q3a25

  • trac 9932 - better fix for to-file .
  • trac 9932 - fixed to-file so it works inside scripts.
  • trac 9931 - Fixed bug in factory.fth related to calling open-file Forth word instead of similarly-named method in CIFS driver.
  • trac 9903 - Added console logging facility.
  • trac 9917 - Added warning to lid power off and lid-off / lid-on commands to disable / enable the lid shutdown function.
  • trac 9917 - OFW powers off the machine after 10 seconds with the lid closed.
  • trac 9902 - USB selftest in diagnostic mode now waits for a device to be connected to each port.
  • trac 6210 - improvements to ext2 filesystem driver, particularly to implement $rename.
  • Marvel WLAN driver - inability to read the MAC adress from the WLAN module is now a hard failure.
  • trac 9909 - Page Fault on ESC h.

[edit] EC code is version 1.9.19

  • Fix incorrect use of GPIO OC. Lid switch contention fix.
  • Make the GP wakeup sci non-maskable

[edit] WLAN firmware is 9.70.7.p0

<same as in q3a14>

[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 XO 1.5, 1 GiB memory installed, S/N SHF7250024D
 OpenFirmware  CL1   Q3A04 Q3A
                     ^^^^^

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.

You can see the firmware version in secure mode by powering up with the "check" game button held down.

You can also go to the main Sugar screen, 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/q3a26/q3a26.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/q3a26/q3a26.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 q3a26.rom file you downloaded to the XO NAND FLASH filesystem as /versions/boot/current/boot/q3a26.rom, or to a USB flash drive as /boot/q3a26.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\q3a26.rom 
if the file is on the NAND FLASH in the alternate boot filesystem
 ok flash n:\boot-alt\q3a26.rom 
if the file is on a USB flash drive
 ok flash u:\boot\q3a26.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:\q3a26.rom
if the file is on an SD card
 ok flash sd:\boot\q3a26.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