First, make sure you have set up a terminal connection, as described in Chapter 3.
You need to reboot the iPAQ. If you have GNU/Linux running on it, this can be achieved by typing:
# shutdown -r now |
Another alternative is to push the recessed button at the lower right of the unit with a sharp object.
Warning |
Make sure you have bootldr 2.18.01 or higher installed on the iPAQ before proceeding with the following instructions. Compaq/HP Cambridge Research Labs will fix any units that fail to restore properly, but this should be seen as a last resort solution. |
When the bootldr screen appears, press on the "Calendar" button at the lower left corner of the unit to get a serial bootloader console. At the boot prompt, type:
boot> set ymodem 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 wince_image.gz you created in Chapter 2. 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 20 minutes (yes, it is much larger than GNU/Linux), so be patient. When completed, a beep will awake you, so press Esc to close the window. The following lines should appear:
Looks like a gzipped image, let's verify it... Verifying gzipped image ......................................; programming flash...erasing ... Erasing sector 00040000 Erasing sector 00080000 Erasing sector 000C0000 ... Erasing sector 01F80000 writing flash.. addr: 00040000 data: EA0003FE addr: 00050000 data: 0F6A0F6A addr: 00060000 data: 11A0F003 ... addr: 01FA0000 data: FFFFFFFF addr: 01FB0000 data: FFFFFFFF verifying ... calculated crc32 = 0x282F31FE desired crc32 = 0x282F31FE formatting ... done. boot> |
You can now boot PocketPC by typing:
boot> boot wince booting wince... Disabling LCD controller |
The iPAQ will boot PocketPC automatically, unless you hold the center of the joypad while pushing the recessed reset button.