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 1a491fa010 libero container + licenser working 3 months ago
installers reset repo 3 months ago
licenses libero container + licenser working 3 months ago
scripts libero container + licenser working 3 months ago
.gitignore init 3 months ago
Dockerfile libero container + licenser working 3 months ago
LICENSE init 3 months ago
Makefile libero container + licenser working 3 months ago
README.org libero container + licenser working 3 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 LPOD <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.

Build the container

podman build -t microchip_tools .

Create a podman network

podman network create

The next steps assume this network name is podman1, the default first network name. If you need to name it something else, change the --network line in the makefile target. This will be polished later.

Run libero from inside the container

export LIBERO_LICENSE_MAC=<your mac address>
make bash

You should now be root inside of your running container. It should now be as simple as calling libero.

TODO Running Libero from outside the container