Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Quartus & Mandriva

Altera_Forum
Honored Contributor II
2,358 Views

I hope this is an acceptable post on this forum! Apologies if not. 

 

Today I installed Quartus 6.1 on Mandriva 2007. After I had installed it (which was pretty straightforward) I went to the bin INSTALL_PATH/bin directory and ran Quartus by typing: 

 

./quartus 

 

This booted the program and it looked pretty much like the Windows version. All seemed fine. I put a shortcut on the desktop and it also booted just fine from there. 

 

However, while poking around the inside of my PC to look at what motherboard I had in it, I must've accidently disturbed the reset cable as the PC suddenly reset. After that, Quatus resolutely refuses to run.  

 

I have tried reinstalling Quartus and it still just will not run. If I do it from the command line it just sits doing nothing. If I try it from the shortcut on the desktop the cursor changes and bounces like it's trying to load the program, but then stops and gives up. 

 

Does anyone have any suggestions as to why this might be or how I can troubleshoot this? I am a novice to Quartus both on Windows and Linux. 

 

Many thanks.
0 Kudos
10 Replies
Altera_Forum
Honored Contributor II
1,091 Views

In case anyone's interested I finally sorted this out. It would appear when the PC was reset without shutting odwn properly it locked some temporay files in a /temp subdirectory. Once they were deleted running Mwcleanup finally seemed to allow Quartus not to think that there were locked files in use and boots fine again. 

 

It would appear that Quartus and SOPC run just fine on Mandriva 2007.  

 

Now I just need to get SOPC to recognise the NIOS directory so I can build a NIOS core. Nothing&#39;s ever simple! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/mad.gif
0 Kudos
Altera_Forum
Honored Contributor II
1,091 Views

Thanks for that link; it was very helpful and I have painlesslly got Quartus to recognise the Bytebaster and it&#39;s ready to program my demo board. However, I just cannot get Quartus to recognise that I have a valid licence file and so cannot produce .sof files! 

 

My licence file itself begins with: 

 

SERVER localhost xxxxxxxxx1800 

VENDOR alterad "/opt/altera6.1/quartus/linux/alterad" 

USE_SERVER 

 

I altered the above from what I was actually sent as per various web sites showing hos this should be done. 

 

Then is has four entries like this: 

 

INCREMENT altera_mainwin alterad 2007.03 11-mar-2007 and a load of numbers. 

 

(xxxxxxxxxx is my MAC address; I wasn&#39;t sure it was appropriate to post it here.) 

 

Its location is /opt/licenses/lisense.dat 

 

If I run: 

 

/opt/altera6.1/quartus/linux/lmutil lmstat -a -c 1800@localhost 

 

It reports back like this: 

 

localhost: license server UP (MASTER) v9.5 

 

Vendor daemon status (on localhost): 

 

alterad: UP v9.5 

 

Feature usage info: 

 

Users of altera_mainwin: (Total of 1 license issued; Total of 0 licenses in use) 

 

Users of altera_mainwin_lnx: (Total of 1 license issued; Total of 0 licenses in use) 

 

Users of maxplus2verilog: (Total of 1 license issued; Total of 0 licenses in use) 

 

Users of maxplus2vhdl: (Total of 1 license issued; Total of 0 licenses in use) 

 

So I assume the licence server is running...  

 

Also, if I type: 

 

env | grep LM_LICENSE_FILE 

 

It reports: 

 

LM_LICENSE_FILE=1800@localhost 

 

I have tried both ticking the use LM_LICENSE_FILE variable with 1800@localhost in the greyed out box and also unticking that and specifying the licence file in the selector dialogue box that pops up.  

 

Anyone have any idea why it might not be working?  

 

Many thanks.
0 Kudos
Altera_Forum
Honored Contributor II
1,091 Views

I think there are problems in your license file. Look at the example file in the  

http://www.altera.com/literature/manual/quartus_unix.pdf (http://www.altera.com/literature/manual/quartus_unix.pdf

There must be several entries of FEATURE. (around 10 entries in my case). 

FEATURE quartus alterad 

FEATURE altera_mainwin_lnx alterad 

.... 

Please try get them from Altera again. 

And don&#39;t post them all here, you should give only the beginning of each line if you still have problem.
0 Kudos
Altera_Forum
Honored Contributor II
1,091 Views

Thanks, Hippo. I shall see what Altera say to that. Your help is appreciated.

0 Kudos
Altera_Forum
Honored Contributor II
1,091 Views

I need to resurrect this thread as I, rather depressingly, had to reinstall Mandriva. Now, after having installed Quartus again, when I run Quartus (from the command line) it thinks about it for a short while and then just says "Aborted".  

 

Anyone any idea why this might be? AFAIK, I have installed as before and changed my bash_profile shell as instructed on the Wiki page. (I think so anyway!) 

 

If there&#39;s any more information that would help track down that&#39;s going on, I&#39;ll be more than happy to post it of course! 

 

Many thanks.
0 Kudos
Altera_Forum
Honored Contributor II
1,091 Views

OK, I have discovered that I can run NIOS-IDE, and SOPC starts up briefly before saying it needs a quartus project and then shuts down. If I try to run anything to do with mainwin it also says aborted which is making me think this hasn&#39;t installed properly or - possibly more likely - I am missing something mainwin needs to run.It&#39;s quite possible on my old installation I installed something by accident (or for something else) that mainwin needs. Does nayone know what mainwin needs, where I can find a list or make it give me a verbose error list rather than just "Aborted"? 

 

Cheers, 

 

Bosco
0 Kudos
Altera_Forum
Honored Contributor II
1,091 Views

Quartus, on Linux, uses shell scripts to setup the environment from which it tries to run. Take a look at qenv.csh, in the adm directory, for starters.... Where you need to take it, from there, depends greatly on what you can discover by adding debug statements to this script. 

 

It&#39;s definitely possible to get Quartus II to function, on unsupported versions of Linux, but it does require some good UNIX/Linux skills. 

 

Cheers, 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
1,091 Views

Thanks for the suggestion, Slacker, I&#39;ll give it a go. Just to reiterate, I had Quartus running very nicely on Mandriva 2007. It installed easily. Sadly, something happened that meant I had to reinstall the OS. Since I reinstalled it, that&#39;s when I started having problems running Quartus. It makes me think that I didn&#39;t install one of the packages I should have on this install (of andriva, not Quartus). Problem is, I just don&#39;t know which one (assuming my assumtion is correct!).

0 Kudos
Altera_Forum
Honored Contributor II
1,091 Views

Be sure you have all of the GCC/libc compatibility stuff installed. Take a quick search through the available packages for anything with "compat" in the title. 

 

Also, since you seem to have had issues with it, in your recent past, make sure that the Mainwin temporary directories, and any Altera related "." files/dirs in your home directory are removed.... clean slate is the goal here! 

 

Cheers, 

 

- slacker
0 Kudos
Reply