diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2019-01-11 14:47:48 -0800 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2019-02-27 08:33:35 -0800 |
commit | c2ad38ce4fe754c750f3db480f732ac280f508e4 (patch) | |
tree | 7e8ee58a109c58a3f913e7c5ca0683706e19d2d3 /docs/plat/nvidia-tegra.rst | |
parent | ab3d22473df279c61ed4d4873d26b072dcf887e8 (diff) | |
download | platform_external_arm-trusted-firmware-c2ad38ce4fe754c750f3db480f732ac280f508e4.tar.gz platform_external_arm-trusted-firmware-c2ad38ce4fe754c750f3db480f732ac280f508e4.tar.bz2 platform_external_arm-trusted-firmware-c2ad38ce4fe754c750f3db480f732ac280f508e4.zip |
Tegra: Support for scatterfile for the BL31 image
This patch provides support for using the scatterfile format as
the linker script with the 'armlink' linker for Tegra platforms.
In order to enable the scatterfile usage the following changes
have been made:
* provide mapping for ld.S symbols in bl_common.h
* include bl_common.h from all the affected files
* update the makefile rules to use the scatterfile and armlink
to compile BL31
* update pubsub.h to add sections to the scatterfile
NOTE: THIS CHANGE HAS BEEN VERIFIED WITH TEGRA PLATFORMS ONLY.
Change-Id: I7bb78b991c97d74a842e5635c74cb0b18e0fce67
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'docs/plat/nvidia-tegra.rst')
-rw-r--r-- | docs/plat/nvidia-tegra.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/plat/nvidia-tegra.rst b/docs/plat/nvidia-tegra.rst index 7ed0f2c82..6a03b1283 100644 --- a/docs/plat/nvidia-tegra.rst +++ b/docs/plat/nvidia-tegra.rst @@ -82,6 +82,16 @@ Tegra132: TLK Tegra210: TLK and Trusty Tegra186: Trusty +Scatter files +============= + +Tegra platforms currently support scatter files and ld.S scripts. The scatter +files help support ARMLINK linker to generate BL31 binaries. For now, there +exists a common scatter file, plat/nvidia/tegra/scat/bl31.scat, for all Tegra +SoCs. The `LINKER` build variable needs to point to the ARMLINK binary for +the scatter file to be used. Tegra platforms have verified BL31 image generation +with ARMCLANG (compilation) and ARMLINK (linking) for the Tegra186 platforms. + Preparing the BL31 image to run on Tegra SoCs ============================================= |