OLPC Firmware q2d10

From OLPC

Jump to: navigation, search
  This page is monitored by the OLPC team.
  Please help test the latest beta software build, 8.2-759!

Contents

[edit] OLPC Firmware Release q2d10 - 2008-01-25

This firmware is the 3rd test candidate for the Update.1 software release set.

Download: q2d10.rom

[edit] Changes since OLPC Firmware q2d09

[edit] OpenFirmware is svn 791

  • OLPC keyboard selftest - Added game key display and timeout after 20 seconds of inactivity.
  • OLPC keyboard selftest - Changed from scanset 2 to scanset 1, so that game key reports, which are always in scanset 1, don't confuse the up/down handler.
  • OLPC trac 6101 - fixed bug with the loading of ELF format programs.

[edit] WLAN firmware is 5.110.20.p49.bin

<same as in previous release>

[edit] EC code is pq2d10. Changes since test4e

  • New polled EC command implementation
  • Charging/Discharging decision is based on battery current and not just ext power presence
  • EC cmd 0x35 which will assert the WLAN reset line. Normal WLAN reset command will de-assert the line.
  • Power button presses are ignored during the SCI inhibit time.
  • Battery state machine processing moved from 1s to 500ms.
  • Collect battery status SCI's for 500ms and then issue a single SCI rather than "as they happen." This works around a race in the way the battery status is read by the host.
  • Game keys are not mishandled when resuming
  • Game key presses now check to make sure a 0xe0 or 0xf0 was not the last data sent. This keeps a game key from splitting a keyboard esc sequence.

[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.


[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/q2d10/q2d10.rom.

You can download on another computer with the above link. To download on the XO, start the Terminal Activity and type something like

cd /versions/boot/current/boot/
wget http://dev.laptop.org/pub/firmware/q2d10/q2d10.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 q2d10.rom file you downloaded to the XO NAND FLASH filesystem as /versions/boot/current/boot/q2d10.rom, or to a USB flash drive as /boot/q2d10.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 a USB flash drive
 ok flash u:\boot\q2d10.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:\q2d10.rom
if the file is on the NAND FLASH filesystem
 ok flash n:\boot\q2d10.rom 
if the file is on the NAND FLASH in the alternate boot filesystem
 ok flash n:\boot-alt\q2d10.rom 
if the file is on an SD card
 ok flash sd:\boot\q2d10.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
About OLPC
About the XO
Projects
OLPC wiki
Toolbox