For anyone interested in future, here is a step-by-step answer to my question.
How to get to the ipaq h1940 bootloader prompt:
Warning: I am not responsible for any damage to your ipaq or data if you follow these instructions. This is for information only.
I have not destroyed my ipaq by doing this, but every time I complete these instructions, my memory is wiped clean, and I get a resetted ipaq. So if you care about your data, back it up.
My system:
Gentoo Linux
Linux 2.6.8.1 kernel
1) Compile the "ipaq" module, found in the linux kernel configuration. It appears under (Device Drivers)->(USB Support)->(USB Serial Converter Support)->(USB PocketPC PDA driver). Compile this option as a module so that we can pass options to it.
2) Reboot your computer with the new kernel.
3) Don't load in the module yet... plug in your h1940 PDA (or unplug it, and plug it back in). Check kernel ouput, by running dmesg. I saw this:
usb 3-1: new full speed USB device using address 3
4) On my system, there is a file: /proc/bus/usb/devices. Look for the entry "Dev#=n", where n is the value you discovered by step 3. Note the Vendor= field, and ProdID= field. The entry relevant to my pocket PC was:
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=16 #Cfgs= 1
P: Vendor=03f0 ProdID=1016 Rev= 0.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 50mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
4) Insert the module into the kernel, and supply the vendor number and product ID number gathered from step 4. This will create the file /dev/usb/tts/? in the system. On my system, it was /dev/usb/tts/0, but it will change. You can find your entry by using dmesg. I'm using devfs, you might have to create the entry yourself using mknod. In my case, I do this:
modprobe ipaq vendor=0x03f0 product=0x1016
5) Now, we will use minicom. Run, as root, minicom -s. We have to change some settings. In the "serial port setup" category:
Serial Device = /dev/usb/tts/0 (Or whatever your /dev entry is)
Hardware Flow Control = NO
Software Flow Control = YES
Select "Bps/Par/Bits" and change settings to:
Speed: 115200
Parity: None
Stopbits: 1
Data: 8
We're almost there...
Now exit back to the main menu... select "Modem and Dialing"
We have to change a lot of strings here... select properties A -> L and delete everything, these fields should be blank.
The other settings should be:
Auto bps detect: No
Modem has DCD line: No
Status Line shows: DTE Speed
Multiline untag: No
Exit back to the main menu, and select "Save setup as DFL"
You now have minicom configured to talk to your PDA!
6) Next, we have to make sure the PDA is ready to talk to our computer. This is tricky. On the h1940, you have to press all 4 bottom buttons, the power button at the top, and press and release the reset button (sheesh). You should see a screen that has a logo, and says "1.07/1.07/SD" at the top. You have to be in Windows CE for this to work I think, I can never get it to work while it's booting... so if you miss, you have to wait a few seconds and try again. That is, attempt the reset only when you're in Windows CE, you can't do it while it's booting.
7) Now run minicom with the -o option. So run "minicom -o" at the prompt.
8) Press <ENTER> and you should see "USB>" which is the bootloader prompt.
Notes:
If you have an SD card with a boot loader image present, I can't seem to get the prompt back.
There you are!
Adrien Guillon
---------------------------------
Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com
Received on Fri Nov 12 12:22:23 2004
This archive was generated by hypermail 2.1.8 : Fri Nov 12 2004 - 12:22:56 EST