I revisited my
super awesome Quartus install and Makefile post a few days ago in an attempt to replicate the setup so I can write some sweet verilog, but alas, Something in the package from Altera was different.
I tried the latest and greatest Quartus, now from Intel, which installs and works impressively well here on my desktop. But! It no longer works at all the same from the command line, which breaks my workflow.
With a little tomfoolery, I was able to get things installed and working like I had them before by fetching the oldish install for Quartus 12.1SP1, and doing the following:
sudo mkdir /opt/altera
sudo chown jackc:wheel /opt/altera
cd /tmp/kk
tar xfz ~/Downloads/12.1sp1_243_quartus_free_linux.tar.gz
cd 12*
cd linux_installer/quartus_free
mv gtar gtar-orig
mv gzip gzip-orig
ln -s `which tar` gtar
ln -s `which gzip` gzip
./install --auto /opt/altera/12.1sp1_243
cd ..
cd cd quartus_free_64bit
mv gtar gtar-orig
mv gzip gzip-orig
ln -s `which tar` gtar
ln -s `which gzip` gzip
./install --auto /opt/altera/12.1sp1_243
for x in /tmp/kk/12.1sp1_243_quartus_free_linux/devices/web/*.qda; do LD_LIBRARY_PATH=/opt/altera/12.1sp1_243/quartus/linux64 /opt/altera/12.1sp1_243/quartus/linux64/quartus_sh --qinstall -qda "$x"; done
sudo su
echo 'ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", MODE="666"' > /etc/udev/rules.d/altera-usb-blaster.rules
udevadm control --reload-rules
mkdir /etc/jtagd
cp /opt/altera/12.1sp1_243/quartus/linux64/pgm_parts.txt /etc/jtagd/jtagd.pgm_parts
It even works!
$ LD_LIBRARY_PATH=/opt/altera/12.1sp1_243/quartus/linux64/ /opt/altera/12.1sp1_243/quartus/linux64/jtagconfig
1) USB-Blaster [2-1.3.1.3]
Unable to read device chain (JTAG chain broken)