- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This are only quick instructions and have not been tested on a clean system:
What works: - quartus - sopc builder - programmer - eclipse-nios2 What does not work yet: - programming elf files from eclipse-nios2, I get: "nios2-download: error: wrapper script can only download one file at a time" and Unable to find full path for "nios2-elf-g++" Unable to find full path for "nios2-elf-gcc" This are the steps I already did for version 9.1sp2:
$ sudo vi /etc/rc.local
# Altera Quartus II usbfs support
mount --bind /dev/bus /proc/bus
ln -s /sys/kernel/debug/usb/devices /proc/bus/usb/devices
$ sudo vi /etc/udev/rules.d/51-usbblaster.rules
# Altera USB-Blaster rule to set mode to 666.
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001", MODE="0666", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", RUN+="/bin/chmod 0666 %c"
$ sudo udevadm control --reload-rules
And this is what I had to do this time:
$ cd Downloads
$ sudo ln -sf /usr/lib/libXi.so.6.0.0 /usr/lib/libXi.so.6
$ sudo ln -sf bash /bin/sh
$ sudo bash 10.0_quartus_free_linux.sh
$ sudo bash 10.0_nios2eds_linux.sh
$ sudo bash 10.0_modelsim_ase_linux.sh
$ sudo ln -sf dash /bin/sh
$ sudo ln -sf /usr/lib/libXi.so.6.1.0 /usr/lib/libXi.so.6
export QUARTUS_ROOTDIR=/opt/altera/10.0/quartus
export SOPC_KIT_NIOS2=/opt/altera/10.0/nios2eds
export SOPC_BUILDER_PATH_100=/opt/altera/10.0/nios2eds
$ /opt/altera/10.0/quartus/bin/quartus
$ /opt/altera/10.0/nios2eds/bin/eclipse-nios2
The install script does not execute properly if /bin/sh is not bash (tchs would probably work too). I am not sure using the older libXi is necessary (you can find it somewhere on this forum) Regards, Iztok Jeras
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
is it necessary to change the /bin/sh link and also run bash <installer>.sh? doesn't running bash <installer>.sh override the shell on the hashbang?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the install tips, installed fine but am getting segment violation when running quartus_sh from versions 9.1 and 10. Suspect it's a libc issue. Currently running archlinux with
bash$ /lib/libc.so.6 --version GNU C Library stable release version 2.12.1, by Roland McGrath et al. QIIv9.1 used to run fine, still does on another system with GNU C Library stable release version 2.3.2, by Roland McGrath et al. Copyright (C) 2003 Free Software Foundation, Inc. Anyone else hit this problem/got any suggestions? bty. I noticed from strace that quartus looks for /etc/redhat-release, /etc/Suse-release or /etc/fedora-release, hmm.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quartus II 10.0 working on Fedora 13, and my libc is almost as new:
$ /lib/libc.so.6 --version
GNU C Library stable release version 2.12, by Roland McGrath et al.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fixed the segment violation by creating /etc/fedora-release with suitable contents eg
Fedora Core release 3 (Heidelberg) seems to have done the trick on ArchLinux.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page