Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,045 Views

Nios II SBT for Eclipse not working under CentOS 6.5

Recently I had to start working on a workstation with CentOS 6.5 as operating system. I installed the Quartus Software, version 11.1, but the Eclipse tools for Nios II just do not open. Then I installed Quartus 13.1, but problem still persists. 

 

Here is the output I get when executing the eclipse-nios2 -debug command from terminal: 

 

Start VM: /opt/altera/11.1/quartus//linux/jre/bin/java -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx384m -jar /opt/altera/11.1/nios2eds/bin/eclipse_nios2//plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -os linux -ws gtk -arch x86 -showsplash -launcher /opt/altera/11.1/nios2eds/bin/eclipse_nios2/eclipse -name Eclipse --launcher.library /opt/altera/11.1/nios2eds/bin/eclipse_nios2//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.1.R36x_v20100810/eclipse_1309.so -startup /opt/altera/11.1/nios2eds/bin/eclipse_nios2//plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -exitdata 4d0054 -product org.eclipse.epp.package.cpp.product -Debug -perspective com.altera.sbtgui.ui.cPerspective -vm /opt/altera/11.1/quartus//linux/jre/bin/java -vmargs -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx384m -jar /opt/altera/11.1/nios2eds/bin/eclipse_nios2//plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar Install location: file:/opt/altera/11.1/nios2eds/bin/eclipse_nios2/ Configuration file: file:/opt/altera/11.1/nios2eds/bin/eclipse_nios2/configuration/config.ini loaded Configuration location: file:/opt/altera/11.1/nios2eds/bin/eclipse_nios2/configuration/ Framework located: file:/opt/altera/11.1/nios2eds/bin/eclipse_nios2/plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar Framework classpath: file:/opt/altera/11.1/nios2eds/bin/eclipse_nios2/plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar Splash location: /opt/altera/11.1/nios2eds/bin/eclipse_nios2/plugins/org.eclipse.platform_3.6.1.v201009090800/splash.bmp Debug options: file:/home/cramos/.options not found Time to load bundles: 5 Starting application: 1059 

 

After the last line, the application never ever starts. 

 

On the other hand, when executing the nios2-ide command, here is what I get: 

 

/opt/altera/11.1/nios2eds/bin/nios2-ide: line 17: /opt/altera/11.1/nios2eds/bin/eclipse/nios2-ide: No such file or directory /opt/altera/11.1/nios2eds/bin/nios2-ide: line 17: exec: /opt/altera/11.1/nios2eds/bin/eclipse/nios2-ide: cannot execute: No such file or directory 

 

However, that directory does not exists (I attach an image of the contents of the Nios II directory). 

 

https://www.alteraforum.com/forum/attachment.php?attachmentid=8487  

 

I cannot seem to get the Nios II tools running on Linux, and there is no other error message to track down. If further information about the work environment is needed, I will gladly post it here. 

 

Any help would be greatly appreciated. Thanks in advance.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
65 Views

 

--- Quote Start ---  

Recently I had to start working on a workstation with CentOS 6.5 as operating system. I installed the Quartus Software, version 11.1, but the Eclipse tools for Nios II just do not open. Then I installed Quartus 13.1, but problem still persists. 

 

Here is the output I get when executing the eclipse-nios2 -debug command from terminal: 

 

