Subject: Re: benefits for using sparc64 rather than sparc
To: None <segv@netctl.net>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 02/17/2006 08:20:01
--Signature_Fri__17_Feb_2006_08_20_01_-0500_j=XtNq3Zp._VijM1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> > > > No objections at all, I'd rather like to see more people running
> > > > XFree on NetBSD/sparc - I get the inpression that I'm more or
> > > > less the only one ;)
> > >=20
> > > I wanted to run 32-bit kernel + userland for quite some time now,
> > > but didn't see any point since sunffb drivers were not built.
> >=20
> > Why did you not try to build the driver yourself?

> How? I tried looking at Makefiles and adding the same options for
> sparc as for sparc64, but it didn't seem to work. Is there an easy way
> to build the driver?

Well, in theory it's just this:
Index: Makefile
=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/x11/Xserver/hw/xfree86/drivers/Makefile,v
retrieving revision 1.13
diff -u -w -r1.13 Makefile
--- Makefile    1 Oct 2005 22:51:31 -0000       1.13
+++ Makefile    17 Feb 2006 13:12:38 -0000
@@ -26,7 +26,7 @@
 .endif

 .if ${MACHINE} =3D=3D "sparc"
-SUBDIR=3D sunleo suncg6 suncg3 suncg14 suntcx sunbw2 pnozz wsfb
+SUBDIR=3D sunleo suncg6 suncg3 suncg14 suntcx sunbw2 pnozz wsfb sunffb
 .endif

 .include <bsd.subdir.mk>

in real life build sets and build distribution will complain because
sunffb.o is not in the file list for NetBSD/sparc, but at least it
should get built. ( see src/distrib/sets/lists/xserver/md.sparc* to fix
that )
Wether it works properly or not is a completely different question
though, we didn't pay much attention to keeping 32bit compatibility, on
the other hand we didn't deliberately break it so there's a chance it
will Just Work.

have fun
Michael

--Signature_Fri__17_Feb_2006_08_20_01_-0500_j=XtNq3Zp._VijM1
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQ/XNgcpnzkX8Yg2nAQKjtQf+OR3xqhRMNdTwpTA2Ua4ijGMsUc9+19WS
3kq7tzTELPGBs9sABYaByvA8rpRCX4v2snaYpLfq455PO8ZhprRnuw/fJkRt3pJ7
zDQbOyLfPL1X0EVErfNhUf+E5kxMs0d0xTlk+1+JFGM1bn+lV3KneFS6sWpdEP0P
RB9e7Tb9M0KMz5SjvQGQ+7b2w0kMey04SuD/jY8QjlWzB8YKoqFIPi8ds7wGhrMn
gVVQX4WD1/vi4p0Yjaj/6r81yE2q+Ni7ojVGojZIlnhRCmdwgYQNSkEd4AAyxlAA
KytalgZZjqwaNMvNe6OaHJdgZk7lDNKOiteyPkc4eE5ZaZBIzVnylA==
=7klG
-----END PGP SIGNATURE-----

--Signature_Fri__17_Feb_2006_08_20_01_-0500_j=XtNq3Zp._VijM1--