From: Jun Sun <jsun@mvista.com>
To: S C <theansweriz42@hotmail.com>
Cc: linux-mips@linux-mips.org, jsun@mvista.com
Subject: Re: Kernel and monitor program
Date: Thu, 10 Jun 2004 15:26:52 -0700 [thread overview]
Message-ID: <20040610152652.J10411@mvista.com> (raw)
In-Reply-To: <BAY99-F42680lFxUe9t00012257@hotmail.com>; from theansweriz42@hotmail.com on Thu, Jun 10, 2004 at 10:17:52PM +0000
On Thu, Jun 10, 2004 at 10:17:52PM +0000, S C wrote:
> Hello all,
>
> Please pardon the newbie question, but I was wondering what a kernel in
> general expects a monitor program/bootloader like YAMON to do for it
> beforehand, if anything at all. I know the answer is very board specific,
> but if there are any generic things that a kernel expects ready for it
> before it starts running (caches initialized already? SDRAM control regs set
> up? Or maybe the kernel has no expectations at all?), I'd be grateful if
> someone could point them out.
This is almost an FAQ. (although I don't know if I am giving the
same answer each time ;0)
. initialize system RAM and its controller
. copy kernel to RAM (in normal cases, unless you do XIP)
. initialize and enable cache
. (optionally) pass some args to kernel
. (optionally) initial some board hw. This is really a negotiation
between loader and linux board setup routine.
Jun
prev parent reply other threads:[~2004-06-10 22:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-10 22:17 Kernel and monitor program S C
2004-06-10 22:26 ` Jun Sun [this message]
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=20040610152652.J10411@mvista.com \
--to=jsun@mvista.com \
--cc=linux-mips@linux-mips.org \
--cc=theansweriz42@hotmail.com \
/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