This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: How do I restore WinCE image?



On 16-Aug-2001 Wong Yee Peng wrote:
> Hi,
>     I managed to permanently install redboot on my ipaq. Then, I
> successfully install the embedded linux kernel and root fs onto the ipaq and
> got it running once. However, later I think I messed up the fis (most
> probably becos of "fis init" twice while testing with the redboot boot
> script). Now, I cannot startup the embedded linux.

You should be able to restore your Linux environment, without reinstalling
RedBoot.  Exactly what problems are you having?  Note: this is much preferred
to restoring WinCE as there is a chance that the unit may become [temporarily]
unusable if that operation fails.

>     So, I wanted to restore my CE and reinstall redboot again. However, the
> user guide tells me to refer to the doc in the handhelds.org which does not
> apply to the redboot situation. Can anyone tell me how to restore CE from
> Redboot or the parrot loader?

Did you make a CF backup using the Parrot loader, prior to installing RedBoot?
If so, just insert the CF card, press reset (or power cycle) while holding
down the "action" button (the joy pad middle button).  This will bring up
the CF restore menu which is quite automatic.

If not, did you make copies of your FLASH by following the HandHelds instructions?
In this case, you'll have 4 data files.  You can load these using the RedBoot
'load' command, either over the serial using Xmodem or via the Ethernet and TFTP.
The basic flow is:
  1. Load & execute RAM version of RedBoot.
       RedBoot> load RedBoot.RAM
       RedBoot> go
  2. Now load the FLASH contents. 
       RedBoot> load -r -b 0x00100000 flash_00000000.bin
       RedBoot> load -r -b 0x00500000 flash_00400000.bin
       RedBoot> load -r -b 0x00900000 flash_00800000.bin
       RedBoot> load -r -b 0x00D00000 flash_00c00000.bin
  3. Now the scary part - rewriting the FLASH.
       RedBoot> fis unl -f 0x50000000 -l 0x01000000
       RedBoot> fis wr -f 0x50000000 -l 0x01000000 -b 0x00100000
       RedBoot> reset

Notice: as indicated in the "how to install RedBoot" instructions, we really only
support the first method, i.e. using the Parrot loader.  This second method will
work *IF YOU FOLLOW THE DIRECTIONS*, but Red Hat cannot be responsible if there
are any problems.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]