Re: Two other h1940 fixes

From: Pierre Hébert <pierre-hebert_at_laposte.net>
Date: Fri, 26 Jan 2007 09:33:30 +0100

On Friday 26 January 2007 04:17, Tom Talpey wrote:
> This might be a good time to mention two other changes I had
> to do in order to get my 2.6.20-rcX kernels to boot reliably.
>
> 1) In the early startup in mach-h1940.c/h1940_map_io(), the
> suspend/wakeup routine h1940_pm_return() is copied to a fixed
> address in memory, so the wakeup code can jump to it. The
> init code copies 1024 bytes, and my kernels on my h1940 fault
> every time it boots, it can't even start up. I have no idea why
> Arjan's kernels work, mine sure don't.

I encounter the same problem on another s3c24xx hardware (G500). In my
case even 8 bytes was too much and seemed to overwritte something. In
case this may help, the only solution I found to this problem was to
copy the 8 bytes just before entering suspend, and replace them with the
previous content just after resume.

Pierre.
Received on Fri Jan 26 2007 - 03:59:23 EST

This archive was generated by hypermail 2.2.0 : Fri Jan 26 2007 - 03:59:38 EST