Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@rsn.hp.com>
To: hppa-linux@puffingroup.com
Cc: jason@gatekeeper.equator.com
Subject: Re: [hppa-linux] Cross compile setup
Date: Sat, 06 Feb 1999 22:26:11 -0600	[thread overview]
Message-ID: <199902070426.WAA03584@tomahawk.rsn.hp.com> (raw)

Jason Eckhardt wrote
> Also, a question to others:
> I have started to tinker with writing an IPL for the native
> port (i.e. bootstrap code). I've been compiling/assembling within HPUX,
> but I can't seem to ascertain how to get "ld" to generate a "straight"
> binary file rather than a SOM object. The bootstrap code obviously
> has to be a plain binary to work. Note that the version of gcc I picked
> up from www.software.hp.com utilizes the HP linker, not GNU ld.

If you haven't already seen them, careful examination of the following
HP-UX man pages will get you a long way toward understanding the typical
boot process:

	boot(1m)
	pdc(1m)
	isl(1m)
	hpux(1m)

Since PDC resides in a ROM, I assume you're talking about building
something analogous to ISL, which resides in a LIF filesystem (see lif(4))
on the boot media and is loaded by PDC.  I think the ISL image is plain
SOM, but you have to be careful to use the correct type when copying it
into the LIF filesystem.

I don't know how much of the boot process you want to replace, but if
you're willing to use the HP-UX ISL and HPUX, at least to get started,
you can fairly easily get things set up to boot your kernel over the net.
710's and 715's use a proprietary protocol called RMP (see rbootd(1m)),
while 712's and newer boxes use BOOTP (see bootpd(1m)).

Booting over the net, combined with using the serial port as the console,
makes things go a lot faster.

-------------
Bjorn Helgaas   helgaas@rsn.hp.com  telnet 1-497-3069  (972)497-3069

----------------------------------------------------------------------
To unsubscribe: send e-mail to hppa-linux-request@puffingroup.com with
`unsubscribe' as the subject.

             reply	other threads:[~1999-02-07  4:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-07  4:26 Bjorn Helgaas [this message]
1999-02-07  8:16 ` [hppa-linux] Cross compile setup Paul C. Janzen
  -- strict thread matches above, loose matches on Subject: below --
1999-02-08 23:43 Jason Eckhardt
1999-02-07  4:40 Bjorn Helgaas
1999-02-07  2:32 Jason Eckhardt
1999-02-04 10:59 Strelow, Ulrich

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=199902070426.WAA03584@tomahawk.rsn.hp.com \
    --to=helgaas@rsn.hp.com \
    --cc=hppa-linux@puffingroup.com \
    --cc=jason@gatekeeper.equator.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