FPGARelated.com
Forums

Xilinx tools on Linux

Started by David April 16, 2005
David wrote:
> > > There are ISE Foundation and ISE Webpack versions for Red Hat Enterprise > Linux 3.0 How strict is this port? Has anybody managed to run these > tools on Fedora or Mandrake Linux (now Mandriva), or any other Linux > variant? If so, how well did it work? >
I have it running on Debian Woody, after installing libmotif3 (I think it was). I had to download the full version (as opposed to the one containing only the FPGA support I needed, which wouldn't run). The GUI is painfully slow on my 900MHz/512MB Celeron. I had to recompile the windrvr6 and xpc4drvr modules for my kernel (2.4.25) and load them manually, then the parallel port JTAG adapter /worked/ fine. The sources are available for download on the Xilinx site. However, after a reboot the JTAG adapter no longer works; Impact just complains about the port being already in use (rc=ffffffff, I think). Maybe I happened to do something in the magic order last time, but nothing I've tried has made any improvement (permissions, removing lp, creating devices etc.) If anyone has any ideas, I will be grateful. -- Lawrence Wilkinson lawrence@ljw.me.uk The IBM 360/30 page http://www.ljw.me.uk/ibm360
In article <d3s0co$4mj$1@lnx107.hrz.tu-darmstadt.de>,
Uwe Bonnes  <bon@elektron.ikp.physik.tu-darmstadt.de> wrote:
>Phil Tomson <ptkwt@aracnet.com> wrote: > >> Well, it turns out the the ISE GUI is unusable for me - it takes up to >> several minutes to respond to mouse clicks. > >> However, I'd actually prefer to be able to script the whole thing. I know >> that a while back someone posted a link to a webpage that showed how to >> run the Xilinx tools from the command line but now I can't find it even >> via goodle. >> Anyone got the link? > >Loo at the <projectname>.cmd_log file after a successfull run of the >GUI. You see all commands executed.
Well, I haven't had a successful run of the GUI yet. I'll have to look at it on a Windows machine at school. BTW: is it possible to set up the project without the GUI? I'm assuming it's just some sort of text file (the project file). Phil
In article <42619127.20607@pdxcolo.net>,
Erik Walthinsen  <omega@pdxcolo.net> wrote:
>David wrote: >> There are ISE Foundation and ISE Webpack versions for Red Hat Enterprise >> Linux 3.0 How strict is this port? Has anybody managed to run these >> tools on Fedora or Mandrake Linux (now Mandriva), or any other Linux >> variant? If so, how well did it work? > >I have it working on Debian Unstable (sid), with no more than the usual >environment hassles, after getting the right packages installed (none >from outside of main+contrib+non-free: libcurl, libmotif3, etc). Either
I'm now trying to install on a Debian laptop (running a Knoppix 3.8 install, I believe) and I'm getting the following error: phil# ./WebPACK_71_fcfull_i.sh Creating directory wpdl_all_lin.build Verifying archive integrity... All good. Uncompressing Xilinx ISE WebPACK Installer.............................................................................................................................................................................. /home/phil/wpdl_all_lin.build/platform/lin/bin/lin Cannot register service: RPC: Unable to receive; errno = Connection refused unable to register (registryProg, registryVers, tcp) Wind/U Error (248): Failed to connect to the registry on server traveller Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Wind/U X-toolkit Error: wuDisplay: Can't open display --end of error message I did an export DISPLAY=:0 as was suggested in a different thread, but that didn't help. Any ideas? Phil
Phil,

> Wind/U X-toolkit Error: wuDisplay: Can't open display
I was having the same problem in Fedora 2. Just trying "xterm" at the prompt got me the same error, which showed that most programs weren't able to connect to the display when running as root (though Mozilla does with no complaints). After about three tried with "xhost" I got this to work, but now don't remember if it was "+ localhost" or one of the other two alternatives that did the trick. Good luck, -- Jecel
Phil Tomson wrote:
> > Well, it turns out the the ISE GUI is unusable for me - it takes up to > several minutes to respond to mouse clicks.
I found that behavior if I have, for example, setiathome running in the background. Even renicing seti to priority 19 did not help. I would suggest checking for processor intensive tasks running in the background. So in my alias to configure for the Xilinx environment, I kill seti too: xi seti stop;source $XILINX/settings.csh;source $XILINX_EDK/setup.csh;source /opt/eldk/v2p_bsp_envs.csh
> > However, I'd actually prefer to be able to script the whole thing. I know > that a while back someone posted a link to a webpage that showed how to > run the Xilinx tools from the command line but now I can't find it even > via goodle. > Anyone got the link? > > PHil >
Lawrence Wilkinson wrote:
> > I have it running on Debian Woody, after installing libmotif3 (I think > it was). I had to download the full version (as opposed to the one > containing only the FPGA support I needed, which wouldn't run). The GUI > is painfully slow on my 900MHz/512MB Celeron. > > I had to recompile the windrvr6 and xpc4drvr modules for my kernel > (2.4.25) and load them manually, then the parallel port JTAG adapter > /worked/ fine. The sources are available for download on the Xilinx site. > > However, after a reboot the JTAG adapter no longer works; Impact just > complains about the port being already in use (rc=ffffffff, I think). > Maybe I happened to do something in the magic order last time, but > nothing I've tried has made any improvement (permissions, removing lp, > creating devices etc.) If anyone has any ideas, I will be grateful. >
Did the drivers get reloaded after rebooting? That is, does "lsmod" show xpc4drvr and windrvr6?
Phil Tomson wrote:
> In article <d3s0co$4mj$1@lnx107.hrz.tu-darmstadt.de>, > Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> wrote: > >Phil Tomson <ptkwt@aracnet.com> wrote: > > > >> Well, it turns out the the ISE GUI is unusable for me - it takes
up to
> >> several minutes to respond to mouse clicks. > > > >> However, I'd actually prefer to be able to script the whole thing.
I know
> >> that a while back someone posted a link to a webpage that showed
how to
> >> run the Xilinx tools from the command line but now I can't find it
even
> >> via goodle. > >> Anyone got the link? > > > >Loo at the <projectname>.cmd_log file after a successfull run of the > >GUI. You see all commands executed. > > Well, I haven't had a successful run of the GUI yet. I'll have to
look
> at it on a Windows machine at school. > > BTW: is it possible to set up the project without the GUI? I'm
assuming
> it's just some sort of text file (the project file).
Howdy Phil, It used to be. The GUI group appears to have gone to binary project file, at least on Windows version of ISE 7.1i - that move alone has almost driven me away from using the VHDL flow, back to using the edif flow. Add the broken library support in the 7.1i VHDL flow, and it's really case closed. Stuff like this really drives home the fact that the developers must not use or view the tools in the the same way as their users do. Good luck, Marc
David wrote:
> There are ISE Foundation and ISE Webpack versions for Red Hat Enterprise > Linux 3.0 How strict is this port? Has anybody managed to run these > tools on Fedora or Mandrake Linux (now Mandriva), or any other Linux > variant? If so, how well did it work?
I like being able to specify that it should use my Internet Explorer proxy settings... :o) I got it running in Debian (something close to sarge release). I found some instructions for getting the driver working with the 2.6 kernel, but they didn't work (looked as though I was actually building a usb driver instead of a parport driver). Incidently, the GUI actually behaves nicer running when running the Win32 version under WINE than using the Motif based version. Sigh. Martin
On Sun, 17 Apr 2005 00:31:04 +0000, Phil Tomson wrote:

> In article <d3s0co$4mj$1@lnx107.hrz.tu-darmstadt.de>, > Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> wrote: >>Phil Tomson <ptkwt@aracnet.com> wrote: >> >>> Well, it turns out the the ISE GUI is unusable for me - it takes up to >>> several minutes to respond to mouse clicks. >> >>> However, I'd actually prefer to be able to script the whole thing. I know >>> that a while back someone posted a link to a webpage that showed how to >>> run the Xilinx tools from the command line but now I can't find it even >>> via goodle. >>> Anyone got the link? >> >>Loo at the <projectname>.cmd_log file after a successfull run of the >>GUI. You see all commands executed. > > Well, I haven't had a successful run of the GUI yet. I'll have to look > at it on a Windows machine at school. > > BTW: is it possible to set up the project without the GUI? I'm assuming > it's just some sort of text file (the project file). > > Phil
I have a tool called HDLmaker that generates hierarchical Verilog, Xilinx, Synplify, and Precision projects, XST scripts, ModelSim,NCSim and VCS scripts. It also includes a library of csh scripts for running the tools. http://www.polybus.com/hdlmaker/users_guide/
Duane Clark wrote:

> Did the drivers get reloaded after rebooting? That is, does "lsmod" show > xpc4drvr and windrvr6?
I had loaded them manually, but I didn't notice that the device number had changed. Using 'install_windrvr6 windrvr6' does it properly. Anyway, it all works now, thanks. As a bonus, turning off my distributed.net background task has made the GUI run at normal speed. LJW