Subject: Re: X11 on Ultra 2 using 32 bit kernel and user land.
To: NetBSD port-sparc64 mailing list <port-sparc64@NetBSD.org>
From: Michael Lorenz <macallan@netbsd.org>
List: port-sparc64
Date: 04/21/2007 20:53:58
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Apr 21, 2007, at 18:37, Michael Lorenz wrote:

> On Apr 20, 2007, at 04:56, Jochen Kunz wrote:
>
>> On Thu, 19 Apr 2007 15:05:22 -0400
>> Michael Lorenz <macallan@netbsd.org> wrote:
>>
>>> Hmm, some of the assembly changes probably need to be reverted for
>>> 32bit sparc.
>> Or ffb_accel.c should use #ifdef __sparc_v9__ to switch between V9 ASM
>> and V7/V8 ASM? ENOSPARCCLUE | ENOX11CLUE
>>
>>> Umm, this module should live somewhere in src/x11/Xserver/hw/xfree86,
>>> probably needs to be enabled in another Makefile.
>> I enabled xf8_32wid, rebuild, instaled the X11 sets and bingo!
>> I now have a working Xserver on the U2 in 32 bit mode.
>> Thanks for your help. :-)
>
> Ok, I got the sunffb driver built using -mv8plus, so there are no v9 
> tricks in my tree - wonder if it works. If you feel like trying - it's 
> here:
> ftp://ftp.netbsd.org/pub/NetBSD/misc/macallan/sparc/sunffb_drv.o
> if anyone can confirm it's working I'll commit the whole thing.

I tried it on my SparcBook - XFree86 loads the module and then 
complains that there's no ffb so at least we know the binary isn't 
totally hosed.

have fun
Michael

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

iQEVAwUBRiqyJspnzkX8Yg2nAQLffQf+IwwegrWZTREON459bvYYmtjBHWSjll8+
PTIDYBWZ6ho0QOUDRuvSh8bMj+JtRVOYzHp9C8DCBJgZGvnzg7LnGWdo7RAZ+pF9
4bFDE9Ig2NZWCUVKkfK/+IdhRKpWHWFmWO988sSISkWNWNzi1n0nPxxhgOptftkl
lF5y+fE5V3KOnE0kikgdWreq5GZTuOmlVSUdYw5AqBkT19azQjoyTgVPJmqndPNv
yaT5/t2d8w8VMNoAqtXNPOAo7wkFf6FmNc+N0aAN7wDOTZS88Su4AgeXyNKV6v0U
8rYy1meqwZHAeQzT7APD1qKs176lzDxVGm4MQ7Bj2roGZ+WLntD5pQ==
=o06e
-----END PGP SIGNATURE-----