Please note that this manual does not cover the HP iPAQ H2200, Hx4700, and H6300 series of devices yet.

Please do not even try to apply the existing instructions from the installation guide on any of the HP iPAQ H2200, Hx4700, and H6300 series of devices. The installation will fail and in a worst case you may end up with a bricked device.

We hope to be able to rectify the documentation situation shortly and appologize for the delay.

Introduction

SynCE transfers between Linux and Microsoft Pocket PC using the same protocol that "ActiveSync" uses.

SynCE is quite new and evolving rapidly, and its use for installing Linux on the iPAQ is also new, so it is quite possible you will have difficulties given its early state and rapid evolution. The directions below were written using SynCE version 0.7. Using SynCE does spare you from having to have a Windows system to install Linux on your iPAQ.

If you have difficulties, you can always use the ActiveSync method of bootloader installation.

Bootldr Installation and Backup

  1. First: install SynCE.

  2. Plug in your serial cable from your system to the iPAQ, and make sure the iPAQ is plugged into its power-supply. You don't want your iPAQ to run out of power in the middle of this procedure.

  3. Startup SynCE: Start the SynCE communications daemon and configure your serial port on your Linux system by executing the following commands, which start up SynCE, configure your serial port, and start up a PPP connection to the iPAQ. Some of the commands must be executed as root, and some must not be executed as root: the commands that must be exectuted as root are indicated by use of the "sudo" command below.

    If all is well, you'll get cheery connect tones from your iPAQ, and ppp0 will be alive and well on your Linux system, and the iPAQ can be pinged using the address shown by your ifconfig ppp0 information.

  4. Two programs have to be copied to the iPAQ: a program "BootBlaster" that is used to rewrite the boot sector in flash with a bootloader "bootldr" able to support Linux (and PocketPC).

    For H3100, H3600, H3700 and H3800 machines, the flash rewriter is named BootBlaster_1.18.exe.
    For H3900, H5400, and H5500 machines, it is named BootBlaster3900-2.3.exe.

    For H3100, H3600, H3700 and H3800 machines, the boot loader is named .gz.
    For H3900, H5400, and H5500 machines, it is named .gz.

    Bootblaster will take either gzipped or not-gzipped bootloader images; best to use the supplied .gz format files.

    The following SynCE commands will do the copy of these files for all but the H3900:

    For the H3900, the commands are:

Scripting

Paulo writes: "I install a lot of iPAQ with Linux, so i built my own script to do that from my Linux Box:"

#!/bin/sh
dccm
sudo synce-serial-config ttyS0
sleep 1
sudo synce-serial-start
sleep 3
pcp  ":/My Documents/bootldr.bin"
sleep 1
pcp  ":/Windows/Start Menu/Programs/Bootblaster.exe"
sleep 1
prun "/Windows/Start Menu/Programs/Bootblaster.exe"
sleep 1
synce-serial-abort
sleep 1
killall dccm
Jim Gettys