Manual Firmware Install: Difference between revisions

From OLPC
Jump to navigation Jump to search
(→‎Unsecured Machines: AC not present)
(slight clarifications; replaced instance of q2d09 with version var; add hint to look in n:\boot-alt\ also)
Line 19: Line 19:
cd boot
cd boot


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:
Put the {{{version|VERSION_NUM}}}.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 press the Escape (top left key) to get to the ok prompt. Then type either:


ok flash u:\boot\{{{version|VERSION_NUM}}}.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 )
Line 26: Line 26:


ok flash n:\boot\{{{version|VERSION_NUM}}}.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

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


or
or
Line 31: Line 35:
ok flash sd:\boot\{{{version|VERSION_NUM}}}.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 )


(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 to plug it in.

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.


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

Revision as of 05:51, 22 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/boot/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 VERSION_NUM.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 press the Escape (top left key) to 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 n:\boot-alt\VERSION_NUM.rom   ( if the file is on the NAND FLASH in the alternate boot filesystem )

or

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

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

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.


See Cheat codes for information about how game buttons control startup options.