Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Kernel and monitor program
@ 2004-06-10 22:17 S C
  2004-06-10 22:26 ` Jun Sun
  0 siblings, 1 reply; 2+ messages in thread
From: S C @ 2004-06-10 22:17 UTC (permalink / raw)
  To: linux-mips

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.

TIA,
-S.

_________________________________________________________________
Watch the online reality show Mixed Messages with a friend and enter to win 
a trip to NY 
http://www.msnmessenger-download.click-url.com/go/onm00200497ave/direct/01/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Kernel and monitor program
  2004-06-10 22:17 Kernel and monitor program S C
@ 2004-06-10 22:26 ` Jun Sun
  0 siblings, 0 replies; 2+ messages in thread
From: Jun Sun @ 2004-06-10 22:26 UTC (permalink / raw)
  To: S C; +Cc: linux-mips, jsun

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-10 22:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-10 22:17 Kernel and monitor program S C
2004-06-10 22:26 ` Jun Sun

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