Forum Discussion
Altera_Forum
Honored Contributor
11 years agoI've been solving the same problem in the last few days, I'm nearly there.
A few issues that Altera need to solve. When Altera build all there Linux binaries they should add the following to the 'ld' command line:-Wl,--enable-new-dtags -Wl,-rpath,'$ORIGIN' This will add 'RUNPATH' and 'RPATH' entries to the elf headers that contain '$ORIGIN' (run objdump -p to see them). Then the programs are run the dynamic linker will then look for shared libraries in the directory the program was run from. Better would be to move all the .so into a separate directory and use (say) '$ORIGIN/../lib' for the path. Installing the 32bit compatibility libraries in completely non-trivial (try in on Ubuntu 14.1). Since almost all systems that anyone would consider running the Altera software on are very likely to be running on are 63bit this is a complete PITA. Altera need to release 64bit versions of ALL the toolset. (Our company has the same problem.) The qsys window was placed at (0,0), this meant it was almost impossible to move or to select the 'file' buttom (hidden behind parts of the screen the window manager uses). The USB jtag interface doesn't work by default, and the tools just say 'failed'. It 'fixed' it by making the jtagd binany suid root - not an ideal solution. All I need to do now is get past the 'download elf failed' error. Maybe 14.1 is better, but I'm using a cyclone III board which isn't supported by releases after 13.1