5.3. Flashing the root filesystem

Issue the following commands:

boot> set ymodem 1
  setting param <ymodem> to value <1>
boot> load root
loading flash region root
using ymodem
ready for YMODEM transfer...

This command tells the iPAQ to be ready to receive the root image using the xmodem protocol. You just have to feed it from the running minicom window, by pressing Ctrl-A and S. A small popup window will appear, allowing you to choose the transfer protocol. Using the arrow down key, move down to the "ymodem" entry and press Enter.

A file selector window will open, where you need to specify the file to download. Using the arrow right key and pressing Enter, you can go to the directory containing the root image file transfered in Section 5.1. Using the arrow down key, move down to the correct file, and hit space to select the file, then press Enter.

A window will open, displaying the current transfer status. The transfer should take about 15 minutes, so be patient. When completed, a beep will awake you, so press Esc to close the window. The following lines should appear:

94208F6013CD23402361CC8905022946  task-bootstrap.jffs2
00600000 bytes loaded to C0000400

Erasing sector 00040000
Erasing sector 00080000
Erasing sector 000C0000
Erasing sector 00100000
Erasing sector 00140000
...
Erasing sector 01F40000
Erasing sector 01F80000
writing flash..
addr: 00040000 data: E0021985
addr: 00050000 data: 12512501
addr: 00060000 data: 8CF607FF
...
addr: 00610000 data: C8E314FE
addr: 00620000 data: 9B95ACF1
addr: 00630000 data: FFFFFFFF
verifying ...
formatting ... done.
boot> 

This mean that the bootloader first erases the flash memory, then writes to it the downloaded image, verifies it and finally formats it correctly.