All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryan Bradetich <rbradetich@uswest.net>
To: Grant Grundler <grundler@cup.hp.com>
Cc: Philipp Rumpf <prumpf@suse.de>,
	Parisc Linux <parisc-linux@thepuffingroup.com>
Subject: Re: [parisc-linux] exec_kernel help
Date: Sat, 18 Sep 1999 13:14:39 -0600	[thread overview]
Message-ID: <37E3E49F.3CF5D20A@uswest.net> (raw)
In-Reply-To: 199909181436.HAA24063@milano.cup.hp.com

Grant Grundler wrote:

> Philipp Rumpf wrote:
> > Ryan Bradetich wrote:
> ...
> > > Here is the output on the console (I'm typing this in by hand)
> >
> > Try to get a serial console set up.
>
> Definitely...reading owners manuals can reveal interesting "tricks".
> Holding the "TOC" button (for about 10 seconds) on my 715 during
> powerup will force the console to serial port 1.  The user doesn't
> have to muck with setting paths for collecting linux kernel output.
> Check if the C200+ has the same behavior - good chance it does.
>

Found out how to do this in the users manual ... next question.  What is
everyone using for a serial console?  I have the HP A4576A monitor attached to
the C200+ right now, this monitor does not have a serial connection.  It has
the Enhanced Video Connector and the HD-15 (svga) monitor connections.   The
only serial device that I can think of is the web console, and I can get one
from work later this afternoon, if that will work.

> ...
> > > Any help/pointers would be appreciated :)
> >
> > okay, both head.S and our console (which is still called pdc_* though it
> > really is IODC) rely on pa1.1 firmware.  I am not sure this works on PA2.0
> > systems.

Will look in to these ... I've been focusing on init/main.c and
arch/parisc/boot/boot_code/ipl_[cs].[cS]

Let my outline my understanding of how the kernel gets loaded, and then will
someone please correct me if I'm wrong.

    1. The ipl is called by the PDC.  Execution starts in
arch/parisc/boot/boot_code/ipl_s.S.
    2. The ipl does some stuff then calls IPL_main().  (in
arch/parisc/boot/boot_code/ipl_c.c)
    3. IPL_main does some stuff/displays some values then calles exec_kernel.
(in arch/parisc/boot/boot_code/ipl_s.S)
    4. exec_kernel changes the program counter to the entry_point then does an
rfi. (entry point is 0x00010000)

    This is all the farther I've been able to trace/understand.  I was assuming
that the rfi throws us to start_kernel in init/main.c.
    Although after glancing at arch/parisc/kernel/head.S it looks like that
assumption might have been invalid.

> "Legacy" firmware (includes C200+, A180L, etc) run PDC/IODC in narrow mode.
> I expect PDC calls to work the same. I think something else is different.
> As Philipp suggested, check the PIM dump since it's the only info available.
>

Nothing in the PIM dump, though that was a great idea.... forgot all about
checking the PIM codes (duh...) :)

> Someone is looking at a PA debugger...

What do you mean by a PA debugger?

>
> grant
>
> Grant Grundler
> Communications Infrastructure Computer Operations
> +1.408.447.7253

  reply	other threads:[~1999-09-18 18:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-18  7:47 [parisc-linux] exec_kernel help Ryan Bradetich
1999-09-18  8:29 ` Philipp Rumpf
1999-09-18 14:36   ` Grant Grundler
1999-09-18 19:14     ` Ryan Bradetich [this message]
1999-09-18 18:32       ` Philipp Rumpf
1999-09-19  5:47   ` Ryan Bradetich

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=37E3E49F.3CF5D20A@uswest.net \
    --to=rbradetich@uswest.net \
    --cc=grundler@cup.hp.com \
    --cc=parisc-linux@thepuffingroup.com \
    --cc=prumpf@suse.de \
    /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.