Re: Re: WinCE restoration again

From: Gert Menke <g.menke_at_gmx.net>
Date: Mon, 21 Jun 2004 20:23:41 +0200

Hi,

okay, here is what I did:

I have the following files from the WinCe backup on my pc:
        -rw-r--r-- 1 gert users 262144 25. Mär 18:03 asset_image
        -rw-r--r-- 1 gert users 262144 25. Mär 18:03 saved_bootldr
        -rw-r--r-- 1 gert users 49807360 2. Jun 18:59 wince_image

I split the wince_image into two parts:
        dd if=wince_image of=root.img bs=1k count=32512
        dd if=wince_image of=bank2.img bs=1k skip=32512
(I do this because bootldr cannot flash images larger than 32MB.)

I use Linux on my iPaq to restore bank2.img:
        dd bs=256k if=bank2.img of=/dev/mtdblock/2

Then, from the bootldr, I do:
        copy hda1:/saved_bootldr bootldr
        copy hda1:/root.img root

I reset the iPaq and have a brick.
I suppose that I should have restored the asset_image somehow, but I don't
know how.

Another method I tried was this:

I downloaded the following files from www.handhelds.org/feeds/wince/:
        -rw-r--r-- 1 gert users 262144 24. Apr 14:18 h5400_bootldr
        -rw-r--r-- 1 gert users 33292288 9. Jun 2003 h5450_wince
        -rw-r--r-- 1 gert users 262144 9. Jun 2003 h5450_wince_asset
        -rw-r--r-- 1 gert users 33030144 9. Jun 2003 h5450_wince_root

(Interestingly, the file h5450_wince is a concatenation of h5450_wince_root
and h5450_wince_asset.)

I erased bank2 from linux, just to make sure there are no jffs2 structures
that might confuse WinCE:
        modprobe mtdchar
        eraseall /dev/mtd/2

And from the bootldr:
        copy hda1:/h5400_bootldr bootldr
        copy hda1:/h5450_wince root

Reset => brick.

Should I have tried h5450_wince_root instead of h5450_wince? If yes, what to
do with h5450_wince_asset?

Any help would be greatly appreciated.

Regards,
Gert
Received on Mon Jun 21 2004 - 14:25:05 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:20:10 EDT