You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
penguin e7fa84147f fix run command 2 months ago
installers bump version to v2024.2 by default; fix bug 2 months ago
licenses libero container + licenser working 3 months ago
scripts bump version to v2024.2 by default; fix bug 2 months ago
.gitignore init 3 months ago
Dockerfile fix run command 2 months ago
LICENSE init 3 months ago
Makefile fix run command 2 months ago
README.org fix run command 2 months ago

README.org

Installing Microchip Tools via podman or docker

Download the Libero and SoftConsole installers

  • Download Libero from here.
  • Place it in ./installers/
  • Download SoftConsole from here.
  • Place it in ./installers/

Unzip libero:

cd installers
unzip Libero_soc_*.*_web_lin.zip
cd ..

Install the license

mv /path/to/License.dat ./licenses/.

Open the license in a text editor and change these lines:

SERVER <put.hostname.here> <your mac address> 1702
DAEMON actlmgrd  PATH/actlmgrd
DAEMON mgcld PATH/mgcld
VENDOR snpslmd  PATH/snpslmd

to

SERVER <put.hostname.here> <your mac address> 1702
DAEMON actlmgrd  /opt/microchip/Libero_SoC_v2024.1/Libero/bin64/actlmgrd
DAEMON mgcld /opt/microchip/Libero_SoC_v2024.1/Libero/bin64/mgcld
VENDOR snpslmd  /opt/microchip/Libero_SoC_v2024.1/Libero/bin64/snpslmd

Your mac address should already be placed there so don't worry about that.

Edit the environment

The environment script, located in ./scripts/env contains the version of Libero and SoftConsole that you are installing. Change the versions to the correct versions if needed.

The hostname of your host machine will be used by the container. We can use the following command to plop your hostname into the right places:

sed -i "s/<hostname>/$(hostname)/g" ./scripts/env

Usage

Build the container + Launch the licensing daemon

make daemon

Run Libero

make run

Run libero from inside the container

make debug
libero

Common Issues

Authorization required, but no authorization protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

Fix:

xhost +"local:podman@"