linux-mips
[Top] [All Lists]

Re: implementation of software suspend on MIPS. (system log)

To: "Ralf Baechle" <ralf@linux-mips.org>
Subject: Re: implementation of software suspend on MIPS. (system log)
From: "Hyon Lim" <alex@alexlab.net>
Date: Thu, 1 Nov 2007 03:15:11 +0900
Cc: linux-mips@linux-mips.org
In-reply-to: <20071031132553.GF14187@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <dd7dc2bc0710301215m1a5b8d7at85c9afc7976dc21d@mail.gmail.com> <20071031132553.GF14187@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
The problem is resume process.
Some page copy and other remaining process wasn't implemented.
The code of resume process should be implemented on arch/xxx/power/swsusp.S
So it should be implemented by assembly.
That's the problem...
I've no idea about complex assembly programming. :-)
Could you recommend any pdf or website?
 
On 10/31/07, Ralf Baechle <ralf@linux-mips.org> wrote:
On Wed, Oct 31, 2007 at 04:15:57AM +0900, Hyon Lim wrote:

> [DEBUG] Swsusp_write() @ kernel/power/swsusp.c,874
> [DEBUG] write_suspend_image(), kernel/power/swsusp.c,407
> [DEBUG] init_header(), kernel/power/swsusp.c,337
> [DEBUG] dump_info(), kernel/power/swsusp.c,321
>  swsusp: Version: 132618
>  swsusp: Num Pages: 8192
>  swsusp: UTS Sys: Linux
>  swsusp: UTS Node: (none)
>  swsusp: UTS Release: 2.6.10_SELP_MIPS
>  swsusp: UTS Version: #95 Wed Oct 30 03:46:35 KST 2007
>  swsusp: UTS Machine: mips
>  swsusp: UTS Domain: (none)
>  swsusp: CPUs: 1
>  swsusp: Image: 1896 Pages
>  swsusp: Pagedir: 0 Pages
> [DEBUG] data_write(), kernel/power/swsusp.c,303
> Writing data to swap (1896 pages)... done
> Writing pagedir (8 pages)
> S|
> Powering off system
> Cold reset
>
> This is system log of my implementation.

Excellent, this is looking promising.

Do you still need any help?

Ralf



--
Hyon Lim (임현)
Mobile. 010-8212-1240 (Intl' Call : +82-10-8212-1240)
Fax. 032-232-0578 (Intl' Available)
Homepage : http://www.alexlab.net
Blog : http://www.alexlab.net/blog
<Prev in Thread] Current Thread [Next in Thread>