Talk:USB Drive

From OLPC
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)

Removed all below that has since been placed in Firmware/Install. --Quozl 06:25, 30 August 2013 (UTC)

To update the firmware

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.