Skip to contentSkip to conversation

Kexec-tool support for MIPS

DISCUSSION PANIRAJ BT 3 participants 3 messages Oct 1, 2009 – Oct 8, 2009

Subsystems (2)
lore
Share & tools
lore
#1 lore raw
Quoted 4 lines · PANIRAJ BT

Hi,

I am new to Linux. Does Kexec-Tools support MIPS processor ? If so , how can I get it ?

Hi,

Yes kexec-tools supports MIPS, though it only understands a limited number of boot protocols.

You can obtain kexec-tools from ftp://ftp.kernel.org/pub/linux/kernel/people/horms/kexec-tools/

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

#2 lore raw

What is purgatory?

In reply to PANIRAJ BT

mips32 , kexec

mips-setup-simpile.S:

In purgatory code, kexec setuped boot_note structure for kernel to reboot.It accomplished

this by copying the "kexec" string address to the end of boot_note struct , followed by the commandline

pointer stored behind, and passed in the address of command_line to second kernel by setting

the value of a1 register to the address of "kexec" string.

What puzzled me is that,in purgatory code,

why "lw t2,12(t4)" could put t2 with the value of size of boot_notes?

As I know , t4 is the entry address of kernel , why this code above could get the size of

boot_notes? how?

Does this mean every kernel of elf format has a head structure of boot_note?

Thank you

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