Subject: Shark and XFree86
To: None <port-arm@netbsd.org>
From: Michael Lorenz <macallan@netbsd.org>
List: port-arm
Date: 12/05/2006 23:50:43
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

now I have a working, modular XFree86 with wsfb up and running on my  
shark.
So far XFree86 isn't part of NetBSD/shark, binaries for -current are  
available here:
ftp://ftp.netbsd.org/pub/NetBSD/misc/macallan/shark/ 
xfree86_shark.tar.bz2
and an example XF86Config is here:
ftp://ftp.netbsd.org/pub/NetBSD/misc/macallan/shark/XF86Config

the only useful driver for now is wsfb which is a dumb framebuffer  
without any knowledge about the actual hardware, it requires the  
console to run in graphics so you'll need a kernel with something else  
than vga as console.
This kernel
ftp://ftp.netbsd.org/pub/NetBSD/misc/macallan/shark/netbsd_igsfb.bz2
uses igsfb, it will switch to 1024x768 in 8 bit. Speed isn't quite as  
good as with vga ( it's still graphics after all ) but not that slow  
either since we can use the blitter. It also provides a hardware cursor  
which wsfb will use.
This should work on all rev. 5 sharks - older machines use a different  
graphics chip, namely a C&T65550, a kernel driver exists but so far  
only for the PCI variant ( I wrote it for an old PowerBook ), not for  
the VLB one used in the shark.
There is no accelerated driver in XFree86 4.x for the IGS2010 graphics  
controller used in rev. 5 sharks but there is one for the C&T65550 -  
there was an igs driver in XFree86 3.x which I'm going to port. The  
chips driver may or may not Just Work on rev. 4 or older sharks - I  
have no way to test it but it's included in the XFree86 tarball  
mentioned above so if you have the right hardware please give it a try.

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

iQEVAwUBRXZMI8pnzkX8Yg2nAQIZ+wf8CDTyRJFgzvqqL8+zabD2sIFIKU+zxaek
eHsgI3KGAwkumsRYX/jF96QX4oir4j0z0OB6w93TlJGXiP/v+oy2xgQ/vVVNRvux
y6GSy3c3xryPE3kRxzXilHINSaG6I76Y83Z1HkCrusYNjYVODaK1rCzV5JVfmWyy
4ykQz+4+I3kFqILHmHZmNyguCSHyiZMmCsWNtFrOg3kVprSQsHQ9KRELuPwBKD8h
/h4GJVdeqJkRZmWLc+mT/4jTmuzw0SnzXZx2Rys++80rptuDEi1rXzercHwoSvSj
KfJVQN7fsqvTYmKZC0g7yiLeXkPHPoSU/gaM7PlRFFIFqTh4kr/jvw==
=VlvC
-----END PGP SIGNATURE-----