Subject: Re: Net Booting...
To: None <port-vax@NetBSD.org>
From: Anders Hjalmarsson <hjalmar@hjalmar.to>
List: port-vax
Date: 01/19/2006 21:43:45
> =

> Maybe it is no problem of the boot code. It may be in mopd(8) or
> mopcopy(1)...
> =

I have this patch to mopcopy, I do not remember where I got it,
either from this list or a bug report.
With it I can mopcopy an ELF-format bootprogram to a format that works.
The mopd internal ELF conversion is still broken though.
For those who have forgotten, mop booting got broken with the switch to
ELF (quite some time ago)

-hjalmar


Index: mopcopy/mopcopy.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/src/usr.sbin/mopd/mopcopy/mopcopy.c,v
retrieving revision 1.3
diff -u -r1.3 mopcopy.c
--- mopcopy/mopcopy.c	5 Nov 2002 05:06:05 -0000	1.3
+++ mopcopy/mopcopy.c	19 Jan 2006 20:36:57 -0000
@@ -141,6 +141,7 @@
 	dl.a_lseek   =3D 0;
 	dl.count     =3D 0;
 	dl.dl_bsz    =3D 512;
+	dl.xferaddr    =3D 0;
 =

 	mopFilePutLX(header,IHD_W_SIZE,0xd4,2);   /* Offset to ISD section. */
 	mopFilePutLX(header,IHD_W_ACTIVOFF,0x30,2);/* Offset to 1st section.*/