LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* What Bootloader Initialisation does the PPC Kernel Expect?
@ 2004-04-01 15:58 Phil Thompson
  0 siblings, 0 replies; only message in thread
From: Phil Thompson @ 2004-04-01 15:58 UTC (permalink / raw)
  To: 'linuxppc-dev@lists.linuxppc.org'


Hi,

I am porting the latest 2.4 kernel to a 405GP based board (using the Walnut
port as a reference). The bootloader is in-house code with minimal
functionality.

The kernel gets as far as displaying the "Now booting the kernel" message.
The actual line of code at which the kernel "disappears" is the "rfi"
instruction (in ppc/kernel/head_4xx.S) that is supposed to transfer control
to the "start_here" label, ie. when the MMU is enabled.

By this time, the kernel has executed very little board specific code, so
I'm thinking that the problem is that the bootloader might not be doing some
initialisation that the kernel is expecting.

Are there things that the kernel expects the bootloader to have done
(ignoring obvious things like setting up the memory controller)? Does the
above problem suggest anything in particular?

Many thanks,
Phil

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-01 15:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-01 15:58 What Bootloader Initialisation does the PPC Kernel Expect? Phil Thompson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox