require 'familiar.inc'; require 'install.inc'; hh_opt('rcsid', '$Id: bootldr-synce.html,v 1.1 2006/07/25 22:17:58 rw Exp $'); hh_header('Installing the bootloader using SynCE'); ?>
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.
dccm
sudo synce-serial-config ttyS0
sudo synce-serial-start
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.
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
.
The following SynCE commands will do the copy of these files for all but the H3900:
pcp .gz ":/My Documents/bootldr.bin.gz"
pcp BootBlaster_1.18.exe ":/Windows/Start Menu/Programs/Bootblaster.exe"
For the H3900, the commands are:
pcp .gz ":/My Documents/bootldr.bin.gz"
pcp ":/Windows/Start Menu/Programs/Bootblaster.exe"
From Pocket PC: "Start->Programs-Bootblaster
", or from
Linux, by the command:
prun "/Windows/Start Menu/Programs/Bootblaster.exe"
pcp ":/My Documents/saved_bootldr.gz"
pcp ":/My Documents/wince_image.gz"
Copying the bootldr file takes about 10 seconds over a serial line. As the Pocket PC image is pretty large, and serial lines slow, the copy of Pocket PC takes quite a while over a serial line (~20 minutes).
As in any backup files, please save them in a safe place. We save them in .gz form, both to speed copying them to the host, but more imporantly, to allows you to check whether the files have been correctly copied due to the internal checksum. We highly recommend checking the checksum on both files before presuming your backup is safe (see the gzip man page for details). include "bootblaster-flash.inc" ?>
Shut down SynCE, "killall dccm
", and
continue to the install serial step.
#!/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 dccmJim Gettys hh_footer() ?>