Talk:USB Drive

From OLPC
Revision as of 01:58, 25 April 2009 by Skierpage (talk | contribs) (preserve deleted wireless upgrade section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

DELETED this section, including wireless firmware upgrade

I removed these details about firmware upgrade since they're from a long time ago and anyone running 8.2. has later firmware. But, they talk about a wireless upgrade, and that's missing from Upgrading firmware and the instructions for each firmware release. -- skierpage 01:58, 25 April 2009 (UTC)

To update the firmware

Merge-arrows.gif
It has been suggested that this article or section be merged with Upgrading firmware. (Discuss)


If you have a USB key that works with Q2D07, just download the new firmware onto it and type:

 ok flash u:\q2e24.rom

If you have an SD or MMC card, put the firmware on it and type:

 ok flash sd:\q2e24.rom

If you have internet access via an open wireless access point type the following, replacing "myssid" below with the SSID of your access point:

 ok ssid myssid
 ok flash http:\\dev.laptop.org\pub\firmware\q2e24\q2e24.rom

If your only media is a DataTraveler 1G USB key, you can patch OFW to work with it as follows:

 ok dev /usb/disk
 ok : rbx read-block-extent if 200 ms read-block-extent else false then  ;
 ok patch rbx read-block-extent open
 ok dend
 ok flash u:\q2e14.rom

Wireless update

If you have a secure machine without a developer key and you cannot get a working USB key or SD card, you could update to a new signed OS image via wireless. To do that you will need a wireless access point on which you can change the SSID and an HTTP server on which you can set the server's IP address.

  • Set the server IP address to 172.18.0.1.
  • Set the wireless access point's SSID to "OLPCOFW" (without the quotes)
  • Turn off security on the access point, so it is "open".
  • Put the signed OS update image file "fs.zip" and the corresponding "osNNN.img" file in the server's HTTP root directory.
  • Remove all external media (USB, SD) from the XO
  • Power on the XO and immediately hold down all four game buttons above the power key. Press them quite firmly to ensure that all four are down - you have to press harder than you think.

The XO should say:

 Release the game key to continue

Release the game keys, and it should proceed to:

 Trying disk:\fs.zip
 Trying sd:\fs.zip
 Trying http:\\172.18.0.1\fs.zip
 Scan for OLPCOFW found
 Associate with OLPCOFW

If your server and access point are setup correctly, the XO should proceed to download the signed image and reflash the NAND with it. It will take several minutes to complete the process. If all goes well, the next time that you reboot the machine, OFW will discover a new signed firmware image on the NAND filesystem and will update itself.