All of lore.kernel.org
 help / color / mirror / Atom feed
From: Helge Deller <Helge.Deller@ruhr-uni-bochum.de>
To: parisc-linux@thepuffingroup.com,
	Paul Bame <bame@debian.fc.hp.com>,
	parisc-linux@thepuffingroup.com
Cc: parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] hack to use HPUX boot loader
Date: Thu, 28 Oct 1999 00:02:07 +0200	[thread overview]
Message-ID: <99102800052200.00292@P100> (raw)
In-Reply-To: 199910271811.MAA17359@debian.fc.hp.com

Am Wed, 27 Oct 1999 schrieb Paul Bame:
> = 
> = 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

!!!! Please, don´t expect the above line to be valid at all !!!!!!!!!
It was just one of my bad investigations and seemed to be true in my
stupid tests. As already said in other mails: It´s hard without any
documentation !
(If someone want, please delete it from the source !!)

Helge.


> 
> 			    -Paul Bame
> 

  reply	other threads:[~1999-10-28  6:35 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
1999-10-27 22:02       ` Helge Deller [this message]
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=99102800052200.00292@P100 \
    --to=helge.deller@ruhr-uni-bochum.de \
    --cc=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 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.