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 | 2 months ago | |
---|---|---|
installers | 2 months ago | |
licenses | 3 months ago | |
scripts | 2 months ago | |
.gitignore | 3 months ago | |
Dockerfile | 2 months ago | |
LICENSE | 3 months ago | |
Makefile | 2 months ago | |
README.org | 2 months ago |
README.org
Installing Microchip Tools via podman or docker
- Download the Libero and SoftConsole installers
- Request a License from Microchip
- Install the license
- Edit the environment
- Usage
- Common Issues
Download the Libero and SoftConsole installers
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@"