Manual Firmware Install

From OLPC
Revision as of 19:21, 20 January 2008 by 216.106.174.212 (talk) (v1)
Jump to navigation Jump to search

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.

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. For instance, the q2d09 firmware is available at http://dev.laptop.org/pub/firmware/q2d09/q2d09.rom. Change the q2d09 to your firmware number for a different version.

You can download on another computer with the above link. To download on the XO, go to the terminal activity and type something like

cd /versions/current/boot/
wget http://dev.laptop.org/pub/firmware/q2d09/q2d09.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

Put the q2d09.rom file on the XO NAND FLASH filesystem in /versions/boot/current/boot/q2d09.rom, or on a USB key as /boot/q2d09.rom . Power cycle the system and get to the ok prompt. Then type either:

 ok flash u:\boot\q2d09.rom   ( if the file is on a USB key )

or

 ok flash n:\boot\q2d09.rom   ( if the file is on the NAND FLASH filesystem )

or

 ok flash sd:\boot\q2d09.rom   ( if the file is on an SD card )

Secured Machines

Secure-mode machines can only flash firmware that has been signed. All mass-production machines have the latest signed firmware so far, and pre-mass-production machines are almost all unsecured.