logo       

PPC2002 Restore on H3970: msg#00029

handhelds.ipaq.boot-loader

Subject: PPC2002 Restore on H3970

I successfully put Familiar (v0.6) on a H3970, bootldr ver. 2.19.69
I have now restored PPC2002 to it using "Restoring Windows CE from the
Compaq iPAQ Update"
(excellent information by the way - very useful!)
I have included the details below for anyone who might be interested!

I have a few questions, however:

H3970
=====
Does it really have 48MB ROM?
*The specifications, and PPC2002 itself (in Asset Viewer), specify that it
has 48MB ROM
*From the ROM Update pack (SP23479.exe), the created ce.img file
(i.e. NK_Windsor21010WWE.nbf minus the 1st 32 bytes) is 48128 blocks (block
= 1024 bytes) in size.

However, when doing a 'partition show' in the bootldr, the 'root' partition
extends to 0x01FC 0000 (32512k),
and the 'asset' partition extends to 0x0200 0000 (32768k) i.e. there appears
to be only 32MB ROM!

The reason I found this out was: I couldn't find anyone who had provided the
information to specifically
restore a H3970. Thinking I was being clever (!) I put two and two together
- made the 4096k .bin files
extending all the way up to 0x02F0 0000 (i.e. the whole of ce.img) and then
tried flashing from the top down
(starting with flash_02c00000.bin).
These first three files didn't fail, but they did give some strange messages
after the 'verifying ...'
line of the terminal output, gave no 'done.', and the bootloader froze,
requiring a reset.
Regardless (because this is the first time I have restored an iPAQ and
didn't know any different)
I ploughed on until I reached the 'flash_02000000.bin' file. This gave an
error at the bootldr prompt
and continued to print the output of 'partition show'.
This is where I realised I was trying to flash too high up in memory.

So why is ce.img 48MB when only 32MB is required?
I have since examined the .bin files that were not required and found that
they were almost entirely
filled with FF's and so didn't worry about it.
Having restored the ROM from 0x0004 0000 to 0x01FF FFFF, PPC2002 booted and
passed it's 'ROM checksum' test
(in Settings/System/Self-Test).

Asset partition
===============
Because my asset partition has been overwritten it no longer contains the
information it should,
and I don't have a backup.
Could anyone enlighten me as to the format of the asset information usually
contained within this partition?
And also whether it is possible to get this information from the information
on the back of the iPAQ,
and on the retail box?

Ymodem limitation
=================
Is there any reason for creating .bin files that are a maximum of 4096k?
I presume it is due to some limitation of the bootldr, or could I actually
restore an iPAQ from a
single .bin file containing the whole of the ROM?

H3970 Restoration information
=============================
Well, just in case anyone is interested, here's the information that enabled
me to successfully restore
an iPAQ H3970 (although I'm still using the linux bootldr - I might check
out Familiar v0.7.1 yet!):

Done under Windoze (excuse the typos) 2000 SP3 using UnxUtils.zip and
Hyperterminal
HP ROM Update pack: SP23479.exe -> NK_Windsor21010WWE.nbf

dd bs=32 skip=1 if=NK_Windsor21010WWE.nbf of=ce.img

dd bs=1024 count=256 if=ce.img of=parrot.bin
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
dd bs=1024 skip=20480 count=4096 if=ce.img of=flash_01400000.bin
dd bs=1024 skip=24576 count=4096 if=ce.img of=flash_01800000.bin
dd bs=1024 skip=28672 count=4096 if=ce.img of=flash_01C00000.bin
dd bs=1024 skip=32768 count=4096 if=ce.img of=flash_02000000.bin
dd bs=1024 skip=36864 count=4096 if=ce.img of=flash_02400000.bin
dd bs=1024 skip=40960 count=4096 if=ce.img of=flash_02800000.bin
dd bs=1024 skip=45056 count=3072 if=ce.img of=flash_02C00000.bin

765605e744c13ed3e2610b93cdb5339e *parrot.bin
42f6633822b1d8110013ff0425e66f76 *flash_00040000.bin
bde7ea5263b20b8dc1c7edc445073dc4 *flash_00400000.bin
43937800b4357b3c4a17f85c4259ce8b *flash_00800000.bin
05779b09a195327158d79c3b9af47760 *flash_00C00000.bin
1bd80140c1caa22322764ffdd16ece11 *flash_01000000.bin
90e91b455b207454ce3a47fe27bd03e4 *flash_01400000.bin
1dcc0b3c717b73b6f1d597c68f7ba988 *flash_01800000.bin
03d9bf402984b7faef123731feb48a0e *flash_01C00000.bin
52f1559eba7189cab4e8205428b39457 *flash_02000000.bin
b0daa7b80d3324e63849332ac586794c *flash_02400000.bin
9a095e29cb22aa3f5eef61f0c2560064 *flash_02800000.bin
e6a5455eafe3f06ee6190dc4d5276a35 *flash_02C00000.bin

NOTE: flash_02000000.bin
flash_02400000.bin
flash_02800000.bin
flash_02C00000.bin were NOT required - only included here for
completeness!

You may wish to create 'flash_01C00000.bin' so as not to overwrite the 256k
'asset' partition using:

dd bs=1024 skip=28672 count=3840 if=ce.img of=flash_01C00000.bin

BUT, I used the 4096k version as above, and the MD5SUM is calculated from
that.

Thanks,
Richard

Richard Case
QinetiQ (UK)
Email: racase@xxxxxxxxxxx


The Information contained in this E-Mail and any subsequent correspondence
is private and is intended solely for the intended recipient(s).
For those other than the recipient any disclosure, copying, distribution,
or any action taken or omitted to be taken in reliance on such information
is prohibited and may be unlawful.

Emails and other electronic communication with QinetiQ may be monitored.
Calls to QinetiQ may be recorded for quality control,
regulatory and monitoring purposes.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise