[PATCH] kexec tools mipsel port

Francesco Chiechi francesco.chiechi at colibre.it
Sun Feb 17 17:05:57 EST 2008

On Sunday 17 February 2008 05:56:36 Simon Horman wrote:
> On Sat, Feb 16, 2008 at 09:31:34PM +0100, Tomasz Chmielewski wrote:
> > Simon Horman schrieb:
> >> On Sat, Feb 16, 2008 at 12:50:25PM +0100, Tomasz Chmielewski wrote:
> >>>>> We developed a patch to port kexec-tools to mips arch and included
> >>>>> support for command line passing through elf boot notes.  We did it
> >
> > (...)
> >
> >>> There was a thread about kexec-tools mipsel port on Kexec Mailing
> >>> List  in June 2007.
> >>>
> >>> What's the current state of this patch?
> >>>
> >>> Is it working, will be merged, will not be merged?
> >>
> >> Its still very much in the state of needing someone to
> >> nurse it into a merge.
> >
> > Funny thing is, kernel supports kexec, but there is no userland support
> > for it (well, unless you patch kexec-tools with the patches you found
> > somewhere on the internet).
> >
> > I'll try to see if the old patches posted to this list work for me.
> I'm quite happy to accept patches to add mipsel to kexec-tools
> (for the kexec-tools-testing tree that I maintain) and include
> it in the next release.
> The problem is that I'm not sure what state the patches are in.


I'm really sorry because I did not have time to work again on the patch, which 
I confirm is working for the application we developed it for.

There were surely a couple of problems that made it difficult to be for 
general use:

the first (probably simple to solve) is about physical/virtual mapping, Simon 
suggestion was about removing #ifdef __MIPSEL__ stuff in kexec.c

the second, a bit harder (for me at least), is that I had to insert cache 
flushing code in kexec tools assembly part because leaving the job to the 
kernel did not work

I don't know if I will have time for it in the near future because it implies 
quite a bit of studying for me... anyway I'll keep an eye on it but I cannot 



More information about the kexec mailing list