Manual Firmware Install: Difference between revisions

From OLPC
Jump to navigation Jump to search
(v1)
(template parameters)
Line 6: Line 6:
(Please note that most developer machines are "unsecured". To unsecure your machine, follow the instructions at [[Activation and Developer Keys]].)
(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.
First download the firmware from http://dev.laptop.org/pub/firmware/{{{version|VERSION_NUM}}}/{{{version|VERSION_NUM}}}.rom.


You can download on another computer with the above link. To download on the XO, go to the terminal activity and type something like
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/
cd /versions/current/boot/
wget http://dev.laptop.org/pub/firmware/q2d09/q2d09.rom
wget http://dev.laptop.org/pub/firmware/{{{version|VERSION_NUM}}}/{{{version|VERSION_NUM}}}.rom


If you want to use a USB or SD drive to store the firmware before installing, replace the first line above with:
If you want to use a USB or SD drive to store the firmware before installing, replace the first line above with:
Line 19: Line 19:
cd 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:
Put the q2d09.rom file on the XO NAND FLASH filesystem in /versions/boot/current/boot/{{{version|VERSION_NUM}}}.rom, or on a USB key as /boot/{{{version|VERSION_NUM}}}.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 )
ok flash u:\boot\{{{version|VERSION_NUM}}}.rom ( if the file is on a USB key )


or
or


ok flash n:\boot\q2d09.rom ( if the file is on the NAND FLASH filesystem )
ok flash n:\boot\{{{version|VERSION_NUM}}}.rom ( if the file is on the NAND FLASH filesystem )


or
or


ok flash sd:\boot\q2d09.rom ( if the file is on an SD card )
ok flash sd:\boot\{{{version|VERSION_NUM}}}.rom ( if the file is on an SD card )


===Secured Machines===
===Secured Machines===

Revision as of 19:52, 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 from http://dev.laptop.org/pub/firmware/VERSION_NUM/VERSION_NUM.rom.

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/VERSION_NUM/VERSION_NUM.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/VERSION_NUM.rom, or on a USB key as /boot/VERSION_NUM.rom . Power cycle the system and get to the ok prompt. Then type either:

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

or

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

or

 ok flash sd:\boot\VERSION_NUM.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.