What Bootloader Initialisation does the PPC Kernel Expect?

Phil Thompson philt at 4bridgeworks.com
Fri Apr 2 01:58:32 EST 2004


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

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,

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

More information about the Linuxppc-dev mailing list