Restoring WinCE from iPAQ running Linux

下載 Compaq ROM update files.
For 3600 series:
http://www.compaq.com/support/files/handhelds/us/locate/48_1230.html
For 3100 series:
http://www.compaq.com/support/files/handheldiPAQ/us/locate/48_1229.html

安裝完畢後, 會出現 NK_*.NBF 的檔案.

在 linux 下, 下達下列指令
dd bs=32 skip=1 if=NK_Mac18700CHT.nbf of=ce.img
dd bs=1024 count=256 if=ce.img of=parrot.bin (WinCE 的 boot loader)
dd bs=1024 skip=256 count=3840 if=ce.img of=flash_00040000.bin
dd bs=1024 skip=4096 count=4096 if=ce.img of=flash_00400000.bin
dd bs=1024 skip=8192 count=4096 if=ce.img of=flash_00800000.bin
dd bs=1024 skip=12288 count=4096 if=ce.img of=flash_00c00000.bin
dd bs=1024 skip=16384 count=4096 if=ce.img of=flash_01000000.bin (這一點網頁沒有提及, 或許英文的版本, size 沒這麼大)

使用 bootldr 2.18.1
set ymodem 1 速度是 xmodem 的兩倍
分別在 boot loader 環境下執行下列指令:
load flash 0x00040000
load flash 0x00400000
load flash 0x00800000
load flash 0x00c00000
load flash 0x01000000 (這一點網頁沒有提及, 或許英文的版本, size 沒這麼大)

reset 之後, WinCE 就會重現江湖了

(Reference: http://www.handhelds.org)