lkml.org 
[lkml]   [2005]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ppc boot entry point
On Mon, Oct 03, 2005 at 11:35:27AM -0400, Dave B. Sharp wrote:

> Hey there,
> Can anyone tell me how to find te entry point (i.e.
> address) into the kernel, when control is passed from
> the boot loader?
> Where are the arguements such as the boot parameters.
> I am compiling for a generic ppc kernel at this point.

This is PowerPC specific stuff. Setting aside pmac's, and boards which
use U-Boot, and other boards with a firmware that sets up the
environment directly for the vmlinux file (which is the kernel proper)
to run, the code under arch/ppc/boot/simple/ is typically run. This
code is linked to run at 8mb and will relocate itself there, regardless
of where the firmware actually loaded it into memory. This linked
address may be changed by enabling the ADVANCED_OPTIONS option and
choosing an alternate address. This really only makes sense on machines
where loading at 8mb won't work as you have 8mb or less of memory.

--
Tom Rini
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-03 19:25    [W:0.084 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site