Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ sudo apt-get install android-tools-adb android-tools-fastboot autoconf \
libftdi-dev libglib2.0-dev libhidapi-dev libncurses5-dev \
libpixman-1-dev libssl-dev libstdc++6:i386 libtool libz1:i386 make \
mtools netcat python-crypto python-serial python-wand unzip uuid-dev \
xdg-utils xterm xz-utils zlib1g-dev ccache
xdg-utils xterm xz-utils zlib1g-dev ccache repo gcc-aarch64-linux-gnu
Copy link
Copy Markdown
Contributor

@acarb95 acarb95 Sep 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You shouldn't need to install gcc-aarch64-linux-gnu. This should be created with make toolchains and then adding "<tc_folder>/toolchains/aarch64/bin" and "<tc_folder>/toolchains/aarch32/bin" to your path.

Edit: I have it on my machine, but I'm still unconvinced it is necessary.

```

## Get the code
Expand All @@ -41,6 +41,18 @@ cd build
make toolchains
```

## Build dependencies
```bash
cd $HOME/trustedcapsules/code/optee_app/capsule_gen/src/libtomcrypt
./updatemakes.sh
sudo make install
cd $HOME/trustedcapsules/code/optee_app/capsule_gen/src/tomsfastmath
sudo make install
cd $HOME/trustedcapsules/code/optee_app/capsule_gen/src/
./make_all_capsules
```
TODO: make this part of the regular build?
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


## Build source code
After building the toolchains, you need to build the source code. This will take a long time.

Expand Down