Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Paul Bame <bame@debian.fc.hp.com>
Cc: parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] hack to use HPUX boot loader
Date: Wed, 27 Oct 1999 12:11:37 -0500	[thread overview]
Message-ID: <199910271811.MAA17359@debian.fc.hp.com> (raw)
In-Reply-To: Your message of "Tue, 26 Oct 1999 09:50:37 CDT." <199910261550.JAA13603@debian.fc.hp.com>


= 
= Has anyone confirmed that the kernel which is started is getting good
= data (stack, etc...) or are my kernels booting purely by accident?
= 

Phillip looked over some boot messages after being booted with the
hpux boot loader and blessed them, so things appear to be working well.

How about a COMMAND LINE?

If anyone wants to investigate a bit and work on head.S, it looks like
when launched from the current hpux boot loader that the args
passed to the kernel are

	int argc, char *argv[], char *envp[],

with some slightly bizzare stuff in the "environment", of possible
interest:

	env[2] - load address *of the boot loader itself*
	env[3] - size *of the boot loader itself*

argc will always be a low number >= 1.  If you had told ISL:

	ISL> hpux /boot/vmlinux a b c

then argc would supposedly be 4 and argv[2], for example, would be "b".
I suspect the argv[] should be copied to somewhere safe.

Note that this is very different from the statment in head.S:

         *      %arg3(=%r23) holds HALF(!) of the size of the BSS-Segment

			    -Paul Bame

  parent reply	other threads:[~1999-10-27 18:10 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-22 22:34 [parisc-linux] hack to use HPUX boot loader Paul Bame
1999-10-24 23:08 ` Alex deVries
1999-10-26 14:50   ` Paul Bame
1999-10-26 23:41     ` John David Anglin
1999-10-27 17:11     ` Paul Bame [this message]
1999-10-27 22:02       ` Helge Deller
1999-10-28 15:22         ` John David Anglin
1999-10-28 14:40           ` Paul Bame
1999-10-28 16:18           ` Alan Cox
1999-10-28 17:03             ` John David Anglin
1999-10-28 17:18               ` [parisc-linux] bios passwd override procedure ? Ed June
1999-10-28 17:38               ` [parisc-linux] hack to use HPUX boot loader Paul Bame
1999-10-28 20:26                 ` Philippe Benard
1999-10-28 20:45                   ` John David Anglin
1999-10-28 21:10                     ` Philippe Benard
1999-10-28 20:11                       ` Paul Bame
1999-10-28 20:34                 ` John David Anglin
1999-10-28 21:02                 ` Frank Rowand

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=199910271811.MAA17359@debian.fc.hp.com \
    --to=bame@debian.fc.hp.com \
    --cc=parisc-linux@thepuffingroup.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