Reflashing OFW over Serial

From OLPC
Revision as of 19:47, 27 October 2010 by Wmb@firmworks.com (talk | contribs) (Serial reflash instructions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If you need to update OFW but you don't have access to a mass storage device like SD or USB or the network, you can get the new OFW image over a serial connection. It takes a minute or two to download an ofw.rom file at 115200 baud.

You will need binary-download support in your terminal emulator program. TeraTermPRO has it built-in; with minicom you need to install a "bin-xfr" helper program.

First, ensure that you are using 115200 baud; if not:

 ok d# 115200 baud

Of course, you will need to adjust the baud rate on your terminal emulator program if you switched rates.

Start OFW's binary downloader:

 ok dlbin

You now have about 16 seconds to begin the download. Tell your terminal emulator to send the ofw.rom image in binary mode.

When the download finishes, dlbin will wait 5 seconds to see if more data is coming, and then return to the ok prompt.

Tell OFW that new FLASH data has been loaded, then start the reflash:

 ok true to file-loaded?
 ok reflash

If you are using a different base baud rate than 115200, remember to restore that rate on your terminal emulator before restarting OFW.