RE: Updating bootloader and reinstalling PocketPC

From: Hicks, Jamey (Jamey.Hicks@compaq.com)
Date: Tue Apr 23 2002 - 08:06:16 EDT


Jonathan,

You are basically correct.

> -----Original Message-----
> From: Jonathan Duff [mailto:jonathan.duff@ntlworld.com]
> Sent: Monday, April 22, 2002 7:04 PM
> To: bootldr@handhelds.org
> Subject: [Bootldr] Updating bootloader and reinstalling PocketPC
>
>
> Can anyone confirm that this is the correct sequence of steps before I
> create a brick! I want to remove savaJe and reinstall Pocket
> PC2002 on a
> 3760. I've read as much as I can on both this site and
> savaje.com and am
> still a bit unsure of the exact procedure as there seems to be some
> conflicting information.
>
> Here's what I think I need to do.
>
> Boot> Load bootldr
>
> Send bootldr-2.18.39.bin rom the PC via Xmodem, (is this the
> best loader
> to use or is one of the older ones better?)
>
> Reboot the IPAQ
>
> My Ipaq has partitions bootldr,params,kernel,rt.jar,savaJe and apps.
>
> As I don't have a root partition do I need to execute
>
> Boot> partition reset
>
> Followed by
>
> Boot> load root
> Send wince_image.gz via Xmodem
> I've read elsewhere that the Xmodem command wraps around after 8megs, is
> this still a problem with the newer bootloaders as my image file is
> 13megs?

It's not that xmodem wraps around, it's that it uses the beginning of dram to hold the data it is going to write to flash. Most of the bootldr operates in DRAM from 24-32MB, but it used to sit in DRAM from 8-16MB, which is where the 8MB limit came in. If you loaded more the 8MB, then it overwrite the bootldr runtime structures and crashed. This limit still comes into play with the H3100, which only has 16MB of DRAM.

> Some sites quote the use of the command "set ymodem 1" to get around the
> 8 meg limit and get a faster transfer, is this only for direct load
> flash commands, using uncompressed files or can it be used with load
> root?

ymodem is almost twice as fast as xmodem but uses the same chunk of DRAM for buffering the transfer. The bootldr's ymodem implementation only seems to work with minicom and not hyperterminal.

> Or will the load root command create the partition and load the file
> itself without the partition reset step?

You need to do the partition reset step in order to define the root partition in flash -- Savaje has partitioned it without a partition named "root".

Jamey



This archive was generated by hypermail 2.1.5 : Fri Jan 17 2003 - 17:47:04 EST