Port-atari archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Xserver on TT030
I wrote:
> Today I've demonstrated it in Open Source Conference 2010 Kansai@Kobe,
To demonstrate TT030 and SMC_TT on TT030 itself in OSC,
I surveyed if my TT030 could run Xserver on it and
old 1.6.2 XF68_FBDev binary worked on NetBSD/atari 5.0.2.
(Good backward compatibility!)
Then my TT030 happily displayed "making SMC_TT" pictures
on the NetBSD booth with network (even in 16 colors ;-)
Here is a quick procedure to use Xserver on TT030:
(1) Fetch Xserver and related binaries
I've put a tar.gz archive that includes most of them:
ftp://ftp.NetBSD.org/pub/NetBSD/misc/tsutsui/atari/Xserver-atari.tar.gz
This includes the following files:
./usr/X11R6/bin/X
./usr/X11R6/bin/XF68_FBDev
./usr/X11R6/bin/XF68_SVGA
./usr/X11R6/bin/XF68_W32
./usr/X11R6/lib/X11/XF86Config
./usr/X11R6/lib/X11/XF86Config.FBDev_sample
./usr/lib/libz.so.0.2
./usr/lib/libz.so.0
./sbin/binpatch
Note old libz.so.0 (from 1.6.2) is required by old servers
because the latest 5.0.2 has newer libz.so.1.*.
(2) Extract binaries in archive
% su
# cd /
# tar zxvpf path/to/file/Xserver-atari.tar.gz
:
Make sure /usr/X11R6/bin/XF68_* binaries are setuid'ed root.
(3) Patch your ATARITT kernel
Xserver requires more ST pool memory, so you have to patch
st_pool_size variable in your kernel using the binpatch binary
in the archive:
# binpatch -s st_pool_size /netbsd
st_pool_size(0x230f5c): 0x00030000 (196608), at offset 0x22efdc in /netbsd
# binpatch -s st_pool_size -r 0x00080000 /netbsd
st_pool_size(0x230f5c): 0x00030000 (196608), at offset 0x22efdc in /netbsd
new value: 0x00080000 (524288)
#
I'm not sure how much memories are required for Xserver binaries,
but you can also compile your kernel from sources with
"options ST_POOL_SIZE=64" or so. (64 * 8192 = 0x80000)
(4) Reboot with a patched kernel
(5) Edit /usr/X11R6/lib/X11/XF86Config file
Probably XF86Config in the archve will work on most modern
displays, but you might have to adjust some parameters.
This config file is based on XF86Config.FBDev_sample
in 1.4.2 distribution, and the original XF86Config.FBDev_sample
seems a config file for Falcon.
(6) Set console 640x480 and 4 bit colors
% iteconfig -w 640 -h 480 -d 4
See iteconfig(8) for details.
(7) Start X
% xinit >& x.log
If you have any trouble, you can check x.log to see what's going.
Have fun!
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index