linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* boottime kernel relocation, what I missed?
@ 2007-07-13  7:17 meerkat
  2007-07-13 22:07 ` meerkat
  0 siblings, 1 reply; 5+ messages in thread
From: meerkat @ 2007-07-13  7:17 UTC (permalink / raw)
  To: linuxppc-embedded


Good day all,

For the first time I begin working on PPC, and on low level, and right start
from boot sequence, one issue puzzled me.

After bootstrap code (zImage) uncompressed the kernel vmLinux to physical
memory (say from addr 0),
it jumps to the kernel entry point, _start, using physically address. 

 At this time, the MMU is not yet setup to map the kernel virtual address 
(which is statically linked against base address KERNELBASE) to the
physically address.

$ nm vmlinux |grep early_init
c038b8e0 T early_init


_start calls early_init before mmu is on to map the KERNEL_BASE to
physically address

The question is how "bl  early_init"  can branch to the early_init entry
point, properly, as early_init is still a virtual address?

Thanks

Jim
-- 
View this message in context: http://www.nabble.com/boottime-kernel-relocation%2C-what-I-missed--tf4072673.html#a11574529
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-16 20:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-13  7:17 boottime kernel relocation, what I missed? meerkat
2007-07-13 22:07 ` meerkat
2007-07-16 19:10   ` Becky Bruce
2007-07-16 19:36     ` meerkat
2007-07-16 20:51       ` Becky Bruce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).