From: Jun Sun <jsun@mvista.com>
To: "Y.H. Ku" <iskoo@ms45.hinet.net>
Cc: Marc Karasek <marc_karasek@ivivity.com>, linux-mips@oss.sgi.com
Subject: Re: BootLoader on MIPS
Date: Tue, 26 Mar 2002 10:08:36 -0800 [thread overview]
Message-ID: <3CA0B924.2030003@mvista.com> (raw)
In-Reply-To: NGBBILOAMLLIJMLIOCADOENICCAA.iskoo@ms45.hinet.net
Y.H. Ku wrote:
> Ya,
> I have traced the PMON code (www.carmel.com/pmon/) with NEC DDB5476 board (linux package from Montavista),
> (LSI Logic' Software Support Package for MIPS processors version 5.3.33)
>
> However, though it seem clear that function "_go" of pmon/head.S transfer control to client program
> by "j k0" (a exception)
> BUT I do not understand what information tha PMON transfer to LINUX-MIPS KERNEL
> I found the KERNEL's entry is "kernel_entry" of ~arch/mips/kernel/head.S.
> But, I can not find any information just like "board information" be transferred well.
> where is it!?
"board information" is not transferred to kernel. However, parameters you
pass (as in "go <param>") are passed in as standard C main argument style.
These are processed in arch/mips/ddb5xxx/common/prom.c file, i.e., held in a0,
a1 registers.
> using sp register with "j k0" command?
No. sp is not meaningful when kernel starts.
> where is the memory setting be transferred?
system ram size? It is hardcode in ddb5476 code. See
include/asm/ddb5xxx/ddb5476.h file.
> What MIPS LINUX needed!?
I thought you have montavista linux (probably hardhat 2.0?).
> (PPCBOOT to PPC-LINUX is clear with a board_info struct, initrd_start and initrd_end ... and work well...
>
PPC booting is more regular than MIPS in general. So they have a more uniform
bootup process and structure. MIPS have a lot of vendors who are usually
very creative.
Jun
next prev parent reply other threads:[~2002-03-26 18:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-22 13:20 BootLoader on MIPS Marc Karasek
2002-03-23 8:42 ` Y.H. Ku
2002-03-23 8:42 ` Y.H. Ku
2002-03-25 23:11 ` Jun Sun
2002-03-26 10:09 ` Y.H. Ku
2002-03-26 10:09 ` Y.H. Ku
2002-03-26 18:08 ` Jun Sun [this message]
2002-03-27 12:14 ` Y.H. Ku
2002-03-27 12:14 ` Y.H. Ku
2002-03-27 12:23 ` Geert Uytterhoeven
-- strict thread matches above, loose matches on Subject: below --
2002-03-22 8:16 Y.H. Ku
2002-03-22 8:16 ` Y.H. Ku
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=3CA0B924.2030003@mvista.com \
--to=jsun@mvista.com \
--cc=iskoo@ms45.hinet.net \
--cc=linux-mips@oss.sgi.com \
--cc=marc_karasek@ivivity.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.