Subject: Re: x-window question
To: Robert Swindells <rjs@fdy2.demon.co.uk>
From: Michael Lorenz <macallan@netbsd.org>
List: port-prep
Date: 04/28/2007 14:01:34
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Apr 28, 2007, at 13:42, Robert Swindells wrote:

> Tim Rightnour wrote:
>> On 28-Apr-2007 Yu Zhao wrote:
>>> I have a rs/6000 7248-100, can I use x-window server locally if I 
>>> install
>>> netbsd?
>>>
>>> I didn't find the source code of video card driver for prep port in 
>>> xsrc, if
>>> the port supports x-window server, which drivers/files it would use?
>
>> Sorry... prep doesn't currently support X.   The 7248 has an S3 video 
>> card
>> builtin.  If someone who has even a slight understanding of X were to 
>> take a
>> look at it, I'm sure it wouldn't be that hard to make work.
>
> I have made the makefile changes to make X build for prep and ibmnws.
>
> Getting it to work might be another task for the hackathon.

It needs wscons, support for mapping PCI BARs via /dev/ttyE0 and might 
need a way to access PCI IO - on macppc it just maps a certain range 
via /dev/ttyE0 which the underlying wsdisplay drivers redirect to 
wherever the corresponding host bridge keeps PCI IO addresses. At least 
if you use ppc_video.c in X. Some drivers ( like those for mach64 and 
radeon devices ) don't need IO access, no idea about S3 though.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRjOL/spnzkX8Yg2nAQLlcggAtkvG+SfntAwBq4LEY1mQJcAheHTbUqZ4
/72CbmgXSui3vzolA7lq2M2dHh/z7jaWVrMvN+cS+/TIrkS7HSURqDLkqJxxyg25
8Rewvo5J0lX9vySGKNtO8tG2mh2hY6YdfC+8HQvTv0c4nn1X9Abd6TRCJ+naVeGj
s8+uI0pBvdFJYPrdn1IXjbf7qINs2GKMM6RY4+EYdxetiibkeH7Ym5pP7y147kBl
mFI386d3iZD9ypw0IKDcAnBJ21lBclaNfMTszlmx28l2hVjjYtUHQ3QFGeDJ9frs
n8auJaXrP/smjBIDOuTs5HwtpHizkFuHKovgr2LCU2rU08abLQe3eg==
=JtFN
-----END PGP SIGNATURE-----