Generating elf kernel ?
Scott Wood
scottwood at freescale.com
Thu Sep 16 02:49:12 EST 2010
On Wed, 15 Sep 2010 16:27:10 +0800
"tiejun.chen" <tiejun.chen at windriver.com> wrote:
> It's impossible to boot PPC vmlinux format directly if you only change the
> original entry point address, 0xc0000000.
Why? That's pretty much what the bootwrapper does. Our hypervisor has
directly booted vmlinux this way.
Note that in recent kernels physaddr is even set to zero, allowing the
ELF loader to just use that instead of magically knowing the kernel
wants to go at address zero.
> For kernel the following is as default:
> v:0xc0000000 --> p:0x0
That mapping is set up by code at the entry point of vmlinux, not by
the bootwrapper.
-Scott
More information about the Linuxppc-dev
mailing list