From 1d548100be4aeae7588c4a538bddd7891415f7cd Mon Sep 17 00:00:00 2001 From: penguin Date: Wed, 12 Jun 2024 09:03:47 -0500 Subject: [PATCH] update readme --- README.org | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 8f63ac3..d76dec8 100644 --- a/README.org +++ b/README.org @@ -17,10 +17,45 @@ cd .. #+end_src * TODO Request a License from Microchip -* TODO Install the license +* Install the license +#+begin_src bash +mv /path/to/License.dat ./licenses/. +#+end_src + +Open the license in a text editor and change these lines: +#+begin_example +SERVER 1702 +DAEMON actlmgrd PATH/actlmgrd +DAEMON mgcld PATH/mgcld +VENDOR snpslmd PATH/snpslmd +#+end_example + +to + +#+begin_example +SERVER LPOD 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 +#+end_example + +Your mac address should already be placed there so don't worry about that. + * Build the container #+begin_src bash podman build -t microchip_tools . #+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 +make bash +#+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