iPaq H3600 Handhelds.org Bootloader Installation Instructions
WARNINGS:
If this installation fails then your iPAQ could become
(temporarily) unusable.
This version is less likely than the previous installation processes to
result in an installation failure. We are trying very hard to make this
procedure bullet proof, and we think we're very close with the boot
loader. The boot loader can not get over not get overwritten by accident
now. Some additionial bug is certainly possible, but we think it is
unlikely. If you have not upgraded your boot loader to version 2.14.8,
please do so immediately.
Compaq Research will ensure that you do not permanently
turn your iPAQ into a paperweight, but it is
very inconvenient for all of us if we have to fix
a unit that was rendered nonbooting by a failed installation (or
WinCE restoration).
Windows CE Restoration
If you save an image of your Windows CE software as described
in the WinCE
restoration instructions then you will be able to restore it
again after installing Linux.
The restoration process is not simple. It is error-prone. But
it is available. We will help anyone who has trouble with it.
We are working on an improved process, but it is not ready yet.
WinCE has been successfully restored by many people on
many different iPAQs. The current status of the save / restoration
of WinCE is available at http://www.handhelds.org/projects/wincerestoration.html.
Errata
Requirements:
Installation:
- Plug your iPAQ into the serial port of your Windows machine using a
serial cable.
- Configure your iPAQ to use the serial port for ActiveSync.
- Select settings from the Start Menu (the Microsoft flag icon)
- Click the Connections tab, and then double-click the PC icon.
- Ensure the Automatically synchronize when serial cable is
connected using is checked.
- Change USB to 115200 Default.
- Click OK (top right of the screen).
- Use the ActiveSync application (the file name is Async.exe) to connect
to your iPaq 3600 from you PC.
- Copy osloader-1.3.0.exe
to your iPaq from your Windows machine. Ignore the "may need to convert"
message you will get.
- On your iPaq H3600, find osloader-1.3.0.exe wherever you put it, and then
execute osloader-1.3.0.
- Select the Tools->Flash->Save to files.... Four (4) files, 4MB
each in size will be created. After each file is created, copy the file to
your computer, then delete the file from the iPAQ to make room in the
WinCE ramdisk for the next file. The current status of the save /
restoration of WinCE is available at http://www.handhelds.org/projects/wincerestoration.html.
The files will be saved in the My Device folder -- the root
folder on the device. They will have filenames:
flash_00000000.bin, flash_00400000.bin,
flash_00800000.bin and flash_00c00000.bin.
- Select the "Tools->Bootldr->Run" menu
entry. The iPAQ screen should go blank.
- On the PC disconnect the ActiveSync application (it is holding onto the
serial port you need).
- On the PC, right click on the ActiveSync logo in the tooltray.
- Select the Connections Settings.
- Deselect Allow serial cable or infrared connection to this COM
port.
- You may have trouble getting ActiveSync to free your serial port. You
might want to use some more friendly operating system to run minicom or
eterm or,...
- Run your terminal emulator on whatever machine can talk to your serial
port with the settings of: 115200 8N1 (115200 baud, 8 bits, No Parity, 1
stop bit) and Flow control: 'None'.
- In your terminal emulator, hit the enter key on your keyboard
on your machine: you should see a 'boot>' prompt. You can
type 'help' at the bootloader at the 'boot>'
prompt to get a list of commands.
- This step is dangerous: make sure you perform it exactly
correctly. At the 'boot>' prompt, type 'load
bootldr', then start an xmodem download of the file bootldr-0000-2.14.8.
A bootldr
tarball corresponding exactly to these boot loader bits is
available.
- Your iPAQ will say "verifying ... done.". The loader
program has a simple sanity check in it to try to ensure that only a
bootloader can get installed into flash at the iPAQ's bootloader's
address. If there is an RXSTAT error, you can ignore it if there "verifying ... done"
was printed. Otherwise, repeat the 'load bootldr' step.
- At this point, the new bootldr is installed in flash. You can
spot check the bootldr installation before rebooting by executing
the command peek flash 0x0, which should print
EA00008E. Also check peek flash
0x20, which should print 646C7462. If
either of these prints FFFFFFFF, then the bootldr
is erased. Be very careful. Do not reset the unit. Do not power
cycle it. Make sure it is plugged in. Reload the bootldr. If
there are any error messages email ipaq@handhelds.org or use IRC to
connect to irc.openprojects.net channel #ipaq or #handhelds.org for
assistance.
- Reboot your iPaq H3600 by pushing the recessed reset button at
the lower right of the unit. If the iPAQ is in a cradle, you will have
to remove it to do this step. The boot loader should come up and
display a splash screen on the LCD. Put the iPAQ back in the
cradle. At this point, either type a space in the terminal
emulator or push the calendar button on the iPAQ to get the
bootldr's prompt "boot>".
Don't be scared if the message "Corrupt kernel image", because you
don't have a kernel installed yet. Whew! You are through the
risky part of the procedure.
- Now sure the bootldr flash sector is protected! If
does not print 00010001 then protect the flash sector manually. It is safe to perform this step even if it was already protected.
- At this point you have a working bootloader and you are ready to install a Linux distribution.
The latest Linux distribution for the iPAQ H3600 series is available at
http://familiar.handhelds.org and can be installed
using the instructions at http://familiar.handhelds.org/familiar/releases/latest/install/H3600/install.html.
The older Handhelds.org Linux Distribution which was last
updated in March of 2001 and is not likely to see any further updates can be installed by
following the instructions at update.html.
All future effort will be directed
towards building the Familiar Distribution.
Note: if you need to get back into the boot loader after you have Linux
running, restart the iPAQ and quickly hit the space bar a few times during the
boot process. You can restart the iPAQ with the Linux command shutdown -r
now.
If you have any problems, please post to one of the followig lists:
General problems with setup, installation, user-land software or configuration: ipaq@handhelds.org.
Issues believed to be related to the kernel: linux@handhelds.org.
Thank you.
Modified Friday May 25, 2001
Please send comments on this document to Jamey Hicks (jamey.hicks@compaq.com).