All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Eckhardt <jason@equator.com>
To: hppa-linux@thepuffingroup.com
Cc: jason@gatekeeper.equator.com
Subject: Re: [hppa-linux] Boot #4 and source on ftp site
Date: Sat, 13 Mar 1999 15:33:18 -0800 (PST)	[thread overview]
Message-ID: <199903132333.PAA19874@gatekeeper.equator.com> (raw)


> > 	So my question is how to place built "ipl" binary at the
> > 	appropriate place on the disk so that PDC finds it. Any magic
> > 	combination of commands ? Looks like I am missing something
> > 	obvious.
> > 
> > 
> > Thanks in advance,
> > 
> > -pkd
>
> You are on the right track.  After lifinit you have to use lifcp to copy
> the file into the newly created LIF volume.  You also have to give it
> the correct file type.  A script I use for creating bootable LIF
> volumes looks something like:
>

  That is one way. The way I do it for our very simple LIF volume is as folows:
  Once you have obtained the SOM ipl binary (after make), then:
   % strip ipl
   % mkipl ipl
   % mklifhdr hdr x y z a b c (see the utility for what these #'s mean)
   % cat hdr pad_file ipl vmlinux > bootstrap.bin

  pad_file is a 1024 byte file full of 0.

  I did forget to put this information into the README, sorry.
  Eventually (next few days, hopefully), there will be one utility "mkimg"
  that will automatically do everything above for you (particularly, picking
  the numbers which have to do with entry points, etc).
 
  Of course, vmlinux doesn't yet exist. I just have a simple dummy kernel
  I use there, which hasn't been included in the distribution. If you
  want to play around without the dummy kernel, just comment out the line
  in ipl_c.c that branches to the kernel and remove "vmlinux" from the
  concat line step above. You can then see the bootstrap run, but it won't
  try to execute the kernel.

  Have fun, Jason.

             reply	other threads:[~1999-03-13 23:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-13 23:33 Jason Eckhardt [this message]
1999-03-14  4:43 ` [hppa-linux] Boot #4 and source on ftp site Kumar
  -- strict thread matches above, loose matches on Subject: below --
1999-03-15 16:54 Jason Eckhardt
1999-03-12 22:58 Jason Eckhardt
1999-03-12 14:23 Muench, David
1999-03-12 19:16 ` Steven Beattie
1999-03-11 22:35 Jason Eckhardt
1999-03-12  2:33 ` Paul J.Y. Lahaie
1999-03-12 22:49 ` Grant Grundler
1999-03-12 23:03 ` Grant Grundler
1999-03-13  5:21 ` Kumar
1999-03-13  6:46   ` Bill Katz

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=199903132333.PAA19874@gatekeeper.equator.com \
    --to=jason@equator.com \
    --cc=hppa-linux@thepuffingroup.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 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.