Subject: Re: JavaStation Krups XServer does not start
To: None <port-sparc@NetBSD.org>
From: Matt Dainty <matt@bodgit-n-scarper.com>
List: port-sparc
Date: 02/18/2004 19:32:02
--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Valeriy E. Ushakov <uwe@ptc.spbu.ru> [2004-02-17 01:33:44]:
> =20
> > I'm now not sure as macppc and cats define SRCS.bsd to contain
> > {ppc,arm}_video.c as well as other extra files. Do we need a
> > sparc_video.c file here? I saw there's a sparc64_video.c file which
> > doesn't seem to contain much that I guess it could be adapted/copied?
>=20
> Hmm, I think arm_video.c might be a better place to start.  You want
> to let the XFree86 to rummage through the memory, doing PCI I/O.  Use:
>=20
> #define DEV_MEM_IOBASE	0x30000000
> #define DEV_MEM_IOSIZE	0x00010000
>=20
> which is where fixed mapping of the pci i/o space is located in
> microSPARC-IIep (the CPU in Krups and the only sparc32 with PCI, so we
> can hardcode it).

Okay, I've created a copy of arm_video.c called sparc_video.c which is
identical save for the #define changes, (actually, the latter one is
already that value, so just DEV_MEM_IOBASE is adjusted). I currently
don't know what else might need changing, so I'll just wait for it to
not work first :-)

The XFree86 Xserver appears to have been built, which is good I guess,
but I'm having problems building Xprt and Xsun* and Xvfb, in that they
are all complaining about a missing GetTimeInMillis() function.

I can find two in the xfree sources, one in
$X11SRC/xfree/xc/programs/Xserver/os/utils.c and the other in
$X11SRC/xfree/xc/programs/Xserver/hw/xfree86/common/xf86Io.c, DDXTIME
being defined determines which version is included, and I think it is
defined currently so the version in the latter file is used. I suspect
rebuilding with DDXTIME undefined would cause the inverse with
everything except XFree86 building. Any ideas there?

Apart from those Xservers, (which I've commented out to get the build
working), it's completed, which I'll test later when I have access to
the JavaStation. I just get the same error making the sets that I got
before messing with the source tree:

=2E..
nbmtree: ./usr/share/doc/html/ntp: No such file or directory
nbmtree: failed at line 11743 of the specification
=2E/maketars: line 145: 28130 Broken pipe             cat $metalog 2>/dev/n=
ull
maketars: mtree parse of  failed

That directory does appear to exist in my destdir.sparc root so I'm not
sure what's going on there.

Matt
--=20
"Phased plasma rifle in a forty-watt range?"
"Hey, just what you see, pal."

--2fHTh5uZTiUOsy+g
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFAM72yKP58eR+X2TMRAn5KAKCH7ud4PMH60NLd2OB7xo9kxhl7gwCfRE/G
gH0cBzINFV+VjJz0xmPBVHA=
=ZJ+s
-----END PGP SIGNATURE-----

--2fHTh5uZTiUOsy+g--