mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
Merge changes If90a18ee,I02e88f8c,Iea447fb5,Ie0570481,Ieeb14cfc into integration
* changes: docs: add top level section numbering docs(build): clarify getting started section docs(build): clarify docs building instructions fix(docs): prevent a sphinx warning fix(docs): prevent a virtual environment from failing a build
This commit is contained in:
commit
71061819aa
18 changed files with 49 additions and 40 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -43,3 +43,9 @@ tags
|
|||
|
||||
# Node.js
|
||||
node_modules/
|
||||
|
||||
# common python virtual environment directories
|
||||
.env/
|
||||
env/
|
||||
.venv/
|
||||
venv/
|
||||
|
|
|
@ -4,7 +4,6 @@ About
|
|||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Contents
|
||||
:numbered:
|
||||
|
||||
features
|
||||
release-information
|
||||
|
|
|
@ -4,7 +4,6 @@ Components
|
|||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Contents
|
||||
:numbered:
|
||||
|
||||
spd/index
|
||||
activity-monitors
|
||||
|
|
|
@ -36,12 +36,13 @@ master_doc = 'index'
|
|||
#
|
||||
# This is also used if you do content translation via gettext catalogs.
|
||||
# Usually you set "language" from the command line for these cases.
|
||||
language = None
|
||||
language = "en"
|
||||
|
||||
# List of patterns, relative to source directory, that match files and
|
||||
# directories to ignore when looking for source files.
|
||||
# This pattern also affects html_static_path and html_extra_path .
|
||||
exclude_patterns = []
|
||||
# Don't try to build the venv in case it's placed with the sources
|
||||
exclude_patterns = [".env", "env", ".venv", "venv"]
|
||||
|
||||
# The name of the Pygments (syntax highlighting) style to use.
|
||||
pygments_style = 'sphinx'
|
||||
|
|
|
@ -4,7 +4,6 @@ System Design
|
|||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Contents
|
||||
:numbered:
|
||||
|
||||
alt-boot-flows
|
||||
auth-framework
|
||||
|
|
|
@ -4,7 +4,6 @@ Design Documents
|
|||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Contents
|
||||
:numbered:
|
||||
|
||||
cmake_framework
|
||||
context_mgmt_rework
|
||||
|
|
|
@ -17,19 +17,25 @@ check that you have the required software packages, as described in the
|
|||
Prerequisites
|
||||
-------------
|
||||
|
||||
For building a local copy of the |TF-A| documentation you will need, at minimum:
|
||||
For building a local copy of the |TF-A| documentation you will need:
|
||||
|
||||
- Python 3 (3.5 or later)
|
||||
- PlantUML (1.2017.15 or later)
|
||||
- Python modules specified in ``docs/requirements.txt``
|
||||
|
||||
Optionally, the `Dia`_ application can be installed if you need to edit
|
||||
existing ``.dia`` diagram files, or create new ones.
|
||||
You can install these with ``pip3`` (the Python Package Installer) by
|
||||
passing it the requirements file above (with ``-r``). An optional ``--user``
|
||||
argument will install them locally, but you have to add their location to
|
||||
$PATH (pip will emit a warning). Alternatively, they can be installed
|
||||
globally (but will probably require root privileges).
|
||||
|
||||
You must also install the Python modules that are specified in the
|
||||
``requirements.txt`` file in the root of the ``docs`` directory. These modules
|
||||
can be installed using ``pip3`` (the Python Package Installer). Passing this
|
||||
requirements file as an argument to ``pip3`` automatically installs the specific
|
||||
module versions required by |TF-A|.
|
||||
.. note::
|
||||
Although not necessary, it is recommended you use a virtual environment.
|
||||
More advanced usage instructions for *pip* are beyond the scope of this
|
||||
document but you can refer to the `pip homepage`_ for detailed guides.
|
||||
|
||||
- Optionally, the `Dia`_ application can be installed if you need to edit
|
||||
existing ``.dia`` diagram files, or create new ones.
|
||||
|
||||
An example set of installation commands for Ubuntu follows, assuming that the
|
||||
working directory is ``docs``:
|
||||
|
@ -44,15 +50,6 @@ working directory is ``docs``:
|
|||
the list to ensure that there will be no conflicts with other modules already
|
||||
installed in your environment.
|
||||
|
||||
Passing the optional ``--user`` argument to ``pip3`` will install the Python
|
||||
packages only for the current user. Omitting this argument will attempt to
|
||||
install the packages globally and this will likely require the command to be run
|
||||
as root or using ``sudo``.
|
||||
|
||||
.. note::
|
||||
More advanced usage instructions for *pip* are beyond the scope of this
|
||||
document but you can refer to the `pip homepage`_ for detailed guides.
|
||||
|
||||
Building rendered documentation
|
||||
-------------------------------
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@ Image Terminology
|
|||
This page contains the current name, abbreviated name and purpose of the various
|
||||
images referred to in the Trusted Firmware project.
|
||||
|
||||
General Notes
|
||||
-------------
|
||||
Common Image Features
|
||||
---------------------
|
||||
|
||||
- Some of the names and abbreviated names have changed to accommodate new
|
||||
requirements. The changed names are as backward compatible as possible to
|
||||
|
@ -40,6 +40,15 @@ General Notes
|
|||
Trusted Firmware Images
|
||||
-----------------------
|
||||
|
||||
Firmware Image Package: ``FIP``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
This is a packaging format used by TF-A to package firmware images in a single
|
||||
binary. The number and type of images that should be packed in a FIP is
|
||||
platform-specific and may include TF-A images and other firmware images
|
||||
required by the platform. For example, most platforms require a BL33 image
|
||||
which corresponds to the normal world bootloader (e.g. UEFI or U-Boot).
|
||||
|
||||
AP Boot ROM: ``AP_BL1``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
@ -4,12 +4,11 @@ Getting Started
|
|||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Contents
|
||||
:numbered:
|
||||
|
||||
prerequisites
|
||||
docs-build
|
||||
tools-build
|
||||
initial-build
|
||||
tools-build
|
||||
build-options
|
||||
image-terminology
|
||||
porting-guide
|
||||
|
|
|
@ -2,7 +2,7 @@ Performing an Initial Build
|
|||
===========================
|
||||
|
||||
- Before building TF-A, the environment variable ``CROSS_COMPILE`` must point
|
||||
to the Linaro cross compiler.
|
||||
to your cross compiler.
|
||||
|
||||
For AArch64:
|
||||
|
||||
|
|
|
@ -27,6 +27,10 @@ Toolchain
|
|||
target the Armv7-A or Armv8-A architectures:
|
||||
|
||||
- GCC >= 11.3.Rel1 (from the `Arm Developer website`_)
|
||||
|
||||
You will need the targets ``arm-none-eabi`` and ``aarch64-none-elf`` for
|
||||
AArch32 and AArch64 builds respectively.
|
||||
|
||||
- Clang >= 14.0.0
|
||||
- Arm Compiler >= 6.18
|
||||
|
||||
|
|
|
@ -14,12 +14,11 @@ Building Supporting Tools
|
|||
Building and using the FIP tool
|
||||
-------------------------------
|
||||
|
||||
Firmware Image Package (FIP) is a packaging format used by TF-A to package
|
||||
firmware images in a single binary. The number and type of images that should
|
||||
be packed in a FIP is platform specific and may include TF-A images and other
|
||||
firmware images required by the platform. For example, most platforms require
|
||||
a BL33 image which corresponds to the normal world bootloader (e.g. UEFI or
|
||||
U-Boot).
|
||||
The following snippets build a :ref:`FIP<Image Terminology>` for the FVP
|
||||
platform. While it is not an intrinsic part of the FIP format, a BL33 image is
|
||||
required for these examples. For the purposes of experimentation, `Trusted
|
||||
Firmware-A Tests`_ (`tftf.bin``) may be used. Refer to to the `TFTF
|
||||
documentation`_ for instructions on building a TFTF binary.
|
||||
|
||||
The TF-A build system provides the make target ``fip`` to create a FIP file
|
||||
for the specified platform using the FIP creation tool included in the TF-A
|
||||
|
@ -175,3 +174,6 @@ via using ``cat <filename>`` instead of a hex string.
|
|||
--------------
|
||||
|
||||
*Copyright (c) 2019-2022, Arm Limited. All rights reserved.*
|
||||
|
||||
.. _Trusted Firmware-A Tests: https://git.trustedfirmware.org/TF-A/tf-a-tests.git/
|
||||
.. _TFTF documentation: https://trustedfirmware-a-tests.readthedocs.io/en/latest/
|
||||
|
|
|
@ -3,7 +3,7 @@ Trusted Firmware-A Documentation
|
|||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:hidden:
|
||||
:numbered:
|
||||
|
||||
Home<self>
|
||||
about/index
|
||||
|
|
|
@ -4,7 +4,6 @@ Performance & Testing
|
|||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Contents
|
||||
:numbered:
|
||||
|
||||
psci-performance-juno
|
||||
tsp
|
||||
|
|
|
@ -4,7 +4,6 @@ Platform Ports
|
|||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Contents
|
||||
:numbered:
|
||||
:hidden:
|
||||
|
||||
allwinner
|
||||
|
|
|
@ -4,7 +4,6 @@ Processes & Policies
|
|||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Contents
|
||||
:numbered:
|
||||
|
||||
security
|
||||
platform-ports-policy
|
||||
|
|
|
@ -4,7 +4,6 @@ Security Advisories
|
|||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Contents
|
||||
:numbered:
|
||||
|
||||
security-advisory-tfv-1.rst
|
||||
security-advisory-tfv-2.rst
|
||||
|
|
|
@ -11,7 +11,6 @@ based on the data flow diagram and potential threat mitigations.
|
|||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:caption: Contents
|
||||
:numbered:
|
||||
|
||||
threat_model
|
||||
threat_model_spm
|
||||
|
|
Loading…
Add table
Reference in a new issue