Manual Firmware Install: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(v1)
Line 1: Line 1:
== Manual Installation of Laptop Firmware ==
==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===
This page is in process.

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

Revision as of 19:21, 20 January 2008

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.