RE: [iPAQ] HP iPAQ h5450

From: Bob Davies <bdavies_at_cinnabar.ca>
Date: Wed, 15 Dec 2004 08:54:58 -0500

 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

From:
http://umbrella.sourceforge.net/article.php?story=20040311042139896

Restoring PocketPC 2003

This last section is added, because the guide found at
http://www.handhelds.org/handhelds-faq/wincerestoration.html does not
fully cover the problems of restoring PocketPC 2003 on the HP iPAQ
5550 model. The information found here is based on a mail from Kagan
Kongar that can be found here When the BootBlaster3900-2.6.exe
backups PocketPC, it seems to backup 32+16MB of ROM, and hence
creates an image file of 49,807,360 bytes (uncompressed size).
Restoring this file (for restoring PocketPC) to the iPAQ with
bootloader-2.20.1 seems impossible, due to its size and the fact that
the root partition only can hold 32MB.
Trying to restore PocketPC 2003 the normal way produces the following
error message from the iPAQ

*****
boot> load root
partition root is a jffs2 partition:
 expecting .jffs2 or wince_image.gz.
 After receiving file, will automatically uncompress .gz images
loading flash region root
using ymodem
ready for YMODEM transfer...
C4E130C3C8926E4097FDAD7E74AE1B19D
00F79874 bytes loaded to A0000400
Looks like a gzipped image, let's verify it...
Looks like a gzipped image, let's verify it...
Verifying gzipped image
..................................... (etc etc)
verifyGZipImage: calculated CRC = 0x8DFC748A
verifyGZipImage: read CRC = 0x8DFC748A
img_size is too large for region: 01F80000
img_size is too large for region: 01F80000
img_size is too large for region: 01F80000
boot>

The problem is described in further detail in philo's mail, which can
be found here. Generally it seems that the PocketPC image contains 2
rom images. One located in the first 32MB and a backup image located
in the remaining 16MB of the PocketPC image. Using philo's method the
second rom image was removed by using the command:

      $ dd bs=1k count=32256 if=wince_image of=wince_image.new
      32256+0 records in
      32256+0 records out

This produces a new image file with 33,030,144 bytes. This file is
then gzipped and transferred to the iPAQ via minicom and the load
root command. The bootloader was able to erase and write the new
flash and automatic verification was also successful. After the
transfer was completed the iPAQ was booted with the boot wince
command. When PocketPC have been restored it is optional to reinstall
the original bootloader, but this can be done by reseting the iPAQ
while holding down the cursor to activate the bootloader again. The
using minicom again to send the command load botldr.

Bob Davies, CISSP,OPST,OPSA
Network Security Analyst
Cinnabar Networks
Ph: 613-299-3865 Fax: 613-236-2506
Em: bdavies@cinnabar.ca Web: http://www.cinnabar.ca
PGP Key ID: 0x2EDE460B Key Fingerprint: 7AB0 E56B 9E20 7EF4 AFD9
708D 015E AD24 2EDE 460B
- -----Original Message-----
From: ipaq-bounces_at_handhelds.org [mailto:ipaq-bounces_at_handhelds.org]
On Behalf Of Cory Gunter
Sent: Wednesday, December 15, 2004 7:46 AM
To: ipaq_at_handhelds.org
Subject: [iPAQ] HP iPAQ h5450

I was trying to restore the Windows CE on this per the instructions
on your website and after the file transfer here is what I got.

partition root is a jffs2 partition:
  
 expecting .jffs2 or wince_image.gz.
  
 After receiving file, will automatically
loading flash region root
using ymodem
ready for YMODEM transfer...
532DE22FB4A60E013DFF55E6B8C1C742
015D1127 bytes loaded to A0000400
img_size is not a multiple of 4 -- are we sure that's OK?
Looks like a gzipped image, let's verify it...
Looks like a gzipped image, let's verify it...
Verifying gzipped image
and then
verifyGZipImage: calculated CRC = 0x00CBB1F9
verifyGZipImage: read CRC = 0x00CBB1F9
img_size is too large for region: 01FC0000 img_size is too large for
region: 01FC0000 img_size is too large for region: 01FC0000

I was hoping that you might be able to assist me with this issue.

Thanks for you assistance.

Cory Gunter
_______________________________________________
Open Source Software for Compaq iPAQ Handhelds.
iPAQ mailing list
iPAQ_at_handhelds.org
https://handhelds.org/mailman/listinfo/ipaq
irc://irc.openprojects.net #ipaq

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBQcBCLgFerSQu3kYLEQKxfgCgu/3qol9jGOW8mN4Im+A4h+3nnGsAnRm0
xgnhjJffv+f80ssGEcUEoYKA
=oGYy
-----END PGP SIGNATURE-----
Received on Wed Dec 15 2004 - 08:55:17 EST

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