Forum Discussion
Altera_Forum
Honored Contributor
16 years agoX Window on NEEK
Hi I'm testing the X window system on my NEEK. I have some troubles because NEEK's main memory is a little bit small, the SD spi mode driver is too slow..., but the 'WindowMaker' and its app...
Altera_Forum
Honored Contributor
16 years agoHi
I stripped all debug information and compressed the files to be acceptable for this site. If you have some interest , please download, extract and copy it to your SD. To run it, you need a NEEK and Linux MMU version(of course:D). And prepare the drivers for fb, touch panel, and mmc(spi). After booting and mounting your SD to /mnt, please type next commands.
PATH=/mnt/usr/bin:$PATH
export=LD_LIBRARY_PATH=/mnt/usr/lib
ln -s /mnt/usr/share /usr/share
ln -s /mnt/usr/bin/xkbcomp /usr/bin/xkbcomp
ln -s /dev/tty0 /dev/tty1
echo 64 > /proc/sys/vm/min_free_kbytes
ts_calibrate
export GNUSTEP_USER_ROOT=/mnt/usr/bin
Xfddev vt1 -kb -mouse tslib,,device=/dev/input/event0 &
wmaker -display 0:0 --for-real &
(The touch panel device file is assumed as /dev/input/event0.) Maybe you need 'bash'. The fonts have been already compiled and cached in the directory '/usr/var/cache/fontconfig', so maybe you don't need the fonts data itself. And please don't forget to purge unnecessary files from your romfs to get large free memories. Also please note that the mmc_spi driver is quite slow (the transfer rate of reading is estimated only around 30Kbytes/sec), so it takes several minutes for the first loading of 'Xfdev' and 'wmaker'. Kazu