Start VM: /opt/altera/11.1/quartus//linux/jre/bin/java -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx384m -jar /opt/altera/11.1/nios2eds/bin/eclipse_nios2//plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -os linux -ws gtk -arch x86 -showsplash -launcher /opt/altera/11.1/nios2eds/bin/eclipse_nios2/eclipse -name Eclipse --launcher.library /opt/altera/11.1/nios2eds/bin/eclipse_nios2//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.1.R36x_v20100810/eclipse_1309.so -startup /opt/altera/11.1/nios2eds/bin/eclipse_nios2//plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -exitdata 4d0054 -product org.eclipse.epp.package.cpp.product -Debug -perspective com.altera.sbtgui.ui.cPerspective -vm /opt/altera/11.1/quartus//linux/jre/bin/java -vmargs -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx384m -jar /opt/altera/11.1/nios2eds/bin/eclipse_nios2//plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar Install location: file:/opt/altera/11.1/nios2eds/bin/eclipse_nios2/ Configuration file: file:/opt/altera/11.1/nios2eds/bin/eclipse_nios2/configuration/config.ini loaded Configuration location: file:/opt/altera/11.1/nios2eds/bin/eclipse_nios2/configuration/ Framework located: file:/opt/altera/11.1/nios2eds/bin/eclipse_nios2/plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar Framework classpath: file:/opt/altera/11.1/nios2eds/bin/eclipse_nios2/plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar Splash location: /opt/altera/11.1/nios2eds/bin/eclipse_nios2/plugins/org.eclipse.platform_3.6.1.v201009090800/splash.bmp Debug options: file:/home/cramos/.options not found Time to load bundles: 5 Starting application: 1059 

 

After the last line, the application never ever starts. 

 

On the other hand, when executing the nios2-ide command, here is what I get: 

 

/opt/altera/11.1/nios2eds/bin/nios2-ide: line 17: /opt/altera/11.1/nios2eds/bin/eclipse/nios2-ide: No such file or directory /opt/altera/11.1/nios2eds/bin/nios2-ide: line 17: exec: /opt/altera/11.1/nios2eds/bin/eclipse/nios2-ide: cannot execute: No such file or directory 

 

However, that directory does not exists (I attach an image of the contents of the Nios II directory). 

 

https://www.alteraforum.com/forum/attachment.php?attachmentid=8487  

 

I cannot seem to get the Nios II tools running on Linux, and there is no other error message to track down. If further information about the work environment is needed, I will gladly post it here. 

 

Any help would be greatly appreciated. Thanks in advance. 

--- Quote End ---  

 

-------------------------------------------------------------------------------------------- 

 

Most problems that I hadwith Centos 6.5 linux 64-bit Quartus 12 nios2eds installations 

are missing 32-bit (i686) libraries... /usr/lib/libmissings 

------------------------------------------------------------------------------------- 

use 

yum list whatever 

 

 

to see whatever is installed 

and 

use 

yum install whatever-is-missing 

 

 

to install the missing i686 libraries. 

 

 

 

 

e.g. 

 

 

yum list glibc libXext libX11 libXau libXdmcp freetype fontconfig expat 

I did: 

yum install expat.i686 

yum install fontconfig.i686 

yum install freetype.i686 

yum install libX11.i686 

---------------------------------------------- 

ok... I saw the Quartus flash screen but sopc-builder can't start:( 

---------------------------------------------- 

For me I ran 

 

 

/opt/altera/12.1/quartus/sopc_builder/bin/sopc_builder 

 

 

to see what 32-bit libraries are missing, I discovered libXtst.so is 

missing.. so yum again 

 

 

yum install libXtst.i686 

 

 

 

 

---------------------------------------------- 

ok... saw the sopc builder flash screen but eclipse can't start :( 

I got the idea from here: 

http://aalonso.wordpress.com/2009/07/02/altera-quartus-2-on-fedora-11/ 

---------------------------------------------- 

 

 

yum install gtk2.i686 // need for eclipse 

yum install libcanberra-gtk2.i686 // don't need 

 

 

---------------------------------------------- 

 

 

----------- for usb blaster permission 

create file 

/etc/udev/rules.d/51-usbblaster.rules 

with content 

 

 

# USB-Blaster 

BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001", MODE="0666" 

BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6002", MODE="0666" 

BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6003", MODE="0666" 

:)
Altera_Forum
Honored Contributor I
65 Views

I had exactly the described problem. 

 

yum install gtk2.i686 seems to have fixed it. Thanks! 

 

Every tools seems to require some hidden i686 feature.