Kevin O'Connor wrote:
On Fri, Mar 07, 2008 at 01:22:21PM +0000, Oliver Ford wrote:
Further to the not shutting down properly thoughts, I was looking at the
resume-into-boot feature of HaRET, in the hope that letting windows do
the hardware shutdown would be more successful. Unfortunately I can't
work out how to find the required RESUMEADDR. Is there some method for
doing this?
I found it by just searching ram for the signature. It is 0xea0003fe
followed by 4K of zeros. It is usually aligned on some large boundary
near the top of ram. (For example, it is at 0xa0040000 on Apache and
0x30100000 on Hermes.)
Note that the resume-into-boot feature of haret has never really been
tested.
I notice that the resume into boot handler checks for a specific
instruction at the beginning of winCE's resume handler. Is this always
what it is, even for the newest versions of windows mobile? If so, I may
just try searching the entire memory for it and attempting the resume
tracing stuff a each place, see where it gets to. My ipaq is running Win
Mobile 6 (CE v5.2.1711).
I don't know if it still holds true for wince 6, but I think there is
a good chance it does.
-Kevin
Thanks. It's no longer necessary though. We have fixed the kernel oops
in normal boot process. We think it is just HaRET over-estimating the
amount of RAM and then the kernel trying to use memory that isn't there.
Including a specific RAMSIZE instruction fixes it.
Oliver
_______________________________________________
Haret mailing list
[email protected]
https://handhelds.org/mailman/listinfo/haret