Compile FABlin from Docker

LuxAetern edited this page Nov 14, 2018 · 3 revisions

To compile Fablin with Docker you need the following things:

  • Docker CE
  • git
  • an Internet connection
  • a Linux machine (could work on windows, for now untested)
  • a path where the compiled hex should be saved

To learn how to install Docker please visit docker.com
After you finished the Docker installation copy the following two lines into your terminal (shell/bash/zsh/whatever)
Replace /root/out with your path eg. /home/myuser/supercoolfolder

git clone https://github.com/Opentotum/FABlin.git
cd FABlin
docker build --rm -t totumduinobuilder .
docker run --rm -v /root/out:/out totumduinobuilder

After the docker exits you should now have a new file called totumduino_(thecurrentdate).hex in your outputfolder.
(remeber the /home/myuser/supercoolfolder?)

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.