On Mon, Oct 30, 2006 at 01:23:12PM -0500, Roland Roehrich wrote:
> From: Roland M. Roehrich <rroehric at mc.com>
> 
> This patch allows sys_kexec_load to accept a passed in codepage to 
> trampoline to a destination kernel.  The existing code assumed that it 
> was starting a kernel similar to itself, with a particular set of 
> registers, and data.  The patch allows a codepage to be passed in as the 
> first segment, which can be customized to the destination kernel.  A 
> different customization is needed when going from a 2.6 arch/ppc to 2.6 
> arch/powerpc kernel, or from a 2.6 kernel to a 2.4 kernel, or to a 
> non-Linux kernel.
> 

Hi Ronald,

Why do we need above codepage? Can't the existing purgatory infrastructure
handle this? You already got the facility to load a custom trampoline
code and pass the pointer to entry of this code through sys_kexec_load().
>From kexec-tools perspecitve we call this trampoline code as purgatory.
So you can just write your own trampoline and pass it to sys_kexec_load.

Are you worried about existing code which is run in relocate_kernel.S?
If yes, can you be little specific, what's the piece of code which is
not generic enough and does not allow you to boot a 2.4 kernel from 2.6
kernel or does not allow booting to a non-linux kernel?

Thanks
Vivek
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to