Installing Microsemi Libero 2021.3 on Ubuntu 20 LTS
Mostly based on this great tutorial : https://bobbl.github.io/fpga/microsemi/2021/04/30/install-libero-update.html
Prerequisites
|
|
You may need other QT related packages in their i386 flavour.
Get License
Create a directory for the license server (here I use ~/.local/share/microsemi/license
)
|
|
Download the “Linux Daemon” from https://www.microsemi.com/product-directory/design-resources/1711-licensing#downloads to the license directory and extract it with:
|
|
Create an account on https://www.microsemi.com and request a “Libero Silver 1Yr Floating License for Windows/Linux Server”. You have to enter your MAC address (12 hexadecimal digits without colons), which you can get by typing
|
|
The license file is sent via email. Store the license file License.dat
in the license directory.
Now the first four lines of the license file must be edited, but not the rest of the file. In the first line, replace <put.hostname.here>
by localhost
. In lines 2 to 4 replace PATH
by the absolute path to the license daemon directory. The first 4 lines schould then look like that:
SERVER localhost 112233445566 1702
DAEMON actlmgrd /home/USERNAME/.local/share/microsemi/license/Linux_Licensing_Daemon/actlmgrd
DAEMON mgcld /home/USERNAME/.local/share/microsemi/license/Linux_Licensing_Daemon/mgcld
VENDOR snpslmd /home/USERNAME/.local/share/microsemi/license/Linux_Licensing_Daemon/snpslmd
The license manager requires that /usr/tmp
exists (otherwise you get “FlexNet Licensing error:-25,234”)
|
|
Install the depedencies
|
|
And start the license server with
|
|
If you get a “file not found” error, install lsb.
On my system I have the problem that the license works only for a few minutes. I don’t know why, but when I start Libero a second time after a few minutes, it doesn’t recognise the license. Stopping and restarting the license server helps:
|
|
Known issues
Let’s have a look at the first lines of the license file again:
|
|
actlmgrd
must be a 32-bit daemon.mgcld
andsnpslmd
must be 64-bits daemons.
Don’t ask me why, we went through several problems until finding this solution.
Install Libero
Download “Libero SoC v2021.3 for Linux” from https://www.microsemi.com/product-directory/design-resources/1750-libero-soc#downloads.
The downloaded binary is a self-extracting archive built with InstallAnywhere. Before executing it, set its execute bit must be set and some dependencies have to be installed:
|
|
Before actually starting Libero, some environment variables have to be set:
|
|
Now, you can launch Libero SoC:
|
|