Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Using Quartus and Nios IDE with Ubuntu 10.04

Hello,

I have made some tries to use Altera tools on the new Ubuntu release : Lucid (10.04). Even if it's a beta version, I think you will have some troubles with the official release.

Here are the changes I had to do:

- USB Blaster

The problem is not coming with this new version but with the kernel, some people already encountered it with Ubuntu 9.10 because of the fact USB fs became deprecated. That means you no more have your /proc/bus/usb repository. Then I have add these two lines

mount --bind /dev/bus /proc/bus
ln -s /sys/kernel/debug/usb/devices /proc/bus/usb/devices

into the /etc/rc.local file. It was the only problem I had with Quartus but I don't have a huge use of this tool.

I have also try to compile the kernel with the usb fs option but it was not a good idea since no more usb peripherals were ok.

- Nios II IDE compilation

Each time I would like to compile a project or the sys lib, I had the message:

Error: no processor component available.
make: ***  Error 1
SOPC_BUILDER_PATH may be incorrectly set in your environment.

The problem comes from an xorg library : libXi which is the 6.1.0 version with the Ubuntu Lucid. The Api seems to have change, then you will need to use the 6.0.0 version. You can simply copy your /usr/lib32/libXi.so.6.0.0 and change the symbolic link /usr/lib32/libXi.so.6

I hope these tips could be useful.

27 Replies