Skip to contentSkip to conversation

kexec tools mipsel port

PATCH In review Tomasz Chmielewski 3 participants 6 messages Feb 16, 2008 – Feb 17, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kexec tools mipsel port

Quoted 9 lines
Quoted 8 lines

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 for a customer of ours on a specific platform derived from toshiba tx4938 (so we think it should work at least for tx4938 evaluation board also). We would like to contribute it in case somebody else needs it or wants to improve it. This patch works for us but the assembler part in particular, should be considered as a starting point because my assembly knowledge is not too deep.

Quoted 3 lines

thanks for the patch. Sending them to this list is indeed the right thing to do. You can also CC me (who makes the commits) to be sure to get my attention.

Hi,

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?

Signature · 8 lines
Tomasz Chmielewski
http://wpkg.org


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
#1 lore raw
Quoted 13 lines · Tomasz Chmielewski
Quoted 9 lines
Quoted 8 lines

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 for a customer of ours on a specific platform derived from toshiba tx4938 (so we think it should work at least for tx4938 evaluation board also). We would like to contribute it in case somebody else needs it or wants to improve it. This patch works for us but the assembler part in particular, should be considered as a starting point because my assembly knowledge is not too deep.

Quoted 3 lines

thanks for the patch. Sending them to this list is indeed the right thing to do. You can also CC me (who makes the commits) to be sure to get my attention.

Quoted 8 lines

Hi,

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.

Signature · 7 lines
Horms


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
#2 lore raw
Quoted 3 lines · Simon Horman
Quoted 2 lines · Tomasz Chmielewski
Quoted 2 lines
Quoted 2 lines

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

(...)

Quoted 9 lines
Quoted 6 lines

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.

Signature · 7 lines
Tomasz Chmielewski
http://wpkg.org

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
#3 lore raw

Tomasz Chmielewski schrieb:

(...)

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

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?

Quoted 8 lines
Quoted 2 lines

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.

Well, it's not very encouraging:

# kexec -l vmlinux-2.6.23.1
# kexec -e
Starting new kernel
Will call new kernel at 002ca000
Bye ...

And that's about it.

Do I need to specify mem-min and/or mem-max on mipsel?

Signature · 7 lines
Tomasz Chmielewski
http://wpkg.org

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
#4 lore raw
In reply to Tomasz Chmielewski
Quoted 14 lines · Tomasz Chmielewski
Quoted 3 lines · Simon Horman
Quoted 2 lines · Tomasz Chmielewski
Quoted 2 lines
Quoted 2 lines

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

(...)

Quoted 7 lines
Quoted 6 lines

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?

Quoted 8 lines
Quoted 2 lines

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.

Signature · 7 lines
Horms


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
#5 lore raw
Quoted 22 lines · On Sunday 17 February 2008 05:56:36 Simon Horman wrote:
Quoted 21 lines · Tomasz Chmielewski
Quoted 3 lines · Simon Horman
Quoted 2 lines · Tomasz Chmielewski
Quoted 2 lines
Quoted 2 lines

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

(...)

Quoted 9 lines
Quoted 6 lines

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).

Quoted 7 lines
Quoted 1 line

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.

Hi,

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 promise

bye

Francesco

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec