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 02c62cf7d4 | 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 | 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
- Build the container + Launch the licensing daemon
- Run libero from inside the container
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
Build the container + Launch the licensing daemon
make daemon
Run libero from inside the container
podman exec -it --user root libero bash
. /opt/microchip/scripts/env
libero