xref: /rk3399_ARM-atf/docs/perf/tsp.rst (revision b908814c74f5c5d4a9f2b86f341f38a3948527a9)
1Test Secure Payload (TSP) and Dispatcher (TSPD)
2===============================================
3
4Building the Test Secure Payload
5--------------------------------
6
7The TSP is coupled with a companion runtime service in the BL31 firmware,
8called the TSPD. Therefore, if you intend to use the TSP, the BL31 image
9must be recompiled as well. For more information on SPs and SPDs, see the
10:ref:`firmware_design_sel1_spd` section in the :ref:`Firmware Design`.
11
12First clean the TF-A build directory to get rid of any previous BL31 binary.
13Then to build the TSP image use:
14
15.. code:: shell
16
17    make PLAT=<platform> SPD=tspd all
18
19An additional boot loader binary file is created in the ``build`` directory:
20
21::
22
23    build/<platform>/<build-type>/bl32.bin
24
25--------------
26
27*Copyright (c) 2019, Arm Limited. All rights reserved.*
28