From: Tom Rini <trini@kernel.crashing.org>
To: "Dave B. Sharp" <daveb_sharp@yahoo.ca>
Cc: kernelnewbies@nl.linux.org, linux-kernel@vger.kernel.org
Subject: Re: ppc boot entry point
Date: Mon, 3 Oct 2005 10:22:41 -0700 [thread overview]
Message-ID: <20051003172241.GB6735@smtp.west.cox.net> (raw)
In-Reply-To: <20051003153527.53128.qmail@web32909.mail.mud.yahoo.com>
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/
next prev parent reply other threads:[~2005-10-03 17:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-03 15:35 Dave B. Sharp
2005-10-03 16:46 ` linux-os (Dick Johnson)
2005-10-03 17:22 ` Tom Rini [this message]
2005-10-03 19:40 ` Jon Masters
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051003172241.GB6735@smtp.west.cox.net \
--to=trini@kernel.crashing.org \
--cc=daveb_sharp@yahoo.ca \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®