Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Bill Katz <billk@sr.hp.com>
To: hppa-linux@thepuffingroup.com
Subject: Re: [hppa-linux] Boot #4 and source on ftp site
Date: Fri, 12 Mar 1999 22:46:37 -0800 (PST)	[thread overview]
Message-ID: <199903130646.WAA21078@meow.sr.hp.com> (raw)
In-Reply-To: <Pine.LNX.3.96.990312211042.208B-100000@quark.ix.netcom.com> from Kumar at "Mar 12, 1999  9:21:36 pm"

> 	
> 	I  compiled without libmilli.a and it did compile.
> 	File ipl_s.s says 
> 	The object code is converted to LIF (logical interchange format)
> 	and then at the beginning of the boot media.
> 
> 	So how do I convert the binary "ipl" to LIF. I tried "lifinit"
> 	and "mkboot" combination. But no luck, I keep getting 
> 	
> 	"Bad IPL size" and "Error reading IPL" error messages. 
> 
> 	I tried "dd" also on the raw disk. No luck with that either.
> 
> 	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:

#! /bin/ksh -x
LIF_FILE=uxbootlf
/bin/rm -f $LIF_FILE

lifinit `./iplopt ISL` -v8000000 -d32 -nL2DIAG -K2 -s4096 $LIF_FILE

lifcp -r -T-12800  -K2 ISL             $LIF_FILE:ISL
lifcp -r -T-12289  -K2 AUTO            $LIF_FILE:AUTO
lifcp -r -T-12928  -K2 HPUX            $LIF_FILE:HPUX

	-Bill

  reply	other threads:[~1999-03-13  6:47 UTC|newest]

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

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=199903130646.WAA21078@meow.sr.hp.com \
    --to=billk@sr.hp.com \
    --cc=hppa-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