update readme

develop
penguin 3 weeks ago
parent 1a491fa010
commit 62f278cc73

@ -11,7 +11,7 @@ C_END= \033[0m
build:
podman build . -t libero --volume="${PWD}/installers:/opt/microchip/installers"
daemon:
daemon: build
podman run -dt --replace --name libero \
--net host \
-v "/etc/localtime:/etc/localtime" \

@ -34,7 +34,7 @@ VENDOR snpslmd PATH/snpslmd
to
#+begin_example
SERVER LPOD <your mac address> 1702
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
@ -42,22 +42,14 @@ 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
* Build the container + Launch the licensing daemon
#+begin_src bash
podman build -t microchip_tools .
make daemon
#+end_src
* Create a podman network
#+begin_src bash
podman network create
#+end_src
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
#+begin_src bash
export LIBERO_LICENSE_MAC=<your mac address>
make bash
podman exec -it --user root libero bash
. /opt/microchip/scripts/env
libero
#+end_src
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

Loading…
Cancel
Save