linux-mips
[Top] [All Lists]

Re: kexec on mips - anyone has it working?

To: Nicolas Schichan <nschichan@freebox.fr>
Subject: Re: kexec on mips - anyone has it working?
From: Tomasz Chmielewski <mangoo@wpkg.org>
Date: Tue, 27 May 2008 14:40:21 +0200
Cc: linux-mips@linux-mips.org, Kexec Mailing List <kexec@lists.infradead.org>
In-reply-to: <200805271405.55346.nschichan@freebox.fr>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <483BCB75.4050901@wpkg.org> <200805271405.55346.nschichan@freebox.fr>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.12 (X11/20080305)
Nicolas Schichan schrieb:

 Ideas? Ways to debug it?

I am using a 2.6.20 kernel on a 32bit mips platform and it is working fine. however I am using this userland code (make CROSS=$(your cross-compiler prefix) to compile it) :

http://chac.le-poulpe.net/~nico/kexec.tar.gz

Could you try to add the following line in machine_kexec.c, just before jumping to the trampoline:

       change_c0_config(CONF_CM_CMASK, CONF_CM_UNCACHED);

And machine_kexec.c file is in where? It's not in the above one, it's not in kexec-tools-testing-20080324?


--
Tomasz Chmielewski
http://wpkg.org


<Prev in Thread] Current Thread [Next in Thread>