QuartusII9.1 cannot be started properly after ubuntu is installed

Source: Internet
Author: User
Ubuntu installation of quartusII9.1 cannot be started normally-general Linux technology-Linux technology and application information, the following is a detailed description. According to the online tutorial, quartus II 9.1sp2 is installed on ubuntu10.10. After the installation is cracked, it cannot be started normally, but the nios2eds installed with it can be started normally.
The following is an installation Tutorial:
1. Prepare
Install tcsh and gcc:
In terminal as root:
Sudo apt-get install tcsh gcc

2. Extract files and Install
Copy/download. tar files to some dir (e.g .:~ /Altera_setups ):
In terminal as user:
Cd ~ /Altera_setups
Tar-xvf 91_quartus_linux.tar
Tar-xvf 91_modelsim_ AE _linux.tar
Tar-xvf 91_nios2eds_linux.tar
Mkdir quartus_sp1
Tar-C quartus_sp1-xvf 91sp1_quartquart_linux.tar
Mkdir nios2_sp1
Tar-C nios2_sp1-xvf 91sp1_nios2eds_linux.tar
Mkdir quartus_sp2
Tar-C quartus_sp2-xvf 91sp2_quartus_linux.tar
Mkdir nios2_sp2
Tar-C nios2_sp2-xvf 91sp2_nios2eds_linux.tar

Install:
In terminal as root:
./Quartus/install
./Modelsim_ AE/install
./Nios2eds/install
./Quartus_sp1/install_patch
./Nios2_sp1/install_patch
./Quartus_sp2/install_patch
./Nios2_sp2/install_patch
When any of them ask you install path, specify
/Opt/altera
Installation will take a long time, especially for quartus and quartus_sp1, sp2.

The programs will be installed in the following directories:
Quartus =/opt/altera/quartus
IP Route core =/opt/altera/ip
Niosii EDS =/opt/altera/nios2eds
Modelsim =/opt/altera/modelsim

After installation,. tar and extracted dir can be deleted.
Or, you can
Copy/download, extract, delete. tar, install, delete extracted dir, one by one,
For saving disk space. In this case, 14 GB freespace is needed.

3. Crack
Do things as described in crack.txt.
Rename the two license files to "license_quartus.dat" and "license_modelsim.dat ",
Copy the two license files to "/opt/altera ".

4. Setup JTAG
The jtag port USB Blaster needs usbfs to work.
Add/edit the following line in the file/etc/fstab:
Usbfs/proc/bus/usb usbfs devmode = 0666 0 0
This will automatically mount the usbfs to the location/proc/bus/usb on startup.
The mode will be set to 0666 which means that everyone can read/write the files that are created there.
Reboot needed, or you can mount it manually for this time:
In terminal as root:
Mount/proc/bus/usb

Setup JTAG server:
In terminal as root:
Mkdir/etc/jtagd
Cp/opt/altera/quartus/linux/pgm_parts.txt/etc/jtagd. pgm_parts
Add these lines to/etc/rc. local to start jtag server:
Echo 356 40000 32 32000>/proc/sys/kernel/sem
/Opt/altera/quartus/bin/jtagd
Reboot needed, or you can start it manually for this time:
In terminal as root:
Echo 356 40000 32 32000>/proc/sys/kernel/sem
/Opt/altera/quartus/bin/jtagd

Next, create an empty file in your home directory named ". jtag. conf ".
In terminal as user:
Touch ~ /. Jtag. conf

5. Setup niosshell
Create an executable script "altera" in "~ /Bin ":
In terminal as user:
Cd ~ /Bin
Touch altera
Chmod + x altera
Then put these lines in "altera ":
#! /Bin/bash
# Run this for a NiO ii sdk bash shell
Export LM_LICENSE_FILE =/opt/altera/license_modelsim.dat
SOPC_KIT_NIOS2 =/opt/altera/nios2eds
Export SOPC_KIT_NIOS2
SOPC_BUILDER_PATH_91 =/opt/altera/nios2eds
Export SOPC_BUILDER_PATH_91
Unset GCC_EXEC_PREFIX
QUARTUS_ROOTDIR =/opt/altera/quartus
Export QUARTUS_ROOTDIR
Export PERL5LIB =/usr/lib/perl/5.10.1
Bash -- rcfile $ QUARTUS_ROOTDIR/sopc_builder/bin/nios_bash

6. Run
In terminal as user:
Altera
This will open a Bourne-again shell (bash) with a pre-configured environment.

------------------------------------------------
Welcome To FPGA Builder

Version 9.1, Built Mon Jan 25 21:50:57 PST 2010
------------------------------------------------

------------------------------------------------
Welcome to the nio ii Embedded Design Suite
Version 9.1, Built Mon Jan 25 23:46:37 PST 2010

Example designs can be found in
/Opt/altera/nios2eds/examples

------------------------------------------------
(You may add a startup script:/opt/altera/nios2eds/user. bashrc)
~
[Nioⅱ EDS] $

Now you can run quartus:
[NiosII EDS] $ quartus

Run nios2 IDE:
[Nioⅱ EDS] $ nios2-ide

Or Run Eclipse for Nios2:
[Nioⅱ EDS] $ eclipse-nios2

If quartus ask you the license file for the first run, specify existed file "license_quartus.dat ".

7. Other

Quartus may crash before tooltip showing, altera has released patch "quartus_patch_9.20.0.46 ",
Use "Tooltip crash patch.tar.bz2" instead.

If modelsim can not automatically launch from quartus:
In quartus Tools-Options-General-EDA Tools Options
Change ModelSim-Altera's Loaction to "/opt/altera/modelsim_ AE/linuxaloem"

You can find more usage of command line tools on section 2-4
Embedded Design Handbook (http://altera.com/literature/hb/nios2/edh_ed_handbook.pdf)
(Highly recommended reading ).

The following figure shows the quartus startup screen:

Another error message is:
Error while loading shared libraries: libccl_gen_sched_rh3_32bit.so: cannot open shared object file: No such file or directory
--
Is there any good solution, except for changing the release version :)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.