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 application 'WPrefs' are working well. Kazu P.S. I want to upload the binaries, but those violate the file size limits. Those are 33MBytes in zip file.5 Replies
- Altera_Forum
Honored Contributor
Hi
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.
(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'. KazuPATH=/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 & - Altera_Forum
Honored Contributor
Hi,
I changed the target board to DE2-70 and test the X Window. The responses of buttons, sliders, and etc. are not so bad, but the connection pipe is suddenly closed. Maybe, there are some bugs in Unix socket...:( Kazu - Altera_Forum
Honored Contributor
--- Quote Start --- ... extract and copy it to your SD. To run it, you need a NEEK and Linux MMU version(of course:D). --- Quote End --- It would be great if you could create a "distribution" loadable with the Altera Application Loader on the NEEK. Same would contain as well the Software as the FPGA design binaries. Thanks, -Michael - Altera_Forum
Honored Contributor
Hi,
--- Quote Start --- It would be great if you could create a "distribution" loadable with the Altera Application Loader on the NEEK. Same would contain as well the Software as the FPGA design binaries. --- Quote End --- It is a little bit difficult to store those in the Altera Application Loader of NEEK, because even the size of kernel itself is beyond the limit of 4MB. And by the shortage of memories, the application's response is not good compared with DE2-70's case. But I will up-load all to 'Altera Wiki', if I can solve the problem of pipes and GOT size. Kazu - Altera_Forum
Honored Contributor
I am interested in your x window on neek. Can you send more information on how this was done?
Thanks Brad Buce bbuce at efw dot com