Subject: Re: ROM problem.
To: Mats O Jansson <maja@cntw.com>
From: Simon Burge <simonb@telstra.com.au>
List: port-pmax
Date: 03/28/1999 17:18:08
Mats O Jansson wrote:

> On Sat, 27 Mar 1999, Matthew Hudson wrote:
> 
> > Okay. All I know is I put the bootloader in /tftpboot/mop
> > and it works. I think you should ask in port-vax. They
> > know there way around mop. I was gonna try to tackle mop
> > on the decsystem, but someone has to be much more qualified
> > than me. All I want right now is for this system to boot. :)
> 
> I have had plans for adding support for pmax (and alpha). But never had
> the need. ECOFF is only slightly harder than a.out. ELF is worse.

Basic ELF (just text and data) isn't that hard to do.  Have a look at
the first stage pmax bootblocks in sys/arch/pmax/stand/scsiboot/bootxx.c
- the loadfile() function is what you want.  I've not yet really looked
at the mopd stuff yet, so I don't know how easy it is to graft in...

> But I think the file handling code must be totaly rewritten. Why?
> Simply since most people seems to be using linux for mop loading.
> The code must be rewritten in a way so it is possible to handle
> the different file formats without the need of system header files.

If you have a mop package external to that supplied NetBSD, you
could try just throughing the relevent NetBSD headers files into the
distribution.

> So, since I wrote it, I think I can answer most questions.

Do you prefer questions to you or cross-posted to port-vax?

Simon.