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 | 1 month ago | |
---|---|---|
installers | 1 month ago | |
licenses | 2 months ago | |
scripts | 1 month ago | |
.gitignore | 2 months ago | |
Dockerfile | 1 month ago | |
LICENSE | 2 months ago | |
Makefile | 1 month ago | |
README.org | 1 month 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@